October 5, 2011

setup an encrypted directory on the sdcard in Android

Filed under: Android,Linux,Open Source,Security — Tags: , , , , , , — xiwen @ 10:41 am

Introduction

Recently I acquired an HTC HD2 smartphone. It is running Android from NAND. To be specific, the HD2_NDT_MIUI_GINGER_STABLE_V2.2_MAGLDR rom found at XDA. It is known Android isn’t quite secure in terms of physical access. It is inevitable to loose ones mobile device. When that happens we should rest assured the information on that device is not accessible by others.

(more…)

January 23, 2011

weather: simple command line weather script

Filed under: Linux,Open Source,Projects — Tags: , , , , , , , — xiwen @ 2:55 pm

In my quest to make my systems more useful I created a command line weather script. There are similar programs made already like weathercli, weather-util. But the first didn’t work at all. The second only supports USA states/cities. Not quite useful in my situation where I want weather conditions of The Hague in The Netherlands.

The result is a simple bash script that fetches xml data from Google Weather API using curl. This data is then parsed using xmlscarlet and awk.

View the final script

August 22, 2009

Add support for unix socket in gnu-netcat

Filed under: Uncategorized — Tags: , , , , , , , , , — xiwen @ 10:50 pm

virsh from the libvirt package uses netcat to communicate with a remote server (in fact the command is executed locally on the remote server):
command -p port [-l username] hostname netcat -U socket
from: libvirt> Remote support> Extra parameters

(more…)

20 queries. 0.126 seconds. Powered by WordPress. CopyLeft CINAQ v9.
Best served with Firefox and/or Safari!