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/
    class late_start
    user root
    group root

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):

How to fix your Skype profile/database after switching from 4.2 to 4.3 on Ubuntu 14.04 (x86_64)

Run the following SQL using sqlite3 on your main.db database (which is inside your $HOME/.Skype/<skype_username> directory) ...

How to get the exact time and date of upload of YouTube videos

The YouTube page of a video displays only the date the video was published. However the YouTube API provides a way to get the exact date+time of upload, as well as publishing.

Syndicate content