Trigger Basic Auth Popup in Chrome

How to trigger the basic authentiation prompt in Chrome when already authenticated

Read On →

Symonfy2 PHPStorm Project Setup

How to set up PHPStorm for a Symonfy2 Project

Read On →

Octopress Syntax Highlighting for Vim

Still learning some of the various things that can be done with Octopress and came across this Octopress syntax highlighting package that makes it even nicer to write blog posts (such as this one) using Vim. You can see the package here. If you have already installed the SPF13 Vim then you are already running the required bundles and can simply run cd ~/.vim/bundle git clone https://github.com/tangledhelix/vim-octopress.git octopress It isn’t a groundbreaking improvement but it is worth throwing in there.

Ruby Syntax Highlighting with PHPStorm

PHPStorm is my IDE of choice for PHP development of course and also as many other languages as I can get it to support. One of my favourite plugins for PHPStorm is BASH Support which makes it into a fully featured BASH IDE with function support and syntax highlighting and some code inspections. As we are now moving to Octopress for blogging functionality I wanted a way to get Ruby syntax highlighting. Read On →

Setting up a Fedora 19 based PHP Development Installation

I have decided to switch from Debian/Ubuntu/Mint which has served me very well over the last few years and move towards more of a RedHat based distribution as it seems that servers these days are more commonly CentOS or RedHat based and I always like to keep my development environment as close as I can to the server environment for all kinds of reason. Also, I have decided that I really quite like Gnome Shell and it makes sense to pick a distribution that is properly bundled with Gnome Shell rather than bolting it into a distro after installation. Read On →

Automatically convert old PHP file to camelCase

I’ve recently been working with an old project that uses a combination of different coding styles. One of the more trivial annoyances with this is that the variables used through the project are a combination of $camelCase and $snake_case which throws of the coding standards tools that I use. To get round this I have put a little script together that will convert $snake_case to $camelCase automatically. Obviously, you will need to check the results of this to make sure that there are not variables that should not be changed, but it has saved me a lot of time doing this manually. Read On →