Postgresql cheat sheat

Ekim 7, 2011 § Yorum yok § Kalıcı bağlantı

http://www.postgresonline.com/special_feature.php?sf_name=postgresql83_cheatsheet&outputformat=html

PostgreSQL 8

Life is too short

Eylül 19, 2011 § Yorum yok § Kalıcı bağlantı

Olasılık!

Eylül 19, 2011 § Yorum yok § Kalıcı bağlantı

Renk seçimi…

Eylül 19, 2011 § Yorum yok § Kalıcı bağlantı


from:http://hothotjapanhot.tumblr.com/post/4392625351/yeah-something-like-this

Hosny Mubarak, Hosny Mubarak…

Eylül 19, 2011 § Yorum yok § Kalıcı bağlantı


from:http://s3.amazonaws.com/data.tumblr.com/tumblr_lhfy3lsQFF1qargt4o1_1280.png?AWSAccessKeyId=0RYTHV9YYQ4W5Q3HQMG2&Expires=1299468498&Signature=YHdrwUnq2XS0aNhF5qEkJYJJTTs%3D

Ömür dediğin…

Eylül 19, 2011 § Yorum yok § Kalıcı bağlantı


from:http://ffffound.com/image/45f3d88c8440b9f88f6aebc5fd4bf264765fc04a

Linux’de mesaj iletmek

Ağustos 25, 2011 § Yorum yok § Kalıcı bağlantı

1-xterm penceresi içinde top koşmak
ve xterm penceresi içinde echo ile mesaj göndermek

xterm -e "top -c; sleep 10"
xterm -e "watch echo 'Bu bir mesajdır'"

SSH ile birlikte kullanmak için

ssh -Y fatih@localhost  'export DISPLAY=:0 && xterm -e watch echo "Bu bir mesajdır"'

2-notify-send yazılı ile

notify-send "welcome to Linux message box"

SSh ile birlikte kullanımı

ssh -Y fatih@localhost  'export DISPLAY=:0 && notify-send "welcome to Linux message box"'

3-zenity kullanmak

zenity --info --title='Message' --text='Linux redhat '

SSH ile kullanmak

ssh -Y fatih@localhost  'export DISPLAY=:0 && zenity --info --title='Message'  -text='Linux redhat '"

4-kdialog kullanmak

kdialog --title "New Mail Has Arrived" --passivepopup "it will terminate withing 5 minutes" 5

SSH ile kullanmak

ssh -Y fatih@localhost  'export DISPLAY=:0 && kdialog --title "New Mail Has Arrived" --passivepopup "it will terminate withing 5 minutes" 5'

5-En güzel yol:

$ who
jdoe     pts/0        2014-03-09 16:19 (10.3.2.98)
mary     pts/1        2014-03-09 14:10 (10.3.2.123
$ echo "Bu sesaj jdoeya" > /dev/pts/0
$ echo "Bu da sevgili Marrye" > /dev/pts/1

SSh ile yapılması

$ ssh root@hedef 'who'
$ ssh root@hedef 'echo "Bu da sevgili Marrye" > /dev/pts/1'

David Lynch

Ağustos 25, 2011 § Yorum yok § Kalıcı bağlantı

David Lynch’in Lost Highway’ini izledim.
1 cümle ile ifade edecek olsam filmi:
“David Lynch is a brain fuck!” derdim….

Konsoldan ses kontrolü/ayarı yapmak

Ağustos 22, 2011 § Yorum yok § Kalıcı bağlantı

Konsoldan ses ayarı yapabilmek icin “alsamixer” kullanılabilir.
Bunun için

sudo apt-get install alsa alsa-tools
sudo adduser yourusername audio
alsamixer

Açık bağlantıların tesbiti

Ağustos 19, 2011 § Yorum yok § Kalıcı bağlantı

netstat -lantp | grep ESTABLISHED |awk '{print $5}' | awk -F: '{print $1}' | sort -u

Bilgisayara bağlanmış kullanıcının bütün processlerini öldürmek(login shell dahil)


pkill -KILL -u username