Adding Selenium tests to Drupal7

Leave a comment

druplicon.large_Check full story here: http://www.jaqoup.me/2014/06/05/adding-selenium-tests-drupal7

Comparing MySQL database versions data

Leave a comment

Check full story here: http://www.jaqoup.me/2014/04/06/comparing-mysql-database-versions-data

FCIS Importing part2 OS project for 3rd year students

Leave a comment

Check my new post here: http://www.jaqoup.me/2014/04/02/fcis-importing-part2-os-project-3rd-year-students

Oauth2 LinkedIn problems

Leave a comment

Check my new post here: http://www.jaqoup.me/2014/02/26/oauth2-linkedin-problems

Drupal7 Adding new dependency to solr facets

Leave a comment

Check my new post here: http://www.jaqoup.me/2014/02/14/drupal7-adding-new-dependency-solr-facets

Drupal7 Quick hack to display facet items as checkboxes/radio buttons

Leave a comment

Check my new post here: http://jaqoup.me/node/178

New Blog

Leave a comment

Check my new post here: http://jaqoup.me/node/177

كذا

Leave a comment

عجبــاً لِمَـنْ كَرِه اتصـافه بالكذا

و بغيــرِ هــذا مـا فعاله توصفُ

إن كُنـــت تَكره ان تُنادَى بالكذا

لا تأت مِنــهُ ما يُـــرى او يُعرَفُ

إن قـامَ غيـــرك بارتِكـابه للكذا

ُسيكون منك الوصفُ جِداً اعنف

فَـلتنـظرن الى فعالـك ولـتصـف

وصفـاً اميــــــناً, فالامانه اشرفُ

حتى اذا كان اتصافك ما تصف

!نفسك بِــــــهِ, كُــــــــــن منصفُ

تُـب عن كـذا و كـذا و ذا, تجـد

الأنــــــــام لِحَق نفسـِــــــك اعرفُ

والله ما قتلته رجوعاً عن الاسلام و لكن حمية

Leave a comment

قال الواقدي: حدثنا إبراهيم بن جعفر، عن أبيه وحدثنا سعيد بن محمد بن أبي زيد، قال: حدثنا يحيى بن عبد العزيز بن سعيد، قالوا:

كان سويد بن الصامت قد قتل ذيادا، فقتله به المجذر بن ذياد, فهيج بقتله وقعة بعاث.

فلما قدم النبي صلى الله عليه وسلم المدينة أسلم المجذر، والحارث بن سويد بن الصامت، فشهدا بدرا. فجعل الحارث يطلب مجذرا ليقتله بأبيه.

فلما كان يوم أحد أتاه من خلفه فقتله.فلما رجع النبي صلى الله عليه وسلم من حمراء الأسد أتاه جبريل فأخبره بأنه قتل مجذرا. فركب رسول الله صلى الله عليه وسلم إلى قباء، فأتاه الحارث بن سويد في ملحفة مورسة. فلما رآه دعا عويم بن ساعدة وقال (رسول الله) : اضرب عنق الحارث بمجذر بن ذياد

فقال (الحارث): والله ما قتلته رجوعا عن الإسلام ولكن حمية، وإني أتوب إلى الله وأخرج ديته وأصوم وأعتق

وجعل يتمسك بركاب النبي صلى الله عليه وسلم إلى أن فرغ من كلامه,

فقال النبي صلى الله عليه وسلم: “قدمه يا عويم فاضرب عنقه“. فضرب عنقه على باب المسجد،

والله أعلم.

 المصدر: سير اعلام النبلاء للامام الذهبى

فائده: ولى امر المسلمين فقط هو من يقتص و يأمر بالقصاص

Downloading Youtube videos in Ubuntu

1 Comment

After the flash version 10 as I can remember, the old method of going to the temp folder /tmp/ and copying the video from there is not working, you will not find it there, It is put there then deleted from disk and treated as a file in memory so this is how to get it.

Using the terminal:

 pgrep -f flashplayer 

this will display the process IDs using flash player, assume the process ID was 3660, then navigate to the process data

 cd /proc/3660/fd 

and list the files there

 ls -l 

you might find a file written at the end of its line ” /tmp/FlashXX3HWsv1 (deleted)”

Screenshot from 2013-06-29 08:54:29

this is the video, copy it to wherever you want but use that number as the file name

 cp 30 /wherever/vid.flv 

Older Entries