Home - The Movie

"In 200.000 years on Earth, humanity has upset the balance of the planet, estabilished by nearly four billion years of evolution. The price to pay is high, but it's too late to be a pessimist: humanity has barely ten years to reverse the trend, become aware of the full extent of its spoliation of the Earth's riches and change its patterns of consumption.

By bringing us unique footage from over fifty countries, all seen from the air, by sharing with us his wonder and his concern, with this film Yann Arthus-Bertrand lays a foundation stone for the edifice that, together, we must rebuild."


The movie features beautiful cinematography. If for no other reason, then watch it just because it's a masterpiece in showing off the beauties of Earth. Smile

How to concatenate multiple segments of the same video into a single file

Many video recorders (eg. GoPro cameras and many phones) split video files into 2 (or 4) GB pieces. To concatenate these pieces into a single file, you can use ffmpeg's "concatenate" demuxer:
ls -1 G*0060.MP4 | sed -r "s/(.*)/file '\1'/g" > list.txt
ffmpeg -f concat -i list.txt -c copy GOPR0060.joined.MP4

TLS extension to support multiple certificates for virtualhosts

Server Name Indication (SNI) means that a compatible TLS client can send a hostname (aka. "server_name" field) in it's Client Hello message to the server indicating what virtualhost it wants to connect to and a compatible server can pick the right TLS certificate from it's configuration. This extension to the TLS standard aims to solve the SSL/TLS vs. single-IP virtualhosts problem.

Validate XML documents via a bookmarklet

I've attached a simple HTML file that contains a textarea and some JavaScript. You can paste any text into the textarea and pressing the button will invoke the browser's XML parser and test whether the text is a valid XML document.

I've also modified the JavaScript code so it can be used as a bookmarklet: Verify XML

Just drag&drop the link to your bookmarks bar, select some text on a page and click the bookmark(let) to validate it as an XML document.

Take a picture of your phone's user upon entering wrong unlock code/pattern and send it to yourself via email silently

This is a nice intro into using SL4A+Python with Tasker. And the actual task (silently take a photo of a possible thief) is useful as well.

How to execute a shell script from init.rc after boot finished

Place something like this in your init.rc:
on property:dev.bootcomplete=1
    start bootcomplete_handler

service bootcomplete_handler /system/bin/sh /system/bin/bc_handler.sh
    class late_start
    user root
    group root
    disabled
    oneshot

How to fix the partial wakelock problem on CyanogenMod 11 with Google Play Services and OTA updates


For me only SystemUpdateService$SecretCodeReceiver had to be disabled. All other activities, receivers and services with a name starting with "SystemUpdate" were already disabled. I used ADB + "pm disable" to disable this one component.
Here is a list of commands to disable all SystemUpdate "stuff" via ADB (of course it requires a rooted phone with some sort of "su" installed):

Syndicate content Syndicate content