Journey of Life

August 30, 2011

simple telnet server by using socat

›
On server side: ./socat exec:'bash -li',pty,stderr,setsid  tcp-listen:8999,reuseaddr On client side: ./socat tcp-connect:127.0...
3 comments:

C, C++ source code tools to help you be productive

›
1. Source code beautifier: helps you with coding style compliance   indent   uncrustify 2. Static anylysis   pc-lint/flexelint (needs $...
August 26, 2011

gitignore diff_exclude

›
A list of files usually should be ignored by git and diff when you generate a patch: *.o *.out *.a *.so *.dll *.swp *.la *.lo *.s...
August 25, 2011

git cheat sheet

›
http://cheat.errtheblog.com/s/git

Makefile Automatic Variables

›
Here is a table of automatic variables: $@ The file name of the target of the rule. If the target is an archive member, then ‘...
August 23, 2011

vim global command

›
The :global command is your friend - learn it well. It lets you run arbitrary :ex commands on every line that matches a regex. It abbre...

vim global command

›
The :global command is your friend - learn it well. It lets you run arbitrary :ex commands on every line that matches a regex. It abbre...
1 comment:

gcc default include path

›
this is how to find out the default include path: method 1: `gcc -print-prog-name=cc1` -v method 2: You can create a file that at...
August 19, 2011

FREE PHP IDE editors

›
1. aptana Studio 2. codeLobster 3. Komodo edit
August 8, 2011

Ubnt airos upgrade firmware

›
http://www.ubnt.com/wiki/Firmware_Recovery hold reset pin while power up the device, then tftp -i 192.168.1.20 put XS2.ar2316.v3.4-rc....
August 4, 2011

virtualbox vboxheadless high cpu usage

›
If you are running RHEL / CentOS in virtualbox, and find that virtualbox uses high cpu even if the virtual machine is idling, it may be caus...
1 comment:
August 2, 2011

Widows XP Remote Desktop IPv6

›
Windows XP Remote Desktop service does not listen on IPv6 addresses. Use the follow trick to fix it: This command will do the trick. nets...
2 comments:
July 28, 2011

Simulate unplug usb device on Linux (USB Reset)

›
http://cpansearch.perl.org/src/DPAVLIN/Biblio-RFID-0.03/examples/usbreset.c /* usbreset -- send a USB port reset to a USB device */ /* ...
2 comments:

Tether Blackberry 9700 on Linux (Debian/Ubuntu)

›
With the fantastic open source software " barry ", tethering to Blackberry ( I use 9700 and my carrier is AT&T) is very easy a...
July 20, 2011

Windows 2003 Server Remote Desktop Local Drive Map

›
I could not get the local drive map to work when I remote desktop to a windows 2003 server. Turned out the the Windows 2003 server disable...
1 comment:
July 17, 2011

airos persistent directory

›
AirOS allow users to add scripts in the /etc/persistent directory of Ubiquiti device. These scripts can modify configuration by starting ad...
July 16, 2011

openwrt make targets

›
Useful_Trunk_Rebuild_Make_Targets These were culled from IRC logs at irc.freenode.net on #wgt634u . The comments may not be co...
July 14, 2011

sqlite 3 string to integer conversion, similar to C function atoi

›
In sqlite3, if you have a column defined as string, but you want to use it as integer when doing comparison, you can do the following to con...
13 comments:
July 12, 2011

Windows 2003, XP, recursive taking file and folders ownership and permissions

›
I found that the security tab on the file properties did not work for me when taking ownership and setting permission for a full directories...
1 comment:
July 1, 2011

Reliable UDP Library

›
enet UDT http://stackoverflow.com/questions/107668/what-do-you-use-when-you-need-reliable-udp
‹
›
Home
View web version
Powered by Blogger.