Blog Category: Technical

LAMP stack kickstart script for AWS with PHP55

August 11, 2014

I’ve been messing around with Puppet and Vagrant a lot at work recently working to automate our infrastructure. However, I had an idea for a little website and I just wanted to get started on some basic things with the site and not have to worry about a whole complicated Puppet setup.

AWS has a tutorial for setting up a basic lamp stack on the EC2 instances and I thought it would be handy to make that in to a little bash run all the commands in the tutorial.

(more…)

Scrypt mining on AWS Nvidia GPU with CudaMiner

March 24, 2014

I’ve been following the Bitcoin/Altcoin “movement” for a little while now and for the past few weeks have been playing around with various miners.

I had been reading a little about various mining setups when I found this thread on using AWS GPU instances as a mining platform. The thread was a few years old so I decided to try and reproduce the results mentioned.

(more…)

Drupal 7 panel pane theming suggestions

October 17, 2011

I was working on a project and and I wanted to be able to update the panel pane template on a per pane basis. What I did was copy the panels-pane.tpl.php file from panels/templates in to my theme. I then added this to my template.php file.

function MYTHEME_preprocess_panels_pane(&$vars) {
// get the subtype
$subtype = $vars['pane']->subtype;

// Add the subtype to the panel theme suggestions list
$vars['theme_hook_suggestions'][] = 'panels_pane__'.$subtype;

return $vars;
}

This allows me to rename the panel template in this format panels-pane–SUBTYPE-NAME.tpl.php.

If you have any problems send me an email and I’ll try and help.

MP3 to Post plugin

September 1, 2011

I saw this question on the WordPress Stackexchange a little while ago and thought it seemed like a cool idea. So I made a plugin…

MP3 to Post Plugin

(more…)

Browser color override test for Modernizr

July 13, 2011

I’ve been working on a project recently that requires the website to be usable for people with visual and cognitive impairments. One of the tests that we’ve been doing is overriding the text/link and background colors in Firefox and IE.

(more…)