Archive for the ‘Linux’ Category

debian testing + iceweasel install flash player

November 11, 2009


#apt-get install flashplugin-nonfree

should be working. but in my debian testing it isn’t. I have to manually create a symlinks


#ln -s /usr/lib/flashplugin-nonfree/libflashplayer.so /usr/lib/iceweasel/plugins/libflashplayer.so

to make it work.

The page you are looking for is temporarily unavailable. Please try again later.

October 14, 2009

server configuration php5-cgi, php5-tidy nginx, debian etch.
Tidy configuration tab-size=>0 can trigger this error. Just change the tab-size value to be greater than 0 to fix

tab-size => 1

Debian usb mouse freeze

October 5, 2009

you should have

Option "SendCoreEvents" "true"

inside the Section “Input Device”, Driver “mouse”

ncftp – upload recrusive files

September 25, 2009

to upload the whole directory and subdirectory


$ncftpput -u <username> -p <password> -R <host> <remotedir> <localdir>

E319: Sorry, the command is not available in this version: syntax on

September 7, 2009

if you get this error when trying to enable syntax highlighting in vim,


#apt-get install vim

chess in debian

August 9, 2009

Crafty, developed by Robert Hyatt, is a descendant of the Cray Blitz chess engine that was the World Computer Chess Champion from 1983 to 1989.

to install

#apt-get install crafty xboard

start the game with

$xboard -fcb 'crafty' -fd crafty_directory

book off — This options disables the use of opening book for crafty.
ponder off – Crafty can’t think while you are playing your move.
st 1 — Make the maximum thinking time for Crafty just one second.
sd n — Crafty won’t think more than n moves ahead.
If you are able to beat crafty too often, you can also make it more stronger with these options:
hash nK — Makes the hash table bigger
hashp n — Makes the hash table for pawns as large as possible

it hard to bet.


more info

fix pidgin & yahoo messenger Error 1013

July 26, 2009

you must upgrade to pidgin 2.5.8 which is available in debian unstable (sid).
add to /etc/apt/sources.list

deb http://ftp.debian.org/debian/ sid main contrib non-free


#apt-get update
#apt-get install -t sid pidgin

change the pager server to

scsa.msg.yahoo.com

Error 1013 – just remove the @yahoo.com on your pidgin login username

how to simulate slow internet connection

June 29, 2009


#apt-get install iprelay
$iprelay -b 2500 8000:localhost:80

point the browser to localhost:8000
you can see how website look like with connection speed of 2.5Kbps.

simulate slow internet connection

debian changing eth* name

June 23, 2009

changing eth0 name to eth1 and eth2 after each reboot. it is a bug in udev package.