Keane shows his stuff

Posted in LiverpoolFC on Monday November 10th, 2008 by Dan

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.

CodeIgniter snippets for gEdit

Posted in CodeIgniter on Thursday November 6th, 2008 by Dan

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 snippets xml file
  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!

NaNoWriMo 2008

Posted in NaNoWrMo on Saturday November 1st, 2008 by Dan

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!

Still cause for optimism

Posted in LiverpoolFC on Saturday November 1st, 2008 by Dan

I'll 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 Premiership title.

CodeIgniter 1.7.0 released

Posted in CodeIgniter on Thursday October 23rd, 2008 by Dan

The latest version of CodeIgniter, has been announced by EllisLab.


This version includes the new Form Validation library as well as a load of other changes / fixes as detailed in the Change Log


The Style Guide has some good suggestions, some of which may go against your own writing style, but I'm all for an attempt at standards within CI! As a relative newcomer to CodeIgniter I'm still learning the ropes, but some element of 'best practice' to follow is very helpful!


I've had to go ahead and change the source code from my own applications but it has been quite a rewarding experience.

Time to give Ubuntu another chance

Posted in Ubuntu on Thursday October 16th, 2008 by Dan

With the release of Intrepid Ibex (Ubuntu 8.10), I've decided that now is the time to 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!

Intype Bundle for CodeIgniter 1.6.3 snippets

Posted in CodeIgniter on Friday October 10th, 2008 by Dan

This is a direct conversion for use with Intype 0.3.1.734 of the CodeIgniter 1.6.3 bundle for Textmate.


I claim no responsibility for this great bundle other than converting it to work with Intype


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


How to install

  1. Download the bundle
  2. Extract the contents of the bundle to the following path, ensuring that 'keep folder names' (or similar) is checked: C:\Program Files\Intype\bundles (amend path to Intype if necessary)
  3. Load Intype, and you should see a new entry under Bundles (CodeIgniter 1.6.3)
  4. To test: Open a php source file or switch language to PHP. Type: ciarw and press Tab. You should be presented with the menu as shown in the image above.

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!