Journey of Life

June 23, 2010

Image hard drive using dd

›
Update: If your drive have bad sectors, this method does not work well. I tried Clonezilla, and the result is as bad. Either my disk is very...
June 21, 2010

mini_httpd and cgi

›
1. to specify the cgi pattern, you need to quote it and prepend with ./. For example, to make *.cgi files as cgi, use "./*.cgi"
June 15, 2010

The smallest XML parser in C?

›
I always love to see things done small and nice. If you are looking for a simple XML parser, I found ezXML to be the best. One C file, One H...

Vim: search/replace to change cases

›
The following command will change all upper case words to lower case :%s/[A-Z]/\L&/g The list of all special commands: Replacement part ...
June 11, 2010

QML Module and Property Access

›
If the main QML file includes modules from other files, it CANNOT see ids or variables defined in those files. You will have to use "pr...

Qt QML setContextProperty

›
In order to use a C++ Class function in your QML file, you can expose the class itself using setContextProperty("myvar",pointer_to...
June 10, 2010

Convert FLV to 3GP file

›
ffmpeg\bin\ffmpeg.exe -i input.flv -s qcif -vcodec h263 -acodec libfaac -ac 1 -ar 8000 -r 25 -ab 32000 -y outputfile.3gp
May 20, 2010

Good Free screen video capture / record, works under Vista

›
A good screen capture / record to video FREE program, directly from Microsoft, is called CommunityClips. It works for Windows XP and Vista. ...
May 19, 2010

command line email client / mailer for gmail

›
Two programs: 1. SendEmail: http://caspian.dotconf.net/menu/Software/SendEmail/ 2. smtp-cli: http://www.logix.cz/michal/devel/smtp-cli/ I tr...

Brother MFC-495CW Inkjet Color

›
Brother MFC-495CW Inkjet Color is a good PDF scanner. It scans to USB drive directly without PC. It also has WiFi and Ethernet connection.

Add color to your linux console program

›
You can add color to your linux console print outs, such as usage. #define CSI "\x1B\x5B" main(){ printf("%s1;31m Th...
May 18, 2010

Unofficial Smartq V5/V7 Linux Development Guide

›
This is a backup of the original doc at: http://docs.google.com/View?id=ddtx8wkh_18g39zskpm Unofficial Smartq V5/V7 Linux Development Guide ...
6 comments:
May 7, 2010

pause/resume a linux process

›
To pause: kill -STOP pid To Resume: kill -CONT pid Works perfectly.
May 4, 2010

Simple NAT for Internet sharing

›
You need a Linux machine (or virtual machine running Linux, or Colinux) to do this: #enable routing echo 1 > /proc/sys/net/ipv4/ip_forwar...
April 26, 2010

A good Javascript Calculator

›
http://cc.joensuu.fi/~tniemi/tools/calc.html
April 19, 2010

rpl_malloc error with configure

›
If you get a problem about an undefined reference to rpl_malloc, you probably need to do: $ export ac_cv_func_malloc_0_nonnull=yes before ...
March 19, 2010

Serial Terminal Emulator on Linux/Ubuntu

›
Minicom, PuTTY, picocom, gtkterm, or cutecom Console based: 1. minicom: the grand master and the one most people use 2. picocom: a mini mini...
March 7, 2010

Sichua Earthquake and Three Gorges Dam

›
From the following article, this Dam most likely have contributed to the Sichua earthquake. You use use Google Translate to read it in Engli...
March 5, 2010

ctags for matlab on Windows

›
1. create a environment variable called HOME, and pointed it to whatever directory you like. On vista, I pointed to c:\Users\MYNAME 2. creat...

a short guide to enable samba server on Ubuntu

›
1. sudo apt-get install samba 2. sudo vi /etc/samba/smb.conf, look for [homes] and uncomment the following lines starting with [homes], chan...
‹
›
Home
View web version
Powered by Blogger.