Monthly Archives: December 2007

Adding memory FS on Linux

# mount -t tmpfs -o size=1G,nr_inodes=10k,mode=0700 tmpfs /space

Get drectory name or file name using shell

Don’t have basename or dirname?

Don’t want to start another process every time you need a path?

Not a problem.

dirname == ${path%/*}

basename == ${path##*/}

Easiest 3×3 Rubik’s Cube Tutorial

Be aware of Windows (Russian)!!!

Windows is bad for you

WP Like Button Plugin by Free WordPress Templates