Quantcast
Channel: akrabat
Browsing latest articles
Browse All 36 View Live

Changing the GitHub IRC Hooks Notification Events

As joind.in uses GitHub to host its source code, we use the IRC hook to receive notifications to the IRC channel (#joind.in on freenode) when interesting...

View Article



Use Statements and Code Readability

I was having a discussion on IRC about use statements and whether they improved code readability or not. The choices Consider this hypothetical...

View Article

Some Notes On Provisioning Vagrant with Ansible

I’ve been playing with Vagrant over the last few days, using Ansible to provision it. These are some notes to remind myself for next time and are very...

View Article

Injecting Dependencies Into Your ZF2 Controllers

When starting working with Zend Framework 2, it’s common to copy the skeleton and put your controller definitions in module.config.php like...

View Article

Writing to Vagrant Synced Folders

I had a problem writing to the cache directory in my vagrant project due to file permissions. Fortunately Jeremy Kendall has already solved this problem in his...

View Article


View Status of All Vagrant Environments

I’ve just upgraded to Vagrant version 1.6, and vagrant global-status is possibly my favourite new feature. This command lists all currently up Vagrant...

View Article

Setting Up Mailcatcher as a Service in Debian/Ubuntu

I've recently been changing joind.in's Vagrant system to use Debian and one issue I came across was getting Mailcatcher to start on boot and...

View Article

Context-specific history at the bash prompt

One change I made recently to my .profile is this: # up & down map to history search once a command has been started. bind...

View Article


Git push to multiple repositories

I have a couple of projects where I need to push to more than one repo all the time. I have been using this command line to do so: git push origin...

View Article


Setting up PHP & MySQL on OS X Yosemite

It's that time again; Apple has shipped a new version of OS X, 10.10 Yosemite. Apple ships PHP 5.5.14 with Yosemite and this is how to set it up from a clean...

View Article

Provisioning with Ansible Within the Vagrant Guest

I've been setting up a Vagrant VM for use with some client projects and picked Ansible to do this. Firstly, I played with the Ansible...

View Article

Using Phing to SSH into a Vagrant Box

Now that I've started using migrations, I've discovered a minor irritant.I run this project on a Vagrant VM and have discovered that I keep forgetting to...

View Article

A Few Phing Tips

Following on from my last post, here's a few other Phing things that I've found helps me. Hiding targets from Phing -lI have a number of dependent targets in...

View Article


Registering Doctrine Type Mappings for Standalone Migrations

Shortly after starting to use Doctrine Migrations as a standalone tool in my project, I came across this error message: Unknown database type bit...

View Article

Autocomplete Phing Targets on the Command Line

Shortly after writing my last post, it crossed my mind that it would be nice if I could autocomplete the targets in my Phing build file on the command...

View Article

Browsing latest articles
Browse All 36 View Live




Latest Images