Archives for: May 2009
Linux Wireless Commands
May 20th, 2009Window Subversion Configure file path
May 19th, 2009For win32 version command line subversion store all the configure file in %APPDATA%/Subversion.
You can use %APPDATA% to get real path.
msysgit: Git for win32
May 18th, 2009Link: http://code.google.com/p/msysgit/
Git for windows:msysgit - Google Code
Please read PortableGit-??????/Readme.portable.
Unicode in Perl: filesystem
May 18th, 2009Now, Perl supports Unicode quite well. But please pay attention to that all file system related function is not Unicode-aware, includes -X, opendir and other functions:
- chdir, chmod, chown, chroot, exec, link, lstat, mkdir, rename, rmdir, stat, symlink, truncate, unlink, utime, -X
- %ENV
- glob (aka the <*>

- open, opendir, sysopen
- qx (aka the backtick operator), system
- readdir, readlink
Junction v1.04
May 17th, 2009Link: http://technet.microsoft.com/zh-cn/sysinternals/bb896768.aspx
A tools to create symblic in windows xp. But it only link to directory.
VIM: Move in line
May 15th, 20090 : header
^ : first chacter
$ : end
f : find chacter
F : find chacter backward
t : find chacter, move to next
T : t as backword
VIM: Move in program
May 15th, 2009Using '[' to begin.
Using ']' to end.
postfix:
[ : Outer block
{ : Current block
# : macro
Copy and paste in VIM
May 12th, 2009Multiple buffer of VIM
Vim has following buffer. You can use help registers to get detail help in VIM.
- Unamed register:""
- Use it when you not point out any register.
- Numbered register:"1 to "9
- You can specify them in y,yy and p command. But VIM will use them as a queue. Which mean VIM always put latest change in "0 and shift content of each register to next one. It means $9 will be lost. For VIM compatible, %, (, ),`, /, ? n,N, {, } trigged delete always use "1.
- Named register: "a-"z, "A-"Z
- Used by user
- GUI register: "+ and $*
- Register exchange data with GUI
- ".
- Last inserted text
- "%
- The name of current file
- "#
- The name of alternate file
- ":
- The most executed command-line
- "/
- Most recent search patten
Command
- y
- [range]["?]y[movment]. For example: "ay$
- yy
- [range]["?]yy
- p
- ["?]p
- gp
- Same as p, but put cursor at end of text
AutoHotkey - Free Mouse and Keyboard Macro Program with Hotkeys and AutoText
May 12th, 2009Link: http://www.autohotkey.com/
TBD
CLCL
May 11th, 2009Link: http://www.nakka.com/soft/clcl/index_eng.html
A multiple clip board program.
cscope with VIM
May 11th, 2009Most part of this article comes from vim/cscope tutorial.
Using cscope -R -b to build database of sqlite.
In vim, using Ctrl+\ s( or g, c, f) to using cscope search and ctrl+tto come back.
HP USB Disk Storage Format Tool
May 10th, 2009Link: http://www.pcworld.com/downloads/file_download/fid,64963-order,4-c,peripherals/download.html
A great USB stick format tools for windows xp.
Desktops
May 9th, 2009Link: http://technet.microsoft.com/en-us/sysinternals/cc817881.aspx
A great free tool from sysintenals. It provides 4 virtual screen to accelarator your performance.
FreeUndelete - OfficeRecovery.com
May 9th, 2009Link: http://www.officerecovery.com/freeundelete/
A great undelete utility for winnt.
For using it, you need have a separate disk to store recovered file.
But most of all, you must check recovered file. If destination disk is full and uncovered is failed, this program also report successful.
So you'd better check file by hand afterword.
Howerer, it works!!! What can you expect more for a free utility.
ftp bach command
May 7th, 2009
ftp -n 32.81.53.173<<AAD
user 用户名 口令
lcd /data_out
cd df_out
bin
prompt
mput *
bye
AAD
Small but important tips on Shell programming
May 6th, 2009I have done a shell script which executive some test task. During development, I find some tips for Shell programming:
echo 0 > /proc/***There should have 2 spaces around >
Hide directory in CDROM
May 6th, 2009I found a good article and some useful tools to perform hide directory in cdrom.
Use mkisofs to create iso file
mkisofs -J -o isoname directory
Change isoimage
Using a great free hex editor xvi32 to change directory attribute.
iso9660 direcory
Search directory name (case insenstive), in 3rd time, when you move back 8 bytes, it should be 02, please change to 04
Jolet directory
Search directory name as unicode-16le (please note that window use unicode-16be)(case insenstive), in 3rd time, back 8 (9bytes since unicode-be encode), it should be 04, please change it to 06.
Freeware Hex Editor XVI32
May 4th, 2009Link: http://www.chmaas.handshake.de/delphi/freeware/xvi32/xvi32.htm
A hex editor.
TBD
How to setup a CMake C++ Workplace
May 2nd, 2009Create a directory tree.
layout is
project_name
trunk
lib
src
test
unittest
doc
tags
Create general CMakefiles
Major CMakeLists,txt in trunk directory
CMakeLists.txt in test/unittest
Import extern project
Set svn::externals project of lib directory as:
cxxtest http://tools.assembla.com/svn/cxxworkplace/cxxtest/trunks
cmake http://tools.assembla.com/svn/cxxworkplace/cmake/trunks
dbg http://tools.assembla.com/svn/cxxworkplace/dbg/trunks
Tips for Parse::RecDescent
May 2nd, 2009Win32::GuiTest-- A great tool in win32
May 2nd, 2009TBD