I had a problem with some urls including the paramaters from the url because i used the `Zend_View_Helper_Url`. So just a quicktip is, add the third param `$reset` which resets the url. So you would end up with something like this:
Install wordpress from bash
From day to day i spend a lot of time installing basic things like wordpress, drupal, zend framework and so on. To make it easier for my self i created some scripts that’ll do exactly that for me. This one will install wordpress in your current directory from a selected source. Ill post the rest of my tools later as they need some tweaking.
Force select in bash case statement
This is probably common knowledge but i keep forgetting it so. If you’ve ever wanted to force a user to select an option you might have have noticed that a user can select anything they want in a select statement. A way to get around this is by converting your options in a function and then use the *) to fire the same function again.
Alternative to MacPorts, homebrew
If you’ve ever needed a 3th party app like `wget` or anything like it you should probably take a look at homebrew. Its fast and slick and bound to git. It has all the great features we know from `apt` or `macports`. What more could we ask for?
Some of the things ive used it for the last couple of days is installing and playing with [nginx](http://nginx.org/) which is an awesome tiny webserver that has a brilliant json like syntax for vhosts.
Blogging from textmate using markdown
One amazing thing about textmate, is that it does so many incredible things! In the last couple of months ive been using a lot of [markdown](http://daringfireball.net/projects/markdown/). Its such an easy syntax and great for blogging. Textmate has this bundle build in.
Another thing that is already build in is this great blogging tool that’ll let you blog directly from textmate. Simply select the blog bundle with the preferred syntax, in my case `Blog-Markdown`. When you’ve written your blogpost simply hit ctrl + cmd + p and it’ll post to Blogger, WordPress, Drupal or any other platform that supports the `MetaWeblog API`.
Mixing MooTools class with jQuery
http://ryanflorence.com/object-oriented-jquery-with-mootools-pigs-take-flight/ this is pretty fucking awesome! I thing i know what im spending my weekend doing! Brilliant work
SuperShape3D
http://www.syedrezaali.com/blog/ This guy is amazing! He did a brilliant app with processing to generate pretty awesome shapes!
apc and wordpress
Strange, ive been having problems with my wordpress installation not wanting to load the dashboard. It now seems like this is because of APC. Ive tweaked my settings to make everything run smoother by setting apc.include_once_override=1 but this seems to break more than speed up things. By setting this back to 0 i was able to remove the problem
days of month in javascript
Heres a quick tip to get the total number of days in a month in javascript
How to create a REST Protocol
Awesome article on creating RESTful protocols http://bitworking.org/news/How_to_create_a_REST_Protocol