| M | T | W | T | F | S | S |
|---|---|---|---|---|---|---|
| « Jul | ||||||
| 1 | 2 | 3 | ||||
| 4 | 5 | 6 | 7 | 8 | 9 | 10 |
| 11 | 12 | 13 | 14 | 15 | 16 | 17 |
| 18 | 19 | 20 | 21 | 22 | 23 | 24 |
| 25 | 26 | 27 | 28 | 29 | 30 | 31 |
Say you have installed two NICs in your system e.g. eth0 and eth1 and sometime later you removed one of the nics from your machine, say, eth0.
Now you want to access the remaining nic, eth1, as eth0, or you want to simply name the existing nic (i.e. eth1) as eth0.
As usual I’m allways visite my blog to read the manual from samba, because i had always got the problem from samba. So i wrote the documentation, I know I will have to come back here to find it hehehe
The following steps describe how to make Samba PDC users members of the Domain Admins group.
1. Create a UNIX group (usually in /etc/group); let’s call it domadm.
2. Add to this group the users that must be “Administrators”. For example, if you want joe, john, and mary to be administrators, your entry in /etc/group will look like this:
3. Map this domadm group to the “Domain Admins” group by executing the command:
The quotes around “Domain Admins” are necessary due to the space in the group name. Also make sure to leave no white space surrounding the equal character (=).
Now at firefox 3 does not user cookies.txt, they are use cookies.sqlite, if you use wget or curl command to download with cookies, may you must convert cookies.sqlite to cookies.txt, just copy and paste this scipt, and the script will be convert your cookies.sqlite to cookies.txt.
#!/usr/bin/python
import sqlite3 as db
import sys
cookiedb = ‘/home/henry/.mozilla/firefox/pj8×7vu3.default/cookies.sqlite’
targetfile = ‘/home/henry/kuki-.txt’
what = sys.argv[1]
connection = db.connect(cookiedb)
cursor = connection.cursor()
contents = “host, path, isSecure, expiry, name, value”
cursor.execute(”SELECT ” +contents+ ” FROM moz_cookies WHERE host LIKE ‘%” +what+ “%’”)
file = open(targetfile, ‘w’)
index = 0
for row in cursor.fetchall():
file.write(”%s\tTRUE\t%s\t%s\t%d\t%s\t%s\n” % (row[0], row[1],
str(bool(row[2])).upper(), row[3], str(row[4]), str(row[5])))
index += 1
print “Gesucht nach: %s” % what
print “Exportiert: %d” % index
file.close()
connection.close()
save this script as export-firefox-cookies.py and run with command
./export-firefox-cookies.py rapidshare
Source : http://blog.schlunzen.org/2008/06/19/firefox-3-und-cookiestxt/
I’m always forgetting the syntax to make “for” loops in Bash. Anyhow, I know I will have to come back here to find it, so I thought I would write put up this quick example with the hope that it will be useful to others as well.
for i in $(seq 1 100); do echo -n “file${i} “; touch file${i} 2>&1; done
The the above for loop will create 100 files (called file1, file2, etc.).
another for loop exampe
Audio clip: Adobe Flash Player (version 6 or above) is required to play this audio clip. You also need to have JavaScript enabled in your browser.
Life is beautiful
We love until we die
When you run into my arms
We steal a perfect moment
Let the monsters see you smile
Let them see you smile
And do i hold you too tightly
When will the hurt kick in
Life is beautiful
But it’s complicated
We barely make it
We don’t need to understand
There are miracles
Miracles
Your life is beautiful
Our hearts they beat and break
When you run away from harm
Will you run back into my arms
Like you did when you were young
Will you come back to me
And i will hold you tightly
When the hurting kicks in
Life is beautiful
But it’s complicated
We barely make it
We don’t need to understand
There are miracles
Miracles
Stand where you are
We let all these moments pass us by
It’s amazing where i’m standing
There’s a lot left we can give
This is ours just for a moment
There’s a lot left we can give
It’s amazing where i’m standing
There’s a lot left we can give
This is ours just for a moment
There’s a lot left we can give
CVS adalah Concurrent Versions System. Fungsi dari CVS sendiri adalah untuk mencatat perubahan pada sebuah file, biasanya lebih sering digunakan untuk mencatat sebuah project development yang mencatat perubahan-perubahan pada file-filenya.
Overall download size: 368.0 K. After the operation, additional 872.0 K will be used.
Continue? [YES/no]: yes
Downloading package cvs-1.12.12-126.1.i586 (1/1), 368.0 K (872.0 K unpacked)
Downloading: cvs-1.12.12-126.1.i586.rpm [done (11.0 K/s)]
Installing: cvs-1.12.12-126.1 [done]
Buat penggemar distro opensuse kemaren tanggal 19 Juni 2008 telah release opensuse versi 11.
Untuk para linuxer yang hanya mempunya benwit internasional pas2an dan link IIX nya kenceng bisa mendapatkan CD dan di DVD nya dengan mendownload link di bawah ini:
Versi openSUSE-11(i386) CD berupa liveCD :
* GNOME LiveCD MD5SUM c9d2c31ef7a1429d1abbb0cbd3ba505b
* KDE LiveCD MD5SUM 83b1a04f18d6782cfe0407edadac377f
Versi openSUSE-11 (i386) DVD
* openSUSE-DVD MD5SUM ed6a5b3feb668866df812b1c2aed9d7f
Audio clip: Adobe Flash Player (version 6 or above) is required to play this audio clip. You also need to have JavaScript enabled in your browser.
Audio clip: Adobe Flash Player (version 6 or above) is required to play this audio clip. You also need to have JavaScript enabled in your browser.
Pernah ada rasa cinta
antara kita kini tinggal kenangan
Ingin kulupakan
semua tentang dirimu
Namun tak lagi kan seperti dirimu
oh bintangku
Jauh kau pergi meninggalkan diriku
disini aku merindukan dirimu
kini ku coba mencari penggantimu
namun tak lagi kan seperti dirimu
oh kekasih”
Lagu ini lagi heboh di tv, mulai dari infowtaiment sampe ke warung-warung pojokan (halaaah..)yang membahas siapa yang punya lagu ini. Ya nry (kosa kata baru nry = henry) sih gak peduli lagu ini siapa yang ngarang pokoknya nih lagu enak di denger bagi yang mau download mp3 gaby linknya ada di bawah.
Buat pencinta linux dan yang sering nonton di linux terutama menggunakan mplayer berikut tips dan triknya:
## MPLAYER
Q: Bila bermasalah dengan subtitile font terliha terlalu besar
Udah lama gak nulis jadi pengen share sekalian dijadiin logbook aja.
Buat yang punya multiple connection baik itu di kantor, di warnet, di pos kamling, sampe di pos satpam dan di warteg-warteg.. (haaaalaaaahh..) Nah berikut cara buat load balancing dan failover untuk multiple connection di linux.
Setelah baca primbon Linux Advanced Routing & Traffic Control HOWTO akhirnya menemukan caranya. Trus langkah yang paling awal kita harus ngerti dulu jaringan yang kita punya. So mari kita cari informasinya
Link internet A ipnya 192.168.5.1 gatewaynya 192.168.5.254
Link internet B ipnya 10.10.10.6 gatewaynya 10.10.10.5
Untuk koneksi yang lebih cepet adalah koneksi internet B sehingga weight nya di set 4 supaya ga kusut katanya.
Okey.. informasi udah kumplit.. Sekarang kita rock n roll di linux ^^