Blog

Firefox 3.6 on Ubuntu/Kubuntu and Adobe Flash issues

Blog
Linux

After installing Firefox 3.6 on my Kubuntu using repositories here i realized that it can no longer play flash contents! I did a little bit search and found this solution. Unfortunately it didn't fix my problem so i decided to run firefox from terminal in order to see what's really wrong.

4
Your rating: None Average: 4 (1 vote)

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.

0
Your rating: None

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.

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?!

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.

0
Your rating: None

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 :

4
Your rating: None Average: 4 (2 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.

3
Your rating: None Average: 3 (1 vote)

Drupal's Acquia Marina Theme patched version!

Blog
Drupal

In Drupal it's possible to overwrite and extend a theme using sub-themes! So i usually create a custom theme for my site as a sub-Theme of a base theme and try to put all the site specific stuff to that theme instead of the base theme, although it's tricky! and sometimes i have to spend hours finding a workaround for not completely implemented sub themming features but i think it worth it.

5
Your rating: None Average: 5 (2 votes)

Get the latest Linux Kernel news in the simplest way

Blog
Linux

Linux Kernel is the heart of the opensource movement, because it allows users to have a complete open source operating system. With every release it brings lots of cool new features to the Linux community. Although it's very important piece of software, propely the more important the any other software in open source community it's unknown to many users. The are two reasons for this.

0
Your rating: None

PHP's forward compatible version compare

Blog
PHP
Programming

Sometimes the code is forward compatible, for example when it's compatible with all future PHP5 releases, put PHP's version_compare function does not support this (Perhaps because they know that they always break compatibility with every minor release!!!). This function supports .x, for the above example it's : 5.x

It's also shared here

0
Your rating: None