OK I just found out this nice blog that teaches me how to activate flash in chrome for linux.
to install chrome for linux then do this

echo "deb http://ppa.launchpad.net/chromium-daily/ppa/ubuntu jaunty main #chromium-browser" > /etc/apt/sources.list.d/chromium.list

sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 0xfbef0d696de1c72ba5a835fe5a9bf3bb4e5e17b5

sudo apt-get update && sudo apt-get install chromium-browser

then you have to locate libflashplayer.so in your computer using this command

locate libflashplayer.so

it will present the output like this


root@yucie-desktop:~# locate libflashplayer.so
/opt/Adobe AIR/Versions/1.0/Resources/libflashplayer.so
/usr/lib/adobe-flashplugin/libflashplayer.so
/usr/lib/flashplugin-nonfree/libflashplayer.so

so I choose the ones that read /usr/lib/flashplugin-nonfree/libflashplayer.so

then do this

cd /usr/lib/chromium-browser/plugins

after you had change into the directory then do this

ln -s /usr/lib/flashplugin-nonfree/libflashplayer.so

after that start chrome browser for linux using this command

chromium-browser --enable-greasemonkey --enable-user-scripts --enable-extensions

with flash installed now you can open detik.com and watch youtube videos or redtube videos. hehehe….:-)

actually most linux user don’t need antivirus in their computer. but hey if you don’t have another useful thing to do then you can install this antivirus for linux, just to kill your time. hehehe….

okay for starters go to this page and get the serial number so that you can use bitdefender for free for one year only after that you have to pay. the serial number will be send to your email address

and now you have to download the installer. go to this page and install it by running like this

kamsis@yucie-desktop:~/Documents$ sudo sh BitDefender-Antivirus-Scanner-7.6-4.linux-gcc4x.i586.deb.run

ok after bitdefender already install, go to applications->system tools->bitdefender
after bitdefender has open you enter the serial key and you can use bitdefender now.
 

Share photos on twitter with Twitpic

bing vs google

July 10, 2009

check out this site here, the site was supposed to compare search result from bing and google and I have test it to search for the word sex and this is what came up. a bit different I think. hehehe….. But google is still my favourite. :-)

the different search result by google and bing.using the sear... on Twitpic

I have voted for indonesia elections and this photo is my proof. :-)
I have voted for elections in indonesia,this photo is my proo... on Twitpic

I found this nice software that can keep track of how long you have been doing something. It’s kind of like a remainder of the time that you had spend. Firstly if you want to install it you have to add this repository in your ubuntu box

  deb http://ppa.launchpad.net/hamster.support/ubuntu hardy main

after that you can install it by typing this

sudo apt-get install hamster-applet

and if you want to run it, you would have to type this command


/usr/lib/hamster-applet/hamster-applet -w

here is the screenshot

Photobucket

MAC address is the serial number of your NIC (network interface card), every computer in the world has a unique MAC address depends on the hardware vendor so they cannot be the same. However, if you are using linux then you can change the MAC address using the following command

firstly you have to bring down the interface that you are using

ifconfig eth0 down

after that then you have to enter new MAC address

ifconfig eth0 hw ether XX:XX:XX:XX:XX:XX

and then you have to bring up that interface

ifconfig eth0 up

then you will have a new MAC address in your linux computer.

source

Top Facebook games

July 4, 2009

if you like playing game in facebook, then you may also like this chart displaying all the latest trend in facebook games. Actually I think facebook has been a great platform for developer to develop their own games and become succesful with it.
clipped from www.insidesocialgames.com
top25
  blog it

so I got this nice script that can display firework in your konsoles, check it out and run it from your terminal using shell script. I got this script from linuxjournal


#!/bin/bash

rows=$(tput lines)
cols=$(tput cols)
colors=(red green blue purple cyan yellow brown)
lock_file=
lock_file_base=/tmp/$(basename $0 .sh)

multiple=0
if [[ "$1" ]]; then
nsingle=$1
shift
else
nsingle=10
fi
if [[ "$1" ]]; then
nmultiple=$1
shift
if [[ $nmultiple -gt 8 ]]; then nmultiple=8; fi
else
nmultiple=6
fi

function colorstr()
{
local row=$1
local col=$2
local color=$3
local v
case “$color” in
red) v=31;;
green) v=34;;
blue) v=32;;
purple) v=35;;
cyan) v=36;;
yellow) v=33;;
brown) v=33;;
white) v=37;;
*) v=;;
esac
shift 3

if [[ $multiple -ne 0 ]]; then
touch $lock_file
while [[ $(ls $lock_file_base.* 2>/dev/null | head -n 1) != $lock_file ]]
do
sleep 0.05
done
fi

tput cup $row $col
echo -n -e “\e["$v"m"
set -f
echo -n $*
set +f
if [[ $multiple -ne 0 ]]; then
rm -f $lock_file
fi
}

function center_colorstr()
{
local row=$1
local color=$2
shift 2
local s=”$*”
local slen=${#s}
colorstr $row $(((cols / 2) – (slen / 2))) $color “$s”
}

function fireworks()
{
local row=$((rows – 1))
local col=$(((RANDOM % (cols / 2)) + (cols / 4)))
local height=$((RANDOM % rows – 2))
local slant
local h
local color1=${colors[$((RANDOM % ${#colors[*]}))]}
local color2=${colors[$((RANDOM % ${#colors[*]}))]}
local color3=${colors[$((RANDOM % ${#colors[*]}))]}
while [[ $color1 == $color2 || $color1 == $color3 || $color2 == $color3 ]]
do
color2=${colors[$((RANDOM % ${#colors[*]}))]}
color3=${colors[$((RANDOM % ${#colors[*]}))]}
done

case $((RANDOM % 4)) in
0) slant=-2;;
1) slant=-1;;
2) slant=1;;
3) slant=2;;
esac

if [[ $height -gt 5 ]]; then
h=$height

while [[ $h -gt 0 ]]
do
colorstr $row $col $color1 ‘.’
let row–
if [[ $((col + slant)) -ge $((cols - 3)) || $((col + slant)) -le 2 ]]; then break; fi
let col+=slant
let h–
sleep 0.1
done

if [[ $((col + slant)) -lt $((cols - 3)) && $((col + slant)) -gt 2 ]]; then

h=$((height / 5))

while [[ $h -gt 0 ]]
do
colorstr $row $col $color2 ‘.’
let row++
if [[ $((col + slant)) -ge $((cols - 3)) || $((col + slant)) -le 2 ]]; then break; fi
let col+=slant
let h–
sleep 0.1
done
fi

colorstr $((row)) $((col – 1)) $color3 ‘***’
colorstr $((row – 1)) $((col)) $color3 ‘*’
colorstr $((row + 1)) $((col)) $color3 ‘*’
fi
}

for i in $(seq 1 $nsingle)
do
clear
fireworks
sleep 1
done

clear

pids=
for i in $(seq 1 $nmultiple)
do
let multiple++
lock_file=$lock_file_base.$i
fireworks &
pids=”$pids $!”
done

trap “kill -9 $pids 2>/dev/null” EXIT

wait $pids
sleep 3

clear
center_colorstr $((rows / 2 – 1)) red “Hope you enjoyed the show!”
center_colorstr $((rows / 2 + 1)) red “Happy 4th of July”
center_colorstr $((rows / 2 + 3)) red “Your Friends at Linux Journal”
echo

sleep 5
clear

# vim: tabstop=4: shiftwidth=4: noexpandtab:
# kate: tab-width 4; indent-width 4; replace-tabs false;