For full recipes, please visit our recently launched Egyptian Cuisine Recipes web site.

Sponsored Links

Khalid M. Baheyeldin

My name is Khalid Baheyeldin, and I am originally from Alexandria, Egypt, now living in Ontario, Canada.

With more than two decades of experience in the Information Technology field, I am the co-founder and Managing Partner of 2bits.com, Inc, which specializes in Drupal web content management consulting, including installation, development and customization. As a permanent member of the Drupal Association, I am on the General Assembly which elects the board of directors.

On occasions, I am in the top 2 or top 10 contributors to Drupal.

You can read my resume online.

Using Linode Dynamic DNS with OpenWRT

If you have a VPS at Linode, then you have free Dynamic DNS. You can use that from a regular Linux machine, or from a router that runs OpenWRT.

This article describes how to setup an OpenWRT router with Linode Dynamic DNS.

First, the script itself, which goes into the file: /etc/custom/linodedns.sh

#!/bin/ash
 
BASE=`basename $0 .sh`
DIR=`dirname $0`

OUTPUT1=/tmp/$BASE-1.out
OUTPUT2=/tmp/$BASE-2.out

# Read the configuration file
CONF=$DIR/$BASE.conf
if [ -r "$CONF" ]; then
  . $CONF
else 

Logging with Syslog-NG on OpenWRT

We wrote earlier on OpenWRT on D-Link DIR-835. Now, we need to expand the functionality a bit more.

On OpenWRT, the default logging mechanism is an in-memory circular buffer. The user interface for it is the logread command. The log buffer default size is 16 kB. There are a couple of directives that can be set in the system configuration for OpenWRT, but because of the limited size of flash and the non-permanence of RAM, you need another solution if you want to store logs for anything longer than a day or two.

Syslog-NG

Syslog-NG is a good system logging program that is available for OpenWRT.

Solutions for Android battery drain because of suspend_backoff/Wakelocks

If your Android phone is suffering from suboptimal battery life, you may be suffering from suspend_backoff problems. This happens when the phone is woken up by applications in quick succession, so it decides to keep the phone awake for a little while. For example, there is data to be sent over WiFi, so the WiFi connection is kept awake, which keeps the phone awake.

Youtube/Flash not working on Semperon under Ubuntu? Use Gnash!

If you are using Ubuntu 12.04 on an older computer with a Semperon CPU, you will soon find that Flash is not working and therefore Youtube videos will not work either.

Adobe Flash built with SSE2 flag

This is because Adobe has build the recent Flash versions with the SSE2 flags enabled, yet many Semperons lack this particular flag.

$ cat /proc/cpuinfo
vendor_id : AuthenticAMD
cpu family : 6
model : 8
model name : AMD Sempron(tm) 2600+
...

Four hours of battery time on a Linux laptop

I previously wrote about reducing CPU usage for Firefox by disabling Firebug. Later, I wrote on disabling the YSlow extension also reducing CPU usage.

Now, the laptop is able to exceed 4 hours of battery time under Kubuntu Linux 12.04:

Four hours, seven minutes:

09:37:27 localhost pm-utils: Power source switched to battery, Battery: discharging, A/C adapter: off-line

Quick How To: Installing OpenWRT on the D-Link DIR-835 wireless router

This is a quick how to for installing OpenWRT custom firmware on a D-Link DIR-835 router.

Though these instructions were tested on the DIR-835, they apply to many other router models from Linksys, Netgear, ASUS, and many other brands.

Check if your hardware is supported

مهند الحطاب

مهند الحطاب، شاب سوري بيقلد العرب و المصريين في فيديوهات قصيرة جدا مضحكة

هنا مجموعة من فيديوهاته

مذيعة بتقول للكوافيرة تعمل شعرها ازاي

بنت صاحبها سابها

بنت صاحبها سابها الجزء الثاني

جاك و روزا بعد التيتانيك ما غرقت

How to install Firefox ESR on Ubuntu 12.04 64 bit

To read my RSS feeds, I use Tiny Tiny RSS, which worked fine until 21 Feb 2014.

On 22 Feb 2014, Ubuntu pushed Firefox 27, Tiny Tiny RSS stopped working, with a Javascript error. After logging in, there would be a pop up error referring to getCookie and tracing to prototype.js.

To solve this, I went back to the ESR (Extended Support Release). This was quite a few steps, so I am documenting them here.

How to get better fonts in Firefox on Linux

To have better fonts in Firefox, you need to disable anti-aliasing, and clear all font caches.

Do achieve this, run the following commands from a terminal:

Clear the cached fonts in your home directory

cd ~
rm -f .fonts.conf .fonts.cache-1 .fontconfig/*

Disable antialiasing

cd /etc/fonts/
sudo mv 10-antialias.conf disabled-10-antialias.conf 

Reconfigure the fonts

sudo dpkg-reconfigure fontconfig

Now, restart FIrefox and check if the fonts look better ...