Monthly Archives: February 2009

bash – crash & burn, fork bomb

DO NOT try this :

id=”I_saw_this_command_somewhere:_:.28.29.7B_:.7C:.26_.7D_.28fork_bomb.29.__How_does_it_work.3F”>:(){ :& };:

You have been warned !!!

Sayonara !!!

bash – search & replace in a file using sed

Traditionally, search and replace in files have to be done in editor. But if the operation involves multiple files, it would not be practical to use editor on every files as it can be tedious (more then 5 files?) and also error prune. By using a few of bash utilities, the task can be achieve [...]

Postgres SQL – passwordless login within bash script

Most of the time, we need to write a script to update multiple fields in a database table, pull values from database to fill up other tables or even grab from database and pass it to programs to process. The most annoying thing is every time it tries to connect to the database server, it [...]

bash – output all to file

Writing script might not be only wants to shows the result on the screen. Some times, we want the script to output to a file. Not only result, but also the errors. Result of cause we want to the know, but errors is valuable also, when we need it to debug the script. Or even [...]

Mascots – all of em’

Ever doing some presentation or writing a blog post and need to bring out the contents by displaying a picture of the related topic? After all, a picture worth more then a thousand words. Wiki have a list of mascot, with logo picture. :p

Adiós !!!

Plugins for Apple Mail email client

Ever wonder why firefox have tons have tons of plugins to enhance the user experience? Thunder wasn’t left out also.
Hey, Apple Mail also got its contributors which aims to make your life easier. The site Hawk Wings have a large collection of Apple Mail client plugins, links with short description. e.g. iCal, Address Book, Notification, [...]

Apple mac OS X tiger 10.4 isync plugin for nokia E71 & E63

Just bought a Nokia E series smart phone that runs symbian OS. It is able to sync with Apple mac OS X 10.4 tiger isync & ical application. But during the isync with nokia E71 or E63, it complain about not recognizing the new nokia E63 or nokia E71? No worries, it is just a [...]

Wordpress – insert blank line

Having WYSIWYG in wordpress is definitely a great plus for bloggers. At least myself don’t have to mess with the codes. Bold, italic, image insert & other stuff. Except 1 thing, whenever an enter is pressed (create a new line or \n), it just doesn’t save it. After re-visit the WYSIWYG editor, the new line [...]

cron – email recipient other the root

We all use cron (this part of the world, “open source” world). But some times we wouldn’t want to send the output or error messages to root, or anyone in /etc/aliases. Only to an email we trust or a normal user on the server. Cron is flexible. Thanks Vixie, Paul Vixie.
Problem :
Status of cron jobs [...]

ssh persistent error “Permission denied (publickey).”

One fine day while checking up on cron backup job on the server, it recorded an error while doing a rsync to the backup storage server. All other users have no problem login onto the backup storage server, just this particular username have problem. After checking out the interactive verbose output of the attempt ssh [...]

-->
Improve the web with Nofollow Reciprocity.