Sandbox: Running WordPress on Your Local Machine
This weekend was the fourth Toronto WordCamp (WordPress conference), the second I’ve attended, and the first where I’ve presented.
Content related to coding: PHP, JavaScript, etc.
This weekend was the fourth Toronto WordCamp (WordPress conference), the second I’ve attended, and the first where I’ve presented.
So I had to send out a notice to about 700 users. I had the list in the users table of my app’s database. I wanted to create a distribution list in Outlook. It’s not as straightfoward as it may sound. The first step is to generate the csv file. Small complication: although I had…
This past weekend I finally sat down to upgrade my WordPress installation. I was at 2.8.4 and heading for 3.1.2. The automatic upgrader wasn’t working (it would start downloading the zip, and freeze), so I had to upgrade manually. (Using the upgrade instructions here.) But when the dust settled, my admin dashboard was FUBAR. A…
Only supported in Webkit and Gecko, at the moment. Not available in Opera or IE. section#mysection { -webkit-column-count: 3; -moz-column-count: 3; column-count: 3; -webkit-column-width: 15em; -moz-column-width: 15em; column-width: 15em; -webkit-column-gap: 5em; -mox-column-gap: 5em; column-gap: 5em; -webkit-column-rule: 2px solid #ff0000; -mox-column-rule: 2px solid #ff0000; column-rule: 2px solid #ff0000; } Cannot: select a given column size columns…
A few notes on configuring Apache. Creating aliases within virtual host ServerName example.com ServerAlias examplea.com ServerAlias exampleb.com ServerAlias examplec.com Running HTML files through PHP AddType application/x-httpd-php .html
Text Shadow text-shadow: 1px 1px 5px #BCBCBC, -1px -1px 3px #FF0000; In this example, we have two shadows separated by commas. The first element is the horizontal offset, the second, the vertical offset; the third is the blur; and finally, the colour. Text Stroke Only available in Webkit. Draws a border around the text. -webkit-text-stroke:…
Target Selector Applies styling when the selector is in a target state. Which is to say it is the target of a hash mark in the URL. #container:target { background-color: #f6f6f6; } Adjacent Sibling Selector From CSS2: h2 + p {} Will select the second element when it immediately follows the first. (Reference) General Sibling…
The time has come, the walrus said, to sit your fat ass down and learn TextMate. How can you code if you don’t know your tools? So, for now, just a few links I think I may want to keep around. Multi-Stroke Key Bindings Revert To Default Bundles GetBundle
Saving the web, like saving the world, isn’t something you do once and then forget about it. You always have to be on the lookout for threats to our freedom of communication. Sometimes, those threats creep in through the backdoor.
I was SO getting tired of opening a terminal window to get my web server going when I needed to do some web dev on my MacBook Pro, I finally started looking around for ways to start XAMPP on it’s own when I booted my machine. I found the answer deep in the forums. It…