Through this blog I hope I can share something and help others and of course learn something. Don't hesitate to ask me OK!
Thursday, August 3, 2006
# prompt text
TEXT=\u@\h:\w $
# default font width
FONT_WIDTH=0
# green (bgcolor available: 30-37) 30 (black), 31 (red), 32 (green), 33 (yellow), 34 (blue), 35 ( magenta), 36 (cyan), 37 (white)
FOREGROUND_COLOR=32
# black (color available: 40-47)
BACKGROUND_COLOR=40
PS1="\[\033[$FONT_WIDTH;$FOREGROUND_COLOR;$BACKGROUND_COLORm$TEXT\033[0m\]"
# \033[FONT_WIDTHmTEXT\COLOR_DEF2[FONT_WIDTH2m\033[0m adalah pola untuk multiple color
# jika ingin warnanya lebih cerah, gunakan 133 dari pada 033
======= jadikan ini script yang diinclude (source /path/to/this_color.sh) di .bashrc ======
# menentukan warna untuk user
if [ $LOGNAME = $USER ] ; then
USER_COLOR=37
else
USER_COLOR=32
if [ $USER = 'root' ] ; then
USER_COLOR=31
fi
# warna untuk server (bgcolor available: 30-37) 30 (black), 31 (red), 32 (green), 33 (yellow), 34 (blue), 35 ( magenta), 36 (cyan), 37 (white)
SERVER_FGCOLOR=32
SERVER_BGCOLOR=33
# prompt text
TEXT_USER="\033[0;30;"$USER_COLOR"m\u\033[0m"
TEXT_AT="\033[0;30;46m@\033[0m"
TEXT_SERVER="\033[0;$SERVER_FGCOLOR;"$SERVER_BGCOLOR"m\h:\w\033[0m"
TEXT_AFTER="\n->> "
PS1=$TEXT_USER$TEXT_AT$TEXT_SERVER$TEXT_AFTER
# iseng banget ya?
Monday, May 29, 2006
I played challenge section of Need For Speeed Most Wanted last night and found this. The challenge was to play dog and cat with police at least 10 minutes. While I was doing this, I found a perfect place to save my sweat but keep the police busy. See the screenshot below
Waiting, even the helicopter was standing not far from ground above me.
Still waiting, the helicopter went up to the building. The police on the cars back and forth (remind me of random running cars when I was a kid) and keep saying "I got him", etc just like they missed me and found me again.
The police still brutally went back and forth so that the car around them hit by them selves. Now, time to evade has come.
Recognize the location? Is it a bug?
Wednesday, May 24, 2006
-----------------------------------------------------------------------
この涙があるから次の一歩となる
Kono Namida ga aru kara Tsugi no Ippo to naru
Because of these tears I can take another step forward
-----------------------------------------------------------------------
それがへたくそで
sore ga hetakuso de
because I’m clumsy at it
なんか悔しいけど
nanka kuyashii kedo
somehow I feel embarrassed
まだあきらめない ね
mada akiramenai… ne
But, I don’t give up yet… right?
ぼんやりとしてる 夢もそのうちに
bonyari to shiteru. yume mo sono uchi ni
I will slowly clear this slow and hazy dream
霧が晴れたようにして見せる
kiri ga hareta you ni shite miseru
clear the fog and you’ll see
この一歩進むまで
kono ippo susumu made,
until next step
次の一歩まで
sugi no ippo made
and step after that
じっくり行くから
jikkuri yuku kara
I will go on, carefully
前に進むから
mae ni susumu kara
I will keep moving forward
自分のべ -スで
jibun no PEESU de
at my pace
小さな部屋でも
chiisana heya demo
it is small room, but
野砲をがつ待つ
yahou gatsu matteru
gun???
いちいち謂わないが。。。
ichi ichi iwanai ga...
one by one not called, but…
それぞれの時代
Sore sore no jidai
That’s the era
それぞれの人世
Sore sore no jinsei
That’s the life
だけど繋がる???模様
Dakedo tsunagateru miu ge u moyo???
But related
*
この涙があるから
Kono namida ga aru kara
Because of these tears
次の一歩となる
Sugi no ippo to naru
Next step will come (become mine)
はっきり分かるよ
Hakkiri wakaru yo
I will know clearly
前に進むんでるって
Mae ni susumu nderutte
That I’m moving forward
輝きのもっとへ
Kagayaki no motto he
Toward shining source of light
(repeat *)
Credits: School Rumble Term 2 TV-size ED song, http://show.9sky.com, JLookup, Wannabefansubs.net
Thursday, April 6, 2006
Duh, belum ada ya versi stable Debian untuk AMD64 bit? Yang ada versi testing untuk Etch (versi penerus dari Sarge). Kalo yang Sarge sebenarnya ada tapi unofficial dan basi menurut gw he3x, karena dari bulan juli 2005. So, lebih baik gw pake Etch yang weekly build lah. Sekalian ngetes2 kalo ada yang gak beres kan bisa bantu2 orang Debian di sana.
Terakhir itu versi beta2, tapi gak ada KDEnya hiks :(, karena ada paket yang belum atau gagal diporting. Makanya gw cari yang lebih baru walaupun masih testing weekly build. Siapa tau udah ada KDEnya. Paket2nya ternyata amd64 kodenya bukan i386 lagi.
Btw, kapan ya Etch direlease. Peralihan dari beta 1 ke beta 2 kalo gak salah 3 bulan-an deh. Habis beta 2, beta 3 (???), lalu rc1-3, lalu relased stablenya. Berarti 5 x 3 bulan = 15 bulan atau 1 tahun 3 bulan. Wah lamanya.....
Friday, March 24, 2006
Ohisashiburi desune! Lama tak jumpa lagi ya. Gw ada berita. Gara2 gw sering kesusahan ngedit file bahasa, dan males ngurusin perkembangan file terjemahan untuk Mambo, akhirnya gw bikin tool sendiri yang GPL. He3x, kalo GPL kayaknya terlalu maksa ya? Mungkin LGPL aja nantinya. Ya, yang penting bisa kepake lah. Lumayan, selain mambo yang bisa pake adalah saudara2nya seperti Joomla. Mungkin kalo request bisa gw perbaiki lewat abstract atau interface sehingga bisa lebih general.
Oh ya project ini gw submit di sourceforge dengan manual yang mungkin belum begitu memuaskan
Iseng2 asal berguna :)