Mohanad Kaleia

Idea for a cause

How to Move Users From One WordPress Blog to Another

Today, while moving a WordPress built site from one domain to another I ran into a snag. Import/Export for blog posts and pages worked great for moving the content from one site to the other but what do I do with the 79 users on the website? WordPress, sadly, doesn’t have an Import/Export function for users. For a minute, I panicked and thought “Am I going to have to manually enter all of these users into the site for a second time?” The answer is no.

Here’s the math:

Step 1: Export Original

Users to CSV is a useful plugin by Joost that lets you export your user list as a CSV file. Install the plugin to your site and run the program via the Users tab in the navigation of your back end. From here you’ll get a nice, neat CSV file with a table of your users – complete with IDs, email addresses, URLs, display names, first names, last names, nicknames, and registration dates.

Step 2: Install Importer

Now that you’ve got your CSV file exported you’re obviously going to need to get it installed on the new site. A great tool for this is Rode Works’ tweek of Dagon Design’s Import User plugin. The original automatically sent out notification emails to the new users saying that their new account was set up. Since their accounts are already supposed to be set up, you don’t wan to be sending out new notifications, this is where Rode Works’ tweek of the original code comes into play.

Step 3: Adjust CSV and Import

You’ll need to adjust your CSV file using Excel (or similar software) and move some cells around to meet the requirements of the Import User plugin but for the most part it’s pretty straight forward. You can either import the CSV file via the plugin or copy and paste the content into the back end.

There’s a bit of playing around involved but it in the end it should only really take about 10 minutes to do all of this – which is far better than the hours it would take to do it by hand, or worse, force the users to do it themselves.

Install Quartus || 10.0 on UBUNTU


to install quartus || 10.0 you will maybe face some problems during installation ..

Apparently there is a conflict with the file Here is a simple workaround:

  • Add the option –confirm to execute the install script.
sh --confirm
Creating directory bin
Verifying archive integrity... All good.
About to extract 49568 KB in bin ... Proceed ? [Y/n] Y
Uncompressing Altera Installer............................................................................................................................
OK to execute: ./altera_installer_gui --gui  ? [Y/n]
  • Before proceeding, in another terminal, go in the same directory than the install script and delete the file ./bin/
rm bin/
  • Now you can proceed.
OK to execute: ./altera_installer_gui --gui  ? [Y/n] Y
Fontconfig error: "conf.d", line 1: no element found
Fontconfig warning: line 73: unknown element "cachedir"
Fontconfig warning: line 74: unknown element "cachedir"
  • The installer GUI should pop up.

That’s it :) enjoy quartus bye

source :

//for modelSim installation follow this page

كيفية نقل حساب المستخدم من صلاحية standard إلى صلاحية administrator في أبونتو


مؤخراً قمت بالخطأ بتحويل حساب المستخدم الأساسي لنظام أبونتو من administrator إلى standard :( .. وبعدها لم أتمكن من فعل أي عمل يتطلب صلاحيات الأدمن، مثل تنصيب برامج وغيرها .. وحتى لم أتمكن من الانتقال لحساب الرووت من خلال تعليمة sudo su!!

فقط لتعرف كيفية تحويل نمط الحساب من adminstrator إلى standard فكل ما عليك فعله هو الذهاب إلى User Account وبعدها قم بتعمل Account type من  adminstrator إلى standard.

Read More

Quartus || 9.1 on Ubuntu 12.04 !!

Hi every body…

Today we will show how to install Quartus || 9.1 web edition ..
First we have to download it from it’s website … so easy

Then after extract it we have to run install script


Hint : choose the default directoy to install quartus in it (/opt/altera9.1)..

At last we will run these lines :

# cd /opt/altera9.1/quartus/linux/
# sudo mv
# sudo mv


Finally run :

$ cd altera9.1/quartus/bin

$ .quartus


Hoooray you have finished ..

If you have any trouble check this page :
Bye :)



How to remove index.php from Codeigniter URL



في حال كنت مطور ويب وتعاملت مع بيئة codeIgniter لابد وأنك قد لاحظت أن الرابط URL الافتراضي يحتوي على الجزء index.php وربما قد أزعجك وجوده مثلي بشكل دائم، ولابد أنك تريد تغييره وحذفه وإلا لما وصلت لهذه الصفحة wink.






Read More

Execute cmd commands using C#

Hello again , 
If you want to execute cmd commands from c# you can use this method : 

private void ExecuteCommand(string Command)
    ProcessStartInfo ProcessInfo;
    Process Process;

    ProcessInfo = new ProcessStartInfo("cmd.exe", "/C " + Command);
    ProcessInfo.CreateNoWindow = false;
    ProcessInfo.UseShellExecute = false;
    Process = Process.Start(ProcessInfo);


If you like to execute multi commands in the same process you can just seperate each one with "&"

like this : 

ExecuteCommand("cd & myApp.exe");

where "cd" is the first command and "myApp.exe" is the second one.

Enjoy it..

Multi copy of VirtualBox hard disk


To copy a hard disk of virtual box you have to change uuid to make it available to use..

you can change it in UBUNTU by typing this command in the terminal

VBoxManage internalcommands sethduuid  VBMachine.vdi

Enjoy it..

كيفية اتصال برنامج جافا بقاعدة البيانات أوراكل

ربط الجافا مع قاعدة البيانات أوراكل

سنتناول اليوم طريقة ربط برنامج مكتوب بلغة الجافا مع قاعدة البيانات أوراكل .

قبل أن نبدأ علينا أن نعرف أنه لكي يتمكن أي برنامج جافا من الاتصال بقاعدة البيانات أوراكل يجب أن يتوفر driver خاص اسمه jdbc والذي يهتم بإدارة عمليات الاتصال والاستعلامات وغيرها من العمليات مع القاعدة.. المهم يمكن تحميله من موقع أوراكل مباشرة باتباع الرابط التالي واختيار مدير القاعدة المناسب :

Read More