Dan
Iam a geek, failed novelist, web developer, (very) part-time blogger and - most importantly - husband and father. With a baby just arrived, spending time with my family means far more to me than anything you can read on this website. I am also the owner of the open-source Intype snippets for CodeIgniter project.
Wednesday September 8th, 2010

Blog Categories

Twitter updates

Loading tweets  

Keane shows his stuff

Monday November 10th, 2008 • Tagged: LiverpoolFC • Written by 0 comments

Although he's been playing well and his work rate cannot be faulted, the one area you expect a £20m striker to perform is in front of the goal. Whilst not taking the amount of time that Peter Crouch did to notch up his first goal for the club, I've been surprised at the lack of comment made in the press about his lack of goals.

That said, he looked every bit the part as he took advantage of West Brom's defence for his 2 goals on Saturday. Hopefully this will spur him on and he'll be able to take some of the goal scoring duties from Torres.

Once again, Rafa Benitez showed little concern for bringing off a player on a hat-trick, despite the team looking comfortable (how often has he done this?) The roar that went up around the ground has Torres came on shows the level to which the crowd missed 'El Nino', but the rest of the team can be proud that despite his absence we're still going toe-to-toe with Chelsea at the top of the league!

Snippets for gEdit

Thursday November 6th, 2008 • Tagged: CodeIgniter • Written by 0 comments

As a result of moving some of the time over to develop using Ubuntu, and using gEdit a lot as a result, I have attempted to port the Intype snippets across to gEdit. Though not identical to the ones for Intype, they're pretty close and hopefully people will find them useful!

The original bundle available for Textmate / E-TextEditor is available from Start Up Web 2.0

How to install

  1. Download the CodeIgniter snippets XML file for gEdit
  2. Load gEdit and Install the gEdit Snippets plugin (from Edit - Preferences - Plugins)
  3. From the 'Tools' menu, choose 'Manage Snippets'
    gEdit Manage Snippets
  4. Click the 'Import snippets' button, and choose the XML file you downloaded
  5. New entries should now be shown under the "PHP" heading as shown below:
    gEdit PHP Snippets
  6. Close 'Manage Snippets
  7. To test: Open a php source file. Type: ciarg and press <tab>. You should be presented with the a snippets menu.

If for any reason you wanted to remove these snippets from gEdit, the file is held in ~/.gnome2/gedit/snippets

Tab triggers

  • Benchmarking Class - cibench
  • Calendaring Class - cical
  • Config Class - ciconfig
  • Database Class - cidb & ciar (active record)
  • Email Class - ciemail
  • Encryption Class - ciencrypt
  • File Uploading Class - ciupload
  • FTP Class - ciftp
  • HTML Table Class - cihtml
  • Image Manipulation Class - ciimage & ciimageconf
  • Input and Security Class - ciinput
  • Loader Class - ciload
  • Language Class - cilang
  • Output Class - cioutput
  • Pagination Class - cipag & cipagconf
  • Session Class - cissession
  • Trackback Class - citrack
  • Template Parser Class citemp
  • Unit Testing Class - ciunit
  • URI Class - ciuri
  • User Agent Class - ciagent
  • Validation Class - civalid
  • XML-RPC Class - cixmlrpc
  • Zip Encoding Class - cizip

Enjoy!

Time to give Ubuntu another chance

Thursday October 16th, 2008 • Tagged: Ubuntu • Written by 0 comments

With the release of Intrepid Ibex (Ubuntu 8.10), I've decided that now is the time to finally give linux another go.

Having spent the last 2 years avoiding Linux as much as possible since a rogue installation auto mounted and subsequently destroyed one of my Windows partitions I decided to tread carefully with the latest release. Finding out that the install CD didn't like booting on my HP laptop (not a great impression!), I installed it first using VMware using direct access to my external disk.

Once installed, I booted directly off the external HDD and (apart from having to keep a key pressed until loaded, again not confidence inspiring!) Ubuntu found all of my hardware nicely once I'd compiled the NVidia X driver. I've managed to install the essentials (LAMP, Amarok, etc.) and was pleasantly surprised it didn't take too much effort to get the Wireless going with madwifi! I took a (much overdue) backup of my data before allowing Linux to see my Windows partitions, but I'm happy to say that after a little tweaking Ubuntu didn't manage to damage anything!

The installation has been upgraded a few times, and since Intype won't work properly under Wine, and gEdit doesn't really give me what I want, now all I have to do is figure out what I'm going to use Ubuntu for.

Still cause for optimism!

Saturday November 1st, 2008 • Tagged: LiverpoolFC • Written by 0 comments

I'll have to admit it, we've had some great results over the last few months. Some deserved, others not. Optimistic about our chances after the beating of Chelsea, I think a little complacency set in against Spurs. That said, the defeat to Spurs wasn't altogether unexpected. They're bound to have been buoyed by the arrival of Redknapp, and I don't believe will finish the season at the wrong end of the table.

The players have the chance to put that right over the next few weeks as the number of matches pile up - and though we're still short of Manchester United's depth, at least Rafa has got a team together that seems to be heading in the right direction, and closer to that elusive 19th Premiership title!

NaNoWriMo 2008

Saturday November 1st, 2008 • Tagged: NaNoWriMo • Written by 0 comments

Another year, another month ahead of frantic noveling for thousands of people! And this is a very special year. Celebrating its 10th anniversary, and singularly responsible for the world's coffee and RedBull shortages, National Novel Writing Month is a great event.

After failing to complete NaNoWriMo 2006 and 2007, I'm not even going to attempt to do it this time. Having said that, the approach of NaNoWriMo this year has given me inspiration for the novel I'd like to write 'one day'. Whether that day will ever come, I don't know yet! So for this year I will simply offer support and encouragement from afar (and on the forums) until the fantastic efforts of those taking part this year come to a close.

For more information, check out the National Novel Writing Month website. You'd probably be more successful than me!

‹ First  < 4 5 6 7 >