i cant think A blog belong to Mohammad Azwan bin Ali. Most of his writings are about his real life story, ideas, thoughts, moderate political views, computer, programming, tips & tricks, particularly in Linux…. and of course it includes some random unspecified crappy stuffs too! Don't forget to check Movies and Junkyard pages out!

Archive for February 2010

cybercafe vs ibu bapa

semua pun ada tengok & bacakan berita pasal budak sekolah pergi cybercafe melepak dan buat benda yang tak sepatutnya diorang buat. aku nak tanya.
aku nak tanya, kalau budak budak ni pergi cybercafe (cc) pastu
ponteng sekolah
isap rokok, isap dadah
jadi jahat perangai gangster
peras ugut member member sebab nak duit main kat cc (dulu pernah keluar paper ni [...]

playground politics

just wanna share with you. this was taken from hbo new series, funny or die presents. this video about africa is kinda true
america just want other country natural resources. the international monetary fund, they just print money out of thin air and lend them to countries in need. with high interest and profit gain from [...]

ubuntu 9.10 nginx + php5

a simple nginx + php5 web server setup
1. first we download all neccessary packages
sudo apt-get install nginx php5-cgi php5-mysql spawn-fcgi
2. add php-fastcgi init script
sudo nano /etc/init.d/php-fastcgi
cut and paste this script

#!/bin/bash

FAST_CGI="/usr/bin/spawn-fcgi -a 127.0.0.1 -p 9000 -u www-data -g www-data -f /usr/bin/php-cgi"

case "$1" in

start)

$FAST_CGI

;;

stop)

killall -9 php-cgi

;;

restart)

killall -9 php-cgi

sleep 1;

$FAST_CGI

;;

*)

echo "Usage: php-fastcgi {start|stop|restart}"

exit 1

;;

esac

exit 0;

3. configuring nginx to [...]

fix broken /dev/null

if you accidentally deleted /dev/null file here’s a simple way how to re-create it
mknod -m 666 /dev/null c 1 3

ko pergi tak esok?

kau pergi tak esok? — tanya member aku
entah, pegi kot — jawab aku ringkas
pegi dowh.. da lama kita tak mengadap beliau — member aku bertanya lagi
ok ok.. aku pun da lama tak tengok beliau, muka pun hampir lupa macamana
lalu kami tidur awal pada malam tersebut, pukul 2 pagi.
keesokannya kami bangun pukul 6.00
selepas mandi kami pergi [...]

← Before