Lee Kelleher

Archive for posts dated '23 April 2008'

  1. April 2008

    1. Posting source code on WordPress.com

      Posted on . Estimated read time: under a minute (82 words)

      I feel like a complete n00b … I’ve only just found out how to mark-up source-code snippets on WordPress.com It’s in their FAQs: How do I post source code? Essentially you use the short-code: [sourcecode language='css']...[/sourcecode] Here’s an example: // A "Hello World!" program in C# class Hello { static void Main() { System.Console.WriteLine("Hello World!"); } } I knew about WP.org plugins that did this, but I’ve been scratching my head on how do this…

      Tags: , , , ,

    2. Upgrade WordPress Shell Script

      Posted on . Estimated read time: under a minute (131 words)

      Now that I’ve found my new best friend (the sourcecode short-code), I want to put it to good use now. Here’s a quick Unix shell script that I use to upgrade my WordPress installations: #!/bin/sh # WordPress Update Script # Written by: Lee Kelleher # Released: 2008-04-23 # Email: lee # at # vertino # dot # net # Released under GPL echo "Downloading current version of WordPress..." wget http://wordpress.org/latest.tar.gz echo "Uncompressing WordPress archive..." tar…

      Tags: , , , , , ,

Year archive

  1. 2018
    1. January
    2. August
    3. November
  2. 2016
    1. March
    2. May
    3. June
    4. July
    5. August
    6. September
    7. October
  3. 2014
    1. March
    2. May
    3. November
  4. 2013
    1. September
    2. October
    3. November
    4. December
  5. 2012
    1. February
  6. 2011
    1. January
    2. June
    3. July
    4. September
    5. October
  7. 2010
    1. January
    2. April
    3. May
    4. August
  8. 2009
    1. January
    2. February
    3. April
    4. June
    5. July
    6. September
    7. October
    8. November
  9. 2008
    1. January
    2. February
    3. March
    4. April
    5. May
    6. June
    7. July
    8. August
    9. November
    10. December
  10. 2007
    1. January
    2. February
    3. March
    4. April
    5. May
    6. June
    7. July
    8. November
    9. December
  11. 2006
    1. March
    2. April
    3. June
    4. August
    5. September
    6. October
    7. November
    8. December

Tag archive

View all tags.