Author: Mohamed Sharaf

  • 10 Immutable Laws of Security

    Law #1: If a bad guy can persuade you to run his program on your computer, it’s not your computer anymore Law #2: If a bad guy can alter the operating system on your computer, it’s not your computer anymore Law #3: If a bad guy has unrestricted physical access to your computer, it’s not […]

  • Patterns For Large-Scale JavaScript Application Architecture

    Can you summarize this article in 140 characters? In the event of you being short for time, here’s the tweet-sized summary of this article: Decouple app. architecture w/module,facade & mediator patterns. Mods publish msgs, mediator acts as pub/sub mgr & facade handles security What exactly is a ‘large’ JavaScript application? Before we begin, let us […]

  • secure WordPress Plugin theme Development

    There are several easy to implement rules you can follow to make your code more secure which I’ll briefly explain in this post. 1. Always develop with debugging ON Deprecated notices, warnings, fatal errors – you don’t want these to be triggered by your plugin. If a server has error reporting turned on, these errors […]

  • hard disk failure

    No power. No Spin. No Sound. Burning smell. PCB is extremely hot. See burned mark on the printed circuit board. Power surge. Connect the hard drive case to wrong power supply. Hard drive makes “Clicking sound”. Symptoms of PCB failure and the percentage the following symptoms of a media failure are may be results of […]

  • ساعلم ابنائي

    ساعلم ابنائي ان اللحيه من الاسلام وسنه من النبي العدنان وانها للمسلم عنوان و امر من الله لخير الانام وكيف القاه ان كانت فرضا وخالفناه وان الحجاب فرض من الرحمن وعفة وايمان فكيف فسرناه وان النقاب ان كان فرضا وفيناه وان كان سنة اتبعناه وكيف لا وهو عن امهات المؤمنين اقتفيناه وبامر بالضرب علي الجيوب […]

  • How do I indicate long text into a smaller fixed column with CSS? cut line by css

    [php] .box { -o-text-overflow: ellipsis; /* Opera */ text-overflow: ellipsis; /* IE, Safari (WebKit) */ overflow:hidden; /* don’t show excess chars */ white-space:nowrap; /* force single line */ width: 300px; /* fixed width */ } [/php]

  • image

    momomomo

  • How To Stop Windows 8 Updates From Force Restarting Your PC

    1: Launch the Local Group Policy Editor by entering gpedit.msc in the Run dialog box. 2:  navigate to: Computer Configuration\Administrative Templates\Windows Components\Windows Update 3 in No auto-restart with logged on users for scheduled automatic updates installations  check enabled   restart  done

  • why i choose one big table for the same sets of data

    – Seek time with proper index, should be exactly the same, no matter how wide”table is. Apart from performance issues, this will simplify design and relations with other tables (foreign keys etc). – code little Assuming that table B is exact copy of table A, and that all necessary indexes are created, self-join of table […]

  • db mysql youtube speed performance

    Paul Tuckfield of YouTube is giving a keynote. He has been sysadmin for 25 years, Oracle DBA for 15 years and MySQL DBA for 8 months. For them, MySQL is one (important) piece of scalability. Top reasons for YouTube Scalability includes drinking :). Top reasons for YouTUbe database scalability include Python, Memcache and MySQL replication. […]