Tech notes
The technical archive
Focused write-ups of single technical problems and how I solved them. Mostly a 2010–2014 PHP and Symfony archive, now being added to again.
One specific problem, one solution, no preamble.
Most of what’s here is archive. Between 2010 and 2014 I wrote a lot about PHP, Symfony, Drupal, and the web stack of the day. Plenty of it has aged badly enough that it won’t run against a current version. It still gets found and still gets used, so it stays.
I’m adding current notes as I go.
- Mar 2011 Resolving MX pointers to fight spam
- Mar 2011 PHP to 1000 without conditionals and loops
- Mar 2011 Configure xterm title from your Bash prompt
- Mar 2011 Separating your theme's preprocess functions
- Feb 2011 Automating the Interwebs with IFTTT
- Feb 2011 Dynamic prompt with Git and ANSI colors
- Feb 2011 Add current Git branch to your Bash prompt
- Feb 2011 Configure Git aliases to save the day
- Feb 2011 jQuery Mobile alpha 3 released
- Feb 2011 Doctrine migrations gotchas in Symfony
- Feb 2011 Static class variable for all instances
- Jan 2011 The missing Facebook trio
- Jan 2011 Keeping Google juice with HTTP 503
- Dec 2010 Correct IP with reverse proxy and Drupal
- Dec 2010 Cross-site request forgery example
- Nov 2010 Add Drupal nodes to the front of nodequeues
- Nov 2010 Dispatching Drupal hooks
- Nov 2010 Rel nofollow is killing the Internet
- Nov 2010 A* algorithm for the shortest/cheapest path
- Nov 2010 Performance of PHP functions