2018/03/29

2018/03/20

Stylish for TW

For this recipe to work, you will need installed Firefox version 40-48, and Stylish Addon for Firefox.

The following template allows you to right click on an image in order to view it on a new tab or to save it as file, it also removes Moments and Who to follow.

@namespace url(http://www.w3.org/1999/xhtml);

@-moz-document domain("twitter.com") {
#above-timeline-prompt,
.moments,
.translate-button, .GalleryNav,
.js-recommended-followers
{ display:none !important }

}

Stylish for lanacion

 removes annoying header with alpha channel
@namespace url(http://www.w3.org/1999/xhtml);

@-moz-document domain("lanacion.com.ar") {
.anexo , #cabezal
{ display: none !important }

body header#cabezal.transparente + .storytelling::before
{ background: white; height: 0 !important }

}

2018/03/18

ffmpeg conversion from h265 to h264

some strange reason, lastest version of VLC doesn't work very well under Slackware. I got sick tired of it and decided to go back to 2.0.7. But a problem arise when I want to watch a video encoded with h265. So I ended up converting them to h264 using a simple command line.

#!/bin/bash

for file in *.mkv
        do ffmpeg  -n -i "${file}" -map 0 -c:a aac -c:s copy -c:v libx264 264/"${file}"
done