Muffinresearch Labs by Stuart Colville

Archive for the 'Code' Category

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

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

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.

Ubuntu: Mounting a TrueCrypt volume at startup or from the CLI|(0)

All you need is a mount point e.g: mkdir /media/ and then use the following: truecrypt /path/to/truecrypt/diskimage /media/. This is handy when you want to mount a truecrypt image at start-up or just do it quickly from a shell. It’s far more direct than using the GUI.

Photos on Flickr

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