Blog

The Story of Civilization , an amazingly interesting and well written history book

Blog

I've been thinking about reading this book for several month and finallymade up my mind and decided to give it a try. But why? in my opinion for having a better understand of human bings, and also having a better vision for predicting the future and making the right decision in critical events, it's important to have a good understanding of ourselfves. And it's only possible through history. Some may say that history is all lies. That's true becaus history is usually written by the winners! but there is something which makes this lies specially the ancient ones obsoulue.

0
Your rating: None

Upgrading Drupal 5 to Drupal 6, Part 1

Blog
Drupal

I think it's a perfect time and perhaps the last change to start planning for safely upgrading our good old Drupal 5 websites to Drupal 6 (If any remained), Drupal 5 will be deprecated as soon  Drupal 7 final comes out. Some module maintainers already removed Drupal 5 releases from their projects which is a trouble for website running Drupal 5.

1.02198
Your rating: None Average: 1 (91 votes)

Linux Shell Bridge (Passing variables from scripting langauges like PHP to Linux Shell)

Blog
Linux
PHP
Programming
Sys Administration

It might sound strange at first but i must say that it's very useful specially if you have shell scripts as part of your application. Usually For making this scripts as automated as possible there should be a way to reuse the application's configurations (ips, passwords , etc) and not having to update a separate configuration file whenever anything changes in the application. It's not limited only to this and can be used to pass any kind of variables.

2.058825
Your rating: None Average: 2.1 (17 votes)

Writing tutorial and Screen-casts using free tools on Windows and Linux

Blog

KDE has a little application called ksnapshot which is very sueful for taking various kind of snapshots.

For windows also there are several options, i'm goinging to introcude two most useful ones.

0
Your rating: None

Firefox can be very beautiful

Blog

Firefox 3.7/4.0 is going to be very beautiful, But those version are not yet available, what should we do now?!

1.02439
Your rating: None Average: 1 (82 votes)

Technical speaking or speaking in a different language?!

Blog
Personal

Once after i finished talking to a colleage of mine over the phone while my wife was sitting besides me, she told that i didn't understand a word you said, what were you talking about (considering the fact that i useually describe to her what i do and she's a little bit familiar with what i do)?!

And i realized that sometimes more than half of the words i use when i'm talking technical are expressions and abastracted , multipli meaning words like bash, SEO, terminal, BT, PHP, RTBC, etc.

I think i can all it a different language!!

0
Your rating: None

Mail Logger, Drupal's most have module for all websites

Blog
Drupal

Unfortunately there is no way to know that the email has been correctly delivered right after sending it. Therefore when someone send a message using Drupal's Contact form or any other modules, he may receive a "Successful message" but the site owner may never receive that message due to the wrong email address , network failure , mail server problem or blocking by spam protector.
This might cause some misunderstanding , loosing a great job opportunity or etc.

1
Your rating: None Average: 1 (6 votes)

Sorting two dimensional array like query result by sub array's key in PHP

Blog
PHP

PHP offers dozens of functions for sorting arrays, but unfortualey non of this functions support sorting by sub-key's value out of the box. It's very useful when you want to sort the result of a query by an specific column.

Sample :

3
Your rating: None Average: 3 (3 votes)

How to mirror/sync a remote ftp folder with a local folder

Blog
Linux
Sys Administration

lftp is one of the best utilities currently avaiable for working with ftp servers.

2.9375
Your rating: None Average: 2.9 (16 votes)

How to find Linux bash script path (Self Path)

Blog
Linux
Sys Administration

Writing smart programs using bash script is not easy, there are many issues along the way and one of them is what i'm going to describe here.

Sometimes it's require for bash scripts to know their location, for example when they are part of a package and there are other require files (on the same location) for them to run properly, and it's also not possible to change the path to where they're located simply because they also need the current directory.

1.75
Your rating: None Average: 1.8 (4 votes)