Skip to content

Darren Nolan

Computer Tech… and stuff

Slow Cooked Rosemary Garlic Lamb (Dazz Style)

- Author: - 7 Comment(s)

Being somewhat exhausted of people asking me about my lamb (I kid, I love the attention), here is how I do it.  Please don’t be shocked.  It takes about 10 minutes to prepare and requires zip skillz in the kitchen.  I cut many corners when making this, I have done it the “proper” way (using more ‘real’ ingredients etc.) but at the end of the day, it doesn’t make a huge difference to me.  So if you take this, and you’re a champion cooker – please replace the bachelor-dazz ingredients with the real stuff.

Having said that – the results speak for themselves.  This is stupidly tasty.  And you all know it.

2013-11-23 10.51.39You will need:

  • LAMB.  Typically a leg of lamb.  Whatever will fit in your slow cooker.
  • Garlic (paste)
  • Rosemary (paste) and Rosemary
  • 1 Cup Beef Stock (more depending on the size of your lamb)
  • Splash of Oil
  • Salt and Pepper

(more…)

Categories: Uncategorized

Atlassian Product Splash Page

- Author: - 0 Comment(s)

Atlassian Splash

Some time ago I worked at a place that had a simple screen to show the links to Atlassian Products.

I’ve taken it a bit further, and now use this page to see all my product version numbers as well, which I mostly take note of while downloading updates for the individual products.

https://github.com/darrennolan/AtlassianSplash

Pretty boring – but I think it’s awesome. XD

Categories: Atlassian | Programming | Web

PHP AWS Elastic Beanstalk, RDS, Laravel 4 (with migrations on updates)

- Author: - 26 Comment(s)

SO! Let's recap my achievements for today. Sadly, much of what I read today on the internet was extremely unfriendly in terms of "what the hell do I _actually_ do" when it came to running custom commands after deployment, so I'll quickly recap the specifics where I found documentation not 100% hand-holding-friendly. The rest you can find on Amazon's extensive documentation site.

Today I wanted get started on my new blog code. I'm very tired of using WordPress (I still love you WordPress, honest) with one of the biggest factors I wish to address being the ability to simply deploy on Amazon Elastic Beanstalk. So today, it's get an RDS MySQL instance connected, throw Laravel on it, and then run any outstanding migrations (or just run them to start with). Dead simple.

Much of this I learnt from the developer guide on AWS documentation, which was extremely useful.  Following this guide, you'll get a new local git repo where you can throw laravel 4's app base onto (currently found here).  I won't go into it, it's already awesomely documented there on how to get to this point in the Beanstalk PHP getting started guide (Linked again in case you still haven't read that before reading on here).

Elastic Beanstalk has become even more awesome for users of Laravel, as 'composer install' is automatically run when it see's you have composer.json in your root folder of your app. So this helps a bunch in the fact we don't have to worry about either a) uploading the entire local vendor directory b) running composer on the instance ourselves after we push an update.

(more…)

Categories: AWS | Elastic Beanstalk | Laravel 4 | MySQL | PHP | Programming | RDS MySQL

MAMP Stack (Mac Apache PHP MySQL)

- Author: - 0 Comment(s)

Install Apache PHP and MySQL on your Mountain Lion OS

Currently, there seems to be a lack of posts out there on how to get Mac Mountain Lion setup with a *AMP stack. I mean, there’s a lot of posts out there, but they’re not all helpful. The best post I’ve found is this – so I’ll be jumping into this as soon as I get apache working. Let’s try and consolidate that because at present – this mac ignorant (re: me) – has looked at too much junk to just get a dev stack running on his laptop

Mountain Lion, and a few previous versions – already have Apache and PHP installed. So absolute win on that front. Sadly when you search for MAMP or Mac Apache PHP MySQL – all you end up with is 3 odd packages you can “install” to give you what you already mostly have. Massive PITA imo.

(more…)

Categories: Apache | MacOS | MySQL | PHP | Servers

Facebook Preview Thumbnail on WordPress Site (Oh how I hate you both right now)

- Author: - 2 Comment(s)


Get facebook to show a default thumbnail for your WordPress site, or a specific ‘featured’ image on post pages.

So because I’m lazy, for a really long time I’ve left facebook “attempt” to guess what image to use for my facebook shared links. Sadly facebook either gives me my twitter bird, or my white transparent logo (displayed on a white background of course…), despite having other images in my posts. So I’ve quickly hacked together this little script you can throw in your theme’s function file.

Basically, in the function – set your site’s default image location (I use my CDN because I’m awesome), guess if we’re using http or https – and if we’re on a singluar/post page – check for a featured image (you pick featured image when uploading or inserting the image into the actual post from the backend) and go from there.

(more…)

Categories: Programming | Web | Wordpress

<< Older Entries