Fixing Keyboard Type on macOS 30 Jun 2020
How I fixed Keyboard Type on macOS when the preferences pane had no such option.
How I fixed Keyboard Type on macOS when the preferences pane had no such option.
Symfony2 bundle that adds logging of exceptions thrown in console commands
A guide and .spec file example on deployment of Symfony2 apps using RPMs
My first Atom package provides syntax highlighting of .spec files
Second times a charm (or something like that)
Have always loved this when using Textmate on OSX, now I can use it on Windows too!
Highcharts is a JavaScript charting library, Phighcharts wraps the functionality inside a PHP OO interface
It's on and I'll be there... will you? An idea for a pre-conference attendee meetup.
A Kindle compatible version of the excellent free book written by Addy Osmani
How to persist URL parameters during URL generation in symfony 1.4 with very little work
Create your symfony menu's using a simple interface, with support for active state definitions
Fetching XML via curl is useful for debugging API responses, especially if they are locked down to certain IP addresses, take a look to see how to have the ouput nicely formatted rather than a single long string.
We can use the Textmate environment variables, along with a small bit of PHP to automatically insert class names based on the folder directory structure
I recently had the need to rename a bunch of files according to a simple rule.
In the directory, any files that had a prefix of “Gee_” should have the prefix changed to “Kif_”
After a little digging I found a simple but quite tasty solution.
Simply run this at your command line.
for f in Gee_*; do mv "$f" "Kif_${f#Gee_}"; done
Job done. It finds files matching the pattern supplied, then loops through renaming them appropriately.
A short article outlining how you and your fellow developers can use git between you, without ditching svn as your upstream master repository (as may be required in your place of work)
As i am a recent git convert I find myself reading a lot of guides etc on the best way to use git and how my workflow can change now i’m using a DVCS.
Using one of the built in Maths functions of PHP we can easily create zebra striped lists.
Let’s say we have an array of entries stored within the $comments variable.
All we have to do with this is to use the fmod function and assign a css class that alternates per entry.
If you ever need to use a helper outside a template, you can still load a helper group from anywhere by calling
If you are hosting a domain (or multiple domains) using VirtualHost entries, it is bad practice to use individual entries for the same domain just to cover the inclusion or exclusion of the www in the address, amongst other things it is bad for SEO, but of course you still want visitors to be able to go to your site via the 2 starting addresses http://sedlmayr.co.uk and http://www.sedlmayr.co.uk
I’ve been using the sfThumbnail Plugin in symfony 1.0 for image resizing when users upload.
When I asked the plugin to resize an image with scaling there was a problem and the image came out skewed and distorted.
After a little research I found the following fix.
To automatically collapse, hide, shrink (or whatever you want to call it) the web debug toolbar to just the SF and close icons; add this line