You are here

dr_drsh Place

dr_drsh Place
Checked: 1 hour 43 min ago
Updated: 10 years 5 months ago
Update every: 2 hours


Subscribe to dr_drsh Place

CronTab on windows

dr_drsh Place - Wed, 19/01/2011 - 2:25pm
I have been trying to get windows to run a PHP script every minute using windows task scheduler, The GUI provided by windows is kinda complex and it just gave me the option to run daily or less frequently. Also, after I managed to get the task to run every minute, the task manager that [...]

الكوكب يحتضر

dr_drsh Place - Sat, 08/01/2011 - 2:49pm
الفيديو ده بيتكلم عن الدوامة الانتاجية اللي الدول الصناعية “أمريكا بالذات” بتعيش فيها كل البلاوي اللي بتحصل في العالم أساسها الكلام الموجود في الفيديو ده , حروب , قتل مدنيين , ارهاب , تفجيرات , تزوير , كدب , كل المفاسد ديه سببها ان شركات كبيرة عايزة تحقق أرباح بأقصى سرعة ممكنة وبأقل تكاليف ممكن [...]

MySQL (NULL = NULL) = NULL

dr_drsh Place - Sat, 25/09/2010 - 6:27am
Been a long time since I blogged, I ran across this weird mysql behaviour I had a two tables and I needed to check if `table1`.`field1` = `table2`.`field2` Things worked correctly until the two fields were set to NULL, mysql behaved as if the two fields are not equal ,although both of them are null. [...]

My GSoC Proposals

dr_drsh Place - Fri, 06/11/2009 - 12:35am
When I first applied to Google Summer of Code (GSoC) , I didn’t know how to write a proposal and what it should look like , I did some research here and there and managed to work something out , so I decided to put them online to help would-be GSoC students , My proposals [...]

Use is_null rather than == null

dr_drsh Place - Mon, 21/09/2009 - 9:10am
While playing with strings one should be VERY VERY VERY cautious when trying to check for a “null” value PHP has the bad habit of considering empty strings to be “null” and “false” , for instance 1 2 3 4 $foo = ''; if( $foo == null && $foo == false ){ echo "So PHP actually considers empty strings [...]

Accessing the first element in associative PHP array

dr_drsh Place - Wed, 05/08/2009 - 6:37pm
Accessing the first element in a php array can be done as easy as this $myArray[0] = 'foo'; and you can also use “list” to access more than one index in one call list( $first, $second, $third ) = $myArray; This approach , however, doesn’t work with associative arrays or arrays that have non-standard integer index like $stringIndexedArray = array('first' [...]

Changing Firefox 3.5 default search engine

dr_drsh Place - Sun, 19/07/2009 - 10:07pm
For some reason my Firefox default search engine has been set to “Microsoft’s Bing” search engine, I wanted to set it back to the default “Google”, so this is what I did after some research I accessed the “about:config” URL from Firefox and modified the following values browser.search.defaultenginename : Google browser.search.defaulturl : http://www.google.com/search?hl=en&q= keyword.URL : http://www.google.com/search?hl=en&q=

GSoC 2009

dr_drsh Place - Fri, 24/04/2009 - 7:46pm

My proposal for Google Summer of code 2009 has been accepted, I’ll be working for Joomla! this summer , My project will be “Workflow extension” for Joomla! 1.6

I’ll try to describe what I’m trying to accomplish to get as much feedback as possible before starting.

The workflow extension I’ll be working on will support the core content component and have the capacity to support other components.

Upgraded!

dr_drsh Place - Fri, 26/12/2008 - 7:01am

I’ve just upgraded to WP 2.7, Now its time to port/adapt/change/modify my RTL-LTR code to 2.7

I also need to clean up my tags, add a few links here and there, modify the theme, lots of work it seems.

I like how 2.7 looks, Many thanks to everybody who’s contributed to this.

Quoting

dr_drsh Place - Wed, 12/11/2008 - 2:37pm

_
Quoting

“Normal values pocket” , Preface
Author : Michael Jakob, M.D.
ISBN : 1-59103-205-9

Dedicated site for JForms

dr_drsh Place - Sat, 27/09/2008 - 10:56pm

Today I’m launching a dedicated website for my GSoC Project “JForms” support , I’ll be publishing news and documentation of the component there, also there’s a forum for support questions and similar stuff.

Screencast of my GSoC Project

dr_drsh Place - Mon, 15/09/2008 - 1:17am

My project for GSoC 2008 was to create a WYSIWYG forms component (Web form editor) that runs on Joomla! 1.5 , This video shows a simple usage scenario ( including an encounter with a bug! )

Links:

Development trunk(SVN): http://joomlacode.org/svn/gsoc2008/JForms/trunk/

JForms blog on J! Developer website

Latest packaged version

LHC And Contact

dr_drsh Place - Wed, 10/09/2008 - 3:40pm

For some reason, The whole LHC Story reminds me of the movie Contact

Tag, وسم, تاج,Crown… you name it!

dr_drsh Place - Sun, 07/09/2008 - 7:16pm

هو انا لا بحب التاجات ولا هي بتحبني , بس عشان مكسفش الراجل اللي بعتو فانا هلعب…
 
قوانين التاج :
1.توضيح اسم المدون الى مررلي التاج (محمد محمود) .
2.توضيح قواعد التاج (وقد تم ) .
3.اتكلم عن اهم 6 اسرار في حياتي ربما لن يكتشفها الغرباء

I Passed!

dr_drsh Place - Thu, 04/09/2008 - 12:29am

It’s been almost 5 month since my proposal for GSoC was accepted, I’ve learned alot in these concentrated 5 months about Mootools and J! 1.5 , I was introduced to many interesting people, Coping with College and GSoC was a bit challenging specially that I have classes during summer but things worked out well.

Final evaluation results has been announced a few hours ago, and I passed! , Which means I’ll be getting *The* T-shirt and the certificate Insha’Allah , Yaaay!

احفظ يا حمادة , احفظ عشان تبقى شاطر

dr_drsh Place - Fri, 29/08/2008 - 4:57pm

كنت لسه حالا قاعد بحل حبة MCQ بتاع مادة الأطفال و اتخنقت من كمية الحفظ اللي اكتشفت اني المفروض احفظها , الناس دول نسيو ان في شيء اسمه Reference ممكن ارجعله عشان اعرف منه الأرقام , مش لازم اتنيل أصم كل حاجة

أمثلة بسيطة

Mrs.Nazek Hariri [Scam]

dr_drsh Place - Thu, 31/07/2008 - 4:16pm

Today I received a piece of scam that is worth noting , it comes from someone claiming to be “Mrs.Nazek Hariri, wife of the late Prime Minister of Lebanon, MrRafiq Hariri”

So scam does cope with political events!

Dear Sir/Madam.

امتحان باطنة MCQ بمستشفى باب الشعرية

dr_drsh Place - Sat, 12/07/2008 - 9:08pm

هقول ايه بس , دلوقتي الانفجار النووي غير كافي للتعبير عما حدث ,فاخترت هذه المرة الـ “سوبر نوفا“.

قد يظن البعض أني أبالغ كثيرا , لأ مش ببالغ.

اختراع صايع جدا!

dr_drsh Place - Sat, 28/06/2008 - 9:53am

الاختراع ده ببساطة هو العدو الطبيعي للكاميرات

عبارة عن Projector بس مش بيشتغل غير لما يلقط فلاش كاميرا بتصور.

Who’s in charge!

dr_drsh Place - Thu, 05/06/2008 - 6:01am

Looking at all these makes one wonder, who’s in control of the US and what’s the point of all the elections.

Copied from : http://www.aipac.org/about_AIPAC/default.asp

AIPAC Achievements

استعمال جوجل كقاموس عربي-انجليزي

dr_drsh Place - Fri, 09/05/2008 - 7:41pm

الفكرة ببساطة تعتمد على جوجل و موقع Answers.com , لاحظت أن صفحة التعريف بأي كلمة بموقع Answers.com تحوي قائمة بمعنى تلك الكلمة بلغات متعددة , فيمكن استعمال هذه الخاصية كالآتي

Google Query:

site:answers.com كلمة عربية

استخدمت هذه الخاصية للتوصل لمعنى كلمة “كوسى” في اللغة الانجليزية

site:answers.com كوسى

Web-based WYSIWYG Form designer

dr_drsh Place - Sun, 13/04/2008 - 10:21pm

A few days ago I decided to suppress my “conservative” stance towards massive Javascript usage and started working on a WYSIWYG editor for HTML Forms, The application resembles drag-and-drop GUI editors, I’ve spent lot of time in building the codebase to make it as Object oriented as possible.

The codebase is simply composed of two parts, Core and pluginis “Elements”

Each draggable element is handled by a 2 files

CSS Naked day!

dr_drsh Place - Tue, 08/04/2008 - 2:57pm

No , My blog is not broken , CSS has been deliberately turned off to celebrate the 3rd CSS Naked day.

You know what, I kinda like my blog the way it is now, without any CSS :).

قافلة لتبسيط علوم الدماغ

dr_drsh Place - Mon, 24/03/2008 - 7:25pm
احتضنت مدينة الرباط المغربية أسبوعا تعريفيا يبسط علوم الدماغ لعامة الناس نظمته “جمعية العلوم والثقافة للجميع”. وينتقل الأسبوع بين عدة مدن مغربية بهدف توعية عامة الناس بأهمية علوم الدماغ وتعريفهم بهذا العضو وأعراض الأمراض التي يمكن أن تصيبه.

Pages

Subscribe to dr_drsh Place