Optimizing the Head of Your HTML Document

Optimizing the Head of Your HTML Document

I don’t know if it goes without saying, or if it simply remains unsaid, because it is automated, but orderly HTML is still important even in this CMS age that we live. I am going to re-consider the order of a well-formed document here. I intend for this to be a...
From Rome to Arabia with Love: Numeral Conversion in PHP

From Rome to Arabia with Love: Numeral Conversion in PHP

Andy Bailey answered the age-old question on StackOverflow: How do you convert a Roman numeral into an integer in PHP? And the answer is, drumroll, please… $romans = array( 'M' => 1000, 'CM' => 900, 'D' => 500, 'CD' => 400, 'C' => 100, 'XC' => 90, 'L' => 50, 'XL' =>...
ApressOpen: Free Ebooks from Apress

ApressOpen: Free Ebooks from Apress

Apress is offering free ebooks online. This is not a limited time offer. You can find out more about it on their site. Preliminarily, here are some of the offerings that I found: TouchDevelop 3rd Edition Managing Risk and Information Security Intel® Xeon Phi™...
Nothing to Hide? Why Encrypt?

Nothing to Hide? Why Encrypt?

My daughter asked me earlier this year, “Papa, if you aren’t doing anything wrong, why do you want to obfuscate your email traffic?” Actually, I am sure that she did not say obfuscate, but her point is the same: If you are not doing anything wrong, why would you want...

Sublime Text Preferences

~/Library/Application Support/Sublime Text 2/Packages/User/Plain Text.sublime-settings { "tab_size": 5, "translate_tabs_to_spaces": false } ~/Library/Application Support/Sublime Text 2/Packages/User/Preferences.sublime-settings { "color_scheme": "Packages/Color Scheme...

Vintage Mode in Sublime Text

While using Sublime a co-worker and I were talking about using ‘vintage’ mode in Sublime and its shortcomings on Mac. Namely two: it starts in edit mode, and it does not support key repeat (e.g. kdoesn’t move your cursor up the page more than once...