Muffinresearch Labs by Stuart Colville

Archive for the 'Code' Category

  1. Development Workflow - 28th July 2010
  2. Debugging Elusive Puppet Errors - 8th June 2010
  3. Ubuntu: java.net.SocketException in ec2-api-tools - 4th June 2010
  4. Ubuntu: Installing the Beebem BBC Micro Emulator - 27th May 2010
  5. Adding more disk space to a Linux Virtual Machine - 30th March 2010
  6. Linux: Fix for apt-get update – Waiting for Headers - 30th March 2010
  7. Solved: VirtualBox Ubuntu Karmic Server VM crashes - 8th February 2010
  8. Howto: SSH into VirtualBox 3 Linux Guests - 8th February 2010
  9. Ubuntu: Changing the default java binary - 5th December 2009
  10. Updating Speedtouch 585 DNS settings - 5th December 2009
  11. Python-YQL: client library for YQL - 24th November 2009
  12. Ubuntu: Lock Screen and Pause Spotify - 22nd October 2009
  13. Open Redirects and Phishing Vectors - 30th September 2009
  14. Cross Platform Keyring Library for Python - 26th August 2009
  15. PHP: Multiple DNS Queries Using fopen - 12th August 2009
  16. VirtualBox: Error: Cannot register the hard disk - 23rd July 2009
  17. BASH: Using brace expansion - 22nd June 2009
  18. vim: automatically highlight long lines - 22nd June 2009
  19. Fixing setuptools “TypeError: swig_sources()” error - 8th March 2009
  20. Unix Permissions Calculator - 2nd March 2009
  21. Using Bazaar with Rietveld for Code Reviews - 13th February 2009
  22. Favicon Generator Launched - 10th February 2009
  23. Bazaar: Moving files after the fact - 29th January 2009
  24. Puppet: Server Configuration Made Easy - 18th January 2009
  25. Large Temporary Files Left Behind by ImageMagick - 18th January 2009
  26. Checking tarball contents before extraction - 10th November 2008
  27. Bash: Resolving Symlinks to Shellscripts - 10th October 2008
  28. Ubuntu: change editor globally - 7th October 2008
  29. Linux: Changing UIDs and GIDs for a user - 24th September 2008
  30. Ubuntu: BUG: soft lockup – CPU#0 stuck for 11s! - 20th August 2008
  31. Including Inline Script Prior to Dependencies - 29th July 2008
  32. Working around uTidyLib’s unicode handling - 29th July 2008
  33. VMWare: Fixing Time Drift in AMD Dual-core Systems - 22nd July 2008
  34. FAIL of the week: uTidyLib unicode error - 17th July 2008
  35. Ubuntu Hardy: Setting up VMWare-tools from the CLI - 13th July 2008
  36. Vmware: “SIOCSIFADDR: No such device eth0″ after cloning - 13th July 2008
  37. Search Django Snippets with GreaseMonkey - 8th July 2008
  38. CSS Sprite Generator Version 2.0 - 24th June 2008
  39. MySQL Moves to Bazaar for Source Control - 22nd June 2008
  40. No Interfaces Available Using Wireshark on Mac OSX - 2nd June 2008
  41. Fixing the display of history in terminal.app - 1st June 2008
  42. Titlecase.py: Titlecase in python - 27th May 2008
  43. VMWare Importer for converting Parallels images - 4th May 2008
  44. Python: Debugging with PDB - 27th April 2008
  45. mac tip: Lock screen and pause iTunes - 24th April 2008
  46. Google App Engine - 8th April 2008
  47. Automatic asset versioning in Django - 8th April 2008
  48. Avoiding the use of .htaccess for performance - 7th April 2008
  49. pwdn: show last n dirs of current directory - 2nd April 2008
  50. Mac OSX tip: ls command color output - 1st April 2008
  51. Django: Switching between development branches - 9th March 2008
  52. From the command line to your clipboard and vice versa - 4th March 2008
  53. Does setTimeout solve the DOMContentLoaded problem? - 15th February 2008
  54. EU Hackday 5: Django and Python FTW - 10th February 2008
  55. Python: Keychain.py access to the Mac OSX keychain - 5th February 2008
  56. Sqlite: ALTER TABLE ADD COLUMN fail on OSX 10.4 - 5th February 2008
  57. CSS Sprite Generator code available at launchpad.net - 1st February 2008
  58. Beautify JavaScript from TextMate or CLI - 14th January 2008
  59. Bazaar 1.0 released - 17th December 2007
  60. Presentation: De-centralised Version Control with Bazaar - 8th December 2007
  61. Running a Safari 2 Standalone Alongside Safari 3 - 20th November 2007
  62. Extracting a single file from a tar backup - 12th November 2007
  63. Using ‘select’ for multiple choices in shell scripts - 8th November 2007
  64. Python: Transposing Lists With map and zip - 16th October 2007
  65. Case Insensitive File-systems and Bazaar - 28th September 2007
  66. CSS Sprite Generator Tool - 27th September 2007
  67. Showing last two directories of pwd in BASH prompt - 25th September 2007
  68. Contributing to projects on Launchpad.net with Bazaar - 14th August 2007
  69. Dealing with Text Conflicts in Bazaar Version Control - 5th June 2007
  70. Multimap opens up it’s API to developers - 29th May 2007
  71. Mark all mail as read in mail.app - 25th May 2007
  72. Online and offline development with the YUI and Charles - 26th April 2007
  73. Bazaar Version Control - 22nd April 2007
  74. TweetyPy: Python-based CLI client for Twitter - 24th March 2007
  75. Twitter from TextMate - 20th March 2007
  76. Using PHP CLI for TextMate commands - 19th March 2007
  77. BASH: Single-quotes inside of single-quoted strings - 30th January 2007
  78. Compiling mod_python for MAMP - 20th December 2006
  79. Basic DOMTool Tutorial - 13th December 2006
  80. DOMTool - 28th November 2006
  81. No more iframes? - 27th November 2006
  82. Getting relative form actions with javascript - 24th October 2006
  83. Concatenating & minimising JavaScript Files in TextMate - 9th October 2006
  84. JSON Selects - 19th July 2006
  85. Bug when creating select options using innerHTML in IE - 19th July 2006
  86. getElementsByClassName Deluxe Edition - 29th April 2006
  87. Element Ready - 12th April 2006
  88. Don’t use Javascript to hide bad markup - 30th March 2006
  89. Yahoo! launches UI library and Design Patterns - 15th February 2006
  90. Dreamweaver lock files exposed - 22nd November 2005
  91. Pickr: colour palettes from photography - 7th November 2005
  92. Dvorak’s comment spam fix - 26th September 2005
  93. ClickSMS API class in PHP - 29th March 2005
  94. MySQL Tools from MySQL AB - 27th January 2005
  95. OOP PHP What are the benefits? - 25th January 2005
  96. Using PHP to generate select boxes - 12th December 2004
  97. PHP tip of the week: Getting IP addresses - 2nd December 2004
  98. Prevent ampersands breaking validation - 1st June 2004

Using Loggerhead with mod_wsgi|(0)

Here’s a post I wrote over on the Project Fondue Blog about our use of Loggerhead with mod_wsgi under Apache. Loggerhead is the rather nice branch viewer for bazaar branches as used on Launchpad.net.

If you’re not already subscribed to the Project Fondue blog feed then I can recommend it, as there should be some interesting posts coming out of there in the coming months (yes I’m unashamedly biased!).

Ubuntu: Turn off changing workspace with mouse wheel|(1)

I found the changing with the workspace with the mouse wheel really annoying. To disable it go to System => Preferences => CompizConfig (available if the compizconfig-settings-manager package is installed) and uncheck “Viewport Switcher” which is under the “Desktop” heading.

Photos on Flickr

© Copyright 2004-10 Stuart Colville, all rights reserved. May contain traces of Muffin. Powered by WordPress. Hosting by Slicehost.com This page was baked in 0.780s.