Monday, November 27, 2017

Add css over your blogger theme to get your blog more responsive

Blogger adds borders for bigger widths and doesn't show all the screen for small width, now you can solve this problem.



You can add css over your theme, you need go to blogger's back-end and select these options: Themes > Advanced > Add CSS.

I add these piece of code in my blog in order to get responsible widths, separate code, avoid overflow in images without deformations and something else:

body {
    min-width: 0px !important;
    padding: 0px;
}

.content-outer, .content-fauxcolumn-outer, .region-inner {
    min-width: 0px !important;
    max-width: 10000px !important;
}

th {
    background-color: #006600;
    color: #ffff99;
}

th, td {
    padding: 0.04em 0.3em;
}

code {
    background-color: white;
    padding: 0.2em 0.7em;
    margin: 0.5em;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,.15);
    border-radius: 0 0 2px 2px;
    display: block;
}

.main-outer img {
    max-width: 99%;
    height: auto;
}

.post-body img, .post-body .tr-caption-container {
   background: none;
}


You might use the special theme for mobile, you need select theme, press the nut and activate mobile theme.

Artículo original en castellano

Wednesday, November 15, 2017

Copy midnight commander (mc) from raspbian to recalbox

Midnight commander is the best double-panel file manager for GNU/Linux console. This is a very useful tool for newbies and lazy users like myself, by example using ssh protocol:



The easier way to get mc in recalbox is "steal" it to a raspbian we previously installed it.
These are the files and folders you need to copy:


Rasbian►►►Recalbox
/usr/bin/mc.../usr/bin/mc
/usr/lib/mc.../usr/lib/mc
/etc/mc.../etc/mc
/usr/share/mc.../usr/share/mc
/usr/lib/arm-linux-gnueabihf/libgpm.so.2.../lib/libgpm.so.2
/usr/lib/arm-linux-gnueabihf/libssh2.so.1.../lib/libssh2.so.1

You can copy the files by ssh, using the same mc if you have GNU/Linux in your PC (plug the cart to the PC), from raspbian if you have this system and recalbox, WinSCP if you use Windows, etc...

If you haven't raspbian here you are all the necesary files, each in the correct path.

Warning: you probably need copy again each time Recalbox will be updated (This is a fast and simple operation and Recalbox is updated every long time).
Anyway, if you want mc will be part of recalbox you can join to the request I asked in the official forum.
Artículo original en castellano

Monday, November 06, 2017

Open alternatives to proprietary software (III): UMplayer, the multimedia player

UMPlayer is an open source multimedia player with a lot of advantages:
  • Multisystem.
  • Plugins included inside. If it hangs for a buggy file the system doesn't hang.
  • I can play almost any multimedia file.
  • Adapted to your PC hardware, processor and graphics card.
  • Subtitles support is included.
  • It can play DVD, VCD, CD from the device or the files copied in a folder.
  • Supports TV, radio and videocast.
  • It can play youtube videos.
UMPlayer was my prefer multimedia player for a long time.


Artículo original en castellano