
Symfony doesn’t play well with the default OS X server setup, so you will need an alternative setup. This tutorial assumes you are using MAMP but XAMPP is also an option.
This tutorial will get a server up and running that works with Symfony and allow you to access your projects from http://ProjectName.localhost/
Read more…
Computers, Guides, Programming
apache, code, mac osx, mysql, osx, php, server, symfony
UPDATE!
May 10th, 2009 – This tutorial is not complete. Following these instructions will only get command line version of PDO_MYSQL working. I have written a new guide that avoids the built-in versions of PHP and Apache.
Read the updated tutorial »
I recently started working my way into the world of the PHP framework Symfony. While following the superb Jobeet tutorial, I encountered an error involving PDO_MYSQL and Mac OS X. I spent an hour trying to trace down the problem and another hour finding a solution. And as always, when something takes me too long to solve, I write a guide for it!
Read more…
Computers, Guides, Programming
code, Guides, mysql, osx, php, Programming, server

NOTE: shell.uoregon.edu is now sftp.uoregon.edu
Ever wanted to have your own webpage at http://uoregon.edu/~YourDuckID? Ever wanted to setup a clean-looking, easy-to-maintain website for a student group your are associated with? Well now the whole process is a snap! Every University of Oregon student is given space to set up their own website.
It’s a fairly complex process to set up all the necessary tools (PHP and MySQL) manually, so I wrote a program to do it for you (mostly) automatically! All you need to do is login to your uoregon.edu account and follow a couple simple instructions.
Read more…
College, Computers, Guides, Programming, Wordpress
code, guide, Programming, script, server, University of Oregon, Wordpress
I’m in the process of writing mediawiki2wordpress—a plugin to allow WordPress to access and display content from a MediaWiki installation. I spent a bit of the evening figuring out how to get MediaWiki to let me trick it into thinking I was making a standard request.
The method I explain here gives you access to the MediaWiki API class as opposed to the standard MediaWiki rendering class. Most of this code came from MediaWiki’s api.php which you can find in MediaWiki 1.13.
Here’s what the API output will look like for the Foobar page on Wikipedia (in XML).
I spent quite a bit of time poking around in the MediaWiki /includes directory and trying different hack-ish methods before this page that had exactly what I needed! It did need updating, but I was happy to oblige. I even had this whole post written up using a sloppier approach before finding the FauxRequest class that I explain below.
Read more…
Featured, Guides, Photography, Programming, Wordpress
api, code, guide, mediawiki, plugin, Wordpress
A while back I throw together this AppleScript to trigger Quicksilver to not only go to iTunes, but to automatically focus on the current track. (Note: When iTunes is already the front window, the command to do this is ⌘L.
Features
- Brings iTunes to the front if it isn’t already the front window
- Highlights the track that is currently playing (if one is playing)
- If iTunes is already the front window, this script will hide the window (similar to using ⌘H
Read more…
Computers, Featured, Guides, Programming
applescript, code, osx, quicksilver, script
I recently had to setup MySQL on Mac OS X Leopard (I was using 10.5.6). I can never find a guide that gets Apache, MySQL and PHP working using the binaries that come packaged with Leopard. I also don’t like using pre-packaged installers like XAMPP and MAMP. This guide is intended for advanced users as very little explanation is given for each step.
Please add a comment if you have any suggestions for improvement.
Read more…
Computers, Featured, Guides
apache, code, leopard, mysql, osx, php, server
After spilling water through the fan vents of my desktop on my current hackintosh, I had to make a new one. All that needed replacing was the motherboard. I wanted to pick a board that had been put through it’s paces in the OSx86 (hackintosh) community. There was an amazing guide for the first board I picked, but it wasn’t being sold on Newegg.com anymore, so I decided on the Gigabyte GA-EP45-UD3P.
You can find more information about my setup on my hackintosh v2 wiki page. If you want to see every step I went through to get this system working, check out that page.
What To Expect
This guide will let you install OS X Leopard 10.5.6 from the retail disk (straight from Apple!). You’ll have a system with full functionality and minimal hacking.
I have not tested this setup extensively since I got it working, so I make no guaranty about it’s stability. The way I went about it isn’t the cleanest, but it works. I’m hoping weaksauce12 will release a Universal OSx86 Installer plug-in for this board in the near future. Keep an eye out on my blog for another post involving that installation.
Read more…
Computers, Guides
computer, guide, Hackintosh, osx86