Blog, page 56
page 56 of 80Continuing through the writing archive.
Jackpot
Rules for Jackpot, a medieval tavern dice game also called Dragon's Hoard, played on a board of nine numbered circles.
Read postCakePHP - Security.level
Why CakePHP logged users out at random, and the Security.level setting that stopped the session regeneration.
Read postGet special folders with SHGetKnownFolderPath
A small Windows C++ sample that calls SHGetKnownFolderPath to find the right per-user folders for app data and logs under UAC.
Read postWhy don't we have free phones yet?
A rant on Canadian carrier monopolies and a thought experiment about a mesh-networked open phone with no cell towers.
Read postI never
Rules for I Never, the drinking word game where you find out way too much about your friends.
Read postCakePHP - Disable validation in controller
A one-line CakePHP trick to skip model validation in a controller so you can update legacy records full of bad data.
Read postCakePHP - Search bar
A CakePHP snippet that wires a search box to an index action, matching the query against story titles and author names.
Read postIndian Poker
Rules for Indian Poker, a drinking card game where you stick a card to your forehead and bet drinks that yours is the highest.
Read postUPS vs FedEx
A cross-border shipping rant about a $13 UPS Ground order that turned into $53 once the brokerage fees landed at the door.
Read postCakephp - Add meta tags to views
How to add per-view meta keywords and descriptions to a CakePHP layout using $scripts_for_layout and the HTML helper.
Read post