Muffinresearch Labs by Stuart Colville

Archives

2012
October
01 : Can’t install user.js in Google Chrome
September
18 : Insert a tab character in vim when expand tabs is on
15 : Fixing pbuilder dependency 404 errors
2011
November
08 : GNU screen: open tab in current working directory
October
27 : Recover Files from Nandroid Backup
27 : Linux: Spotify Screensaver D-Bus Script update
13 : Fronteers Conference 2011 – Day 2
13 : Fronteers Conference 2011 – Day One
August
31 : Ubuntu: add-apt-repository: command not found
March
23 : Linux: Spotify Track Notifier with added D-Bus love
February
11 : Updating Vim to Use Plugins From Branches
10 : FOSDEM 2011
02 : Android: Force Moving Apps to an SD Card
2010
December
08 : A Geek’s Christmas Present Wishlist
November
03 : Spotify ScreenSaver Toggle with D-bus
October
15 : Fake SMTP server with Python
September
30 : Inverting Screen Colours for Late-Night Hacking
13 : Ubuntu: Spotify Screensaver Toggle
07 : Taking Screenshots of your Android Phone
06 : Brewing with a French Press
August
19 : Android: Google Navigation App Review
19 : Recovering Deleted Photos from an SD card with PhotoRec
July
28 : Development Workflow
June
08 : Debugging Elusive Puppet Errors
04 : Ubuntu: java.net.SocketException in ec2-api-tools
May
27 : Ubuntu: Installing the Beebem BBC Micro Emulator
March
30 : Adding more disk space to a Linux Virtual Machine
30 : Linux: Fix for apt-get update – Waiting for Headers
February
08 : Solved: VirtualBox Ubuntu Karmic Server VM crashes
08 : Howto: SSH into VirtualBox 3 Linux Guests
2009
December
24 : Unicomp Customizer Keyboard Review
05 : Ubuntu: Changing the default java binary
05 : Updating Speedtouch 585 DNS settings
05 : Using Loggerhead with mod_wsgi
November
11 : Spotify: Linking to a specific time in a track
01 : Web Application Security – LugRadio Live 2009
October
22 : Ubuntu: Lock Screen and Pause Spotify
September
30 : Open Redirects and Phishing Vectors
16 : Distraxion
August
26 : Cross Platform Keyring Library for Python
12 : PHP: Multiple DNS Queries Using fopen
July
23 : VirtualBox: Error: Cannot register the hard disk
14 : Project Fondue Blog
June
22 : BASH: Using brace expansion
22 : vim: automatically highlight long lines
06 : Bash: turn on case-insensitive tab completion
04 : Running VMware images under VirtualBox
02 : Ubuntu: Turn off changing workspace with mouse wheel
May
12 : Simple Switching of VirtualEnv Environments
April
28 : Vim: Setting the colorscheme Doesn’t Work
08 : VirtualBox: Access Guests via a Virtual Interface
05 : From OSX to Ubuntu
05 : Ubuntu: Mounting a TrueCrypt volume at startup or from the CLI
March
11 : Mac OSX: Visor Development on Github
10 : Fail of the week: Dominos Piri Piri Advert
09 : CSS2 text-decoration and child elements
08 : Fixing setuptools “TypeError: swig_sources()” error
05 : Install lxml on OSX
03 : EuroDjangoCon Prague
02 : Unix Permissions Calculator
February
10 : Favicon Generator Launched
January
29 : Bazaar: Moving files after the fact
18 : Puppet: Server Configuration Made Easy
18 : Large Temporary Files Left Behind by ImageMagick
16 : Molly Emilia Monteiro Colville
2008
December
22 : OSX Mysql app: Sequel Pro
21 : Lineform: Vector Graphics App for Mac
19 : Inline Code Finder
04 : Python 3.0 Released
04 : BitTorrent and the Long Tail
03 : Amazon now offers DRM free mp3s in the UK
November
23 : Dear lazyweb: In-ear headphone recommendations
10 : Inspiring a Sense of Ownership
10 : Checking tarball contents before extraction
October
10 : Bash: Resolving Symlinks to Shellscripts
07 : Ubuntu: change editor globally
September
24 : Linux: Changing UIDs and GIDs for a user
19 : FAIL of the Week: Apple’s Invisible Transparency
18 : DjangoCon 2008
18 : VMware Server: Convert Fixed Disk-images to Growable
15 : SVN Tip: Get List of Files Changed Between Revisions
02 : Leopard Bug – Screensaver causes coreservicesd to crash
August
20 : Ubuntu: BUG: soft lockup – CPU#0 stuck for 11s!
02 : FAIL of the Week: Caffè Nero
July
29 : Working around uTidyLib’s unicode handling
22 : VMWare: Fixing Time Drift in AMD Dual-core Systems
13 : Ubuntu Hardy: Setting up VMWare-tools from the CLI
13 : Vmware: “SIOCSIFADDR: No such device eth0″ after cloning
13 : DjangoCon 2008 Announced
08 : Search Django Snippets with GreaseMonkey
03 : The Troggs Tapes
01 : FAIL of the week: Apple Mighty Mouse
June
24 : CSS Sprite Generator Version 2.0
23 : iSync “No Device Found” Error on OSX 10.5 Leopard
22 : MySQL Moves to Bazaar for Source Control
04 : Use Growl for Entourage Notifications
02 : No Interfaces Available Using Wireshark on Mac OSX
02 : De-activating my Facebook profile
01 : Fixing the display of history in terminal.app
May
27 : Titlecase.py: Titlecase in python
17 : Standalone mac battery charger
13 : Django Admin Ominigraffle Stencil
06 : DJUGL: Django User Group London
05 : Sweet Keyboard
04 : Scrolling issue in Leopard cured with PRAM reset
04 : VMWare Importer for converting Parallels images
April
27 : Python: Debugging with PDB
24 : Best use of Arduino ever
24 : mac tip: Lock screen and pause iTunes
21 : Starting a new job
08 : Google App Engine
08 : Automatic asset versioning in Django
07 : Avoiding the use of .htaccess for performance
02 : pwdn: show last n dirs of current directory
01 : Mac OSX tip: ls command color output
March
27 : hListing unleashed
24 : Drive By South By
09 : Django: Switching between development branches
04 : From the command line to your clipboard and vice versa
04 : IE8 will now render as IE8 by default
February
15 : Does setTimeout solve the DOMContentLoaded problem?
10 : EU Hackday 5: Django and Python FTW
05 : Sqlite: ALTER TABLE ADD COLUMN fail on OSX 10.4
01 : CSS Sprite Generator code available at launchpad.net
January
24 : Using git with Django’s SVN repository
15 : Macbook Air launched, but will it fly?
2007
December
17 : Bazaar 1.0 released
13 : Nokia Multimedia Transfer for Mac
12 : Microsoft buys Multimap
11 : Howto: Debrand and Flash a Nokia E61
08 : Presentation: De-centralised Version Control with Bazaar
05 : xkcd on python
November
29 : Windows Vista: Require users to press Ctrl+alt+del to login
27 : Python or PHP?
20 : Running a Safari 2 Standalone Alongside Safari 3
18 : Control your Wii à la Minority Report
12 : Extracting a single file from a tar backup
08 : Using ‘select’ for multiple choices in shell scripts
October
16 : Python: Transposing Lists With map and zip
September
28 : Case Insensitive File-systems and Bazaar
27 : CSS Sprite Generator Tool
25 : Showing last two directories of pwd in BASH prompt
25 : Amazon launches DRM free MP3 service in the US
03 : Soho Coffee
August
30 : BASH Tip: Alternative to expr for arithmetic
16 : BASH: Open FileMerge from CLI
14 : Contributing to projects on Launchpad.net with Bazaar
July
24 : Orange has FAIL
13 : Is NetNewsWire trying to tell me something?
12 : Bazaar Lightning Talk
10 : Sneaky hfs_fsck post reboot
June
12 : Before you go and install Safari 3.0 on your mac
05 : Dealing with Text Conflicts in Bazaar Version Control
May
29 : Multimap opens up it’s API to developers
28 : Shawn Lawton Henry on WCAG 2.0 in London, 5th June
25 : Mark all mail as read in mail.app
23 : Parallels tip: Pause VMs to conserve resources
15 : Parallels tip: Upgrading to Ubuntu Feisty from Edgy
April
26 : Online and offline development with the YUI and Charles
22 : Bazaar Version Control
17 : Quicktip for mac: turning capslock into control
12 : My Cousin’s photo stream on Flickr
05 : Encrypt your homedir on your mac without FileVault
March
18 : That was SXSWi 2007
12 : SXSWi 07 Notes: WaSP Annual Meeting Takin’ it to the street
12 : SXSWi 07 Notes: The Growth and Evolution of Microformats
12 : SXSWi 07 Notes:Ajax Kung Fu Meets Accessibility Feng Shui
12 : SXSWi 07 Notes: Uniting the Holy Trinity of Web Design
12 : SXSWi 07 Notes: Antisocial Networking, Dealing With Online Abuse
12 : SXSWi 07 Notes: Blogging Where Speech Isn’t Free
12 : SXSWi 07 Notes: Mapping: Where the F#*% Are We Now?
12 : SXSWi 07 Notes: Web Hacks: Good or Evil
12 : SXSWi 07 notes: Grids Are Good and How to Design with Them
12 : SXSWi 07 Notes: The influence of Art in Design
12 : SXSWi 07 Notes: Writing Better
12 : SXSW07 and the Texas State Capitol
02 : WebDev Toolbar Beta 3 for IE
February
21 : FOWA Notes: How we Turn Virtual Stuff on the Web into Beautiful Things in the Real World – Moo
21 : FOWA Notes: Netvibes Announcement – Tariq Krim
21 : FOWA Notes: PHP on Hormones (Application Development Using PHP) – Rasmus Lerdorf
21 : FOWA Notes: The Future of Mobile Web Apps – Daniel Appelquist
21 : FOWA Notes: How and Why We Built Google Docs and Spreadsheets – Jonathan Rochelle
21 : FOWA Notes: The Future of OpenID – Simon Willison
21 : FOWA Notes: Managing User Interface Design – Khoi Vinh
21 : FOWA Notes: The Future of the the Browser – Chris Wilson
21 : FOWA Notes: Enabling Next Generation Web Apps In and Beyond the Browser – Mark Anders
20 : FOWA Notes: Crowd generated media – Kevin Rose
20 : FOWA Notes: Spotlight Sessions
20 : FOWA Notes: “User” Rehab: A story of redemption – Bradley Horovitz
20 : FOWA Notes: Lessons form Building The world’s largest social Music platform – Last.fm
20 : FOWA Notes: Everything you need to know about Venture Capital – Ben Holmes
20 : FOWA Notes: Commoditisation of IT and What the Future Holds – Simon Wardley
20 : FOWA Notes: Fostering online communities – Tara hunt
20 : FOWA Notes: The changing face of online communities and communication – Edwin Aoki
20 : FOWA Notes: The Magic formula – Mike Arrington
20 : Future of Web Apps London 2007
06 : Moved server and fixed WordPress 2.1 Blogrolls
January
30 : BASH: Single-quotes inside of single-quoted strings
30 : Media Temple Grid Server
19 : SSH SOCKS Proxy
19 : MacFUSE: sshfs for your mac
10 : Apple iPhone
01 : Dedicated server recovery mode
01 : Happy New Year
2006
December
28 : Bug: IE7 absolutely positioned italics
14 : Automatic merging and versioning of CSS/JS files with PHP
13 : Basic DOMTool Tutorial
November
28 : DOMTool
27 : No more iframes?
24 : Crestock Photoshop Competition
22 : A medicinal revolution.
15 : Sean Antonio Monteiro Colville
10 : BBC Backstage London Christmas Bash
08 : Updating extensions for Firefox 2.0
03 : Ubuntu Edgy under Parallels Desktop for mac
02 : YUI Bundle for Textmate
October
27 : O2 thinks Camino is out of Date
26 : Export Microformats to your phone from your mac
25 : Disco Beta Review
24 : Getting relative form actions with javascript
16 : Six useful shell commands for web developers
15 : vim tip: Fix the cursor keys echoing characters in insert mode
08 : Emulating right-click in windows under Parallels Desktop
04 : iTunes pegged my CPU at over 130%?
September
25 : Back from Provence
24 : Opera Backstage Event, London
August
30 : En vacances
29 : Emma’s 3rd Birthday
20 : Redirecting subdomains to directories in apache.
20 : Air Jaldi Summit in Dharamsala
13 : Running Ubuntu under Parallels Desktop for Mac
08 : Watch the Apple Keynote address
July
31 : Re-map the apple key for Windows under Parallels
31 : Geek in the Park
27 : It’s going to be a boy!
19 : Bug when creating select options using innerHTML in IE
12 : Joining Yahoo!
05 : Gmail adds select all conversations feature
June
26 : Beginning JavaScript
23 : Whassup with Google Analytics?
22 : Camino 1.02 Released
22 : Opera 9 released
21 : 29 Today
17 : That was @media 2006
16 : @media2006 Notes: Hot Topics Panel
16 : @media2006 Notes: Andy Clarke, Transcending CSS: The Fine Art of Web Design
16 : @media2006 Notes: Nate Koechley Y! v. Y!
16 : @media2006 Notes: Molly Holzschlag, Internationalisation: Awakening The Sleeping Giant
16 : @media2006 Notes: Robin Christopherson: Beyond a code audit
16 : @media2006 Notes: Dan Cederholm: Bullet Proof Web Design
16 : @media2006 Notes: Jeffrey Veen: Designing the Next Generation of Web Apps
15 : @media2006 Notes: The New Accessibility Guidelines: WCAG 2.0
15 : @media 2006 Notes: Chris Wilson: IE7 and beyond
15 : @media 2006 Notes: Jeremy Keith: Using DOM scripting to Plug the holes in CSS
15 : @media 2006 Notes: Eric Meyer Keynote
14 : @media2006 Starts Here
13 : Use Tabs in Textmate for Files Opened Via Transmit
01 : What external hard drive do you use?
01 : Keeping ssh connections alive
May
31 : Being a Dad
23 : Alternatives to terminal.app on mac OSX
16 : Apple MacBook is let loose
09 : Closest equivalent to NetNewsWire on Windows
04 : Loopy Control Structures
April
29 : getElementsByClassName Deluxe Edition
29 : From Rentokil to Multimap.com
24 : One, Ten, Five?
21 : Friday Afternoon Videos
20 : What does your bookshelf say about you?
12 : Element Ready
06 : Apple Boot Camp software for XP installation
04 : Off to work for Multimap
March
30 : Don’t use Javascript to hide bad markup
30 : From DHTML to DOM scripting
24 : Del.icio.us adds experimental private saving
19 : SXSWi 2006 Summary
17 : 9rules launches 9charities
15 : Notes: Designing the Next Generation of Web Apps
15 : Notes: How to Convince Your Company to Embrace Standards
15 : Notes: WaSP Annual General Meeting
14 : Notes: Microformats: Evolving The Web
14 : Notes: Web Standards and Search Engines: Searching for Common Ground
13 : Notes: Holistic Web Design
13 : Notes: Web 2.1: Making Web 2.0 Accessible
13 : Notes: Demystifying the Mobile Web
13 : Notes: How to Make the Most of Maps
13 : Notes: Sink or Swim. The Five Most Important Start-up Decisions
13 : Notes: Tantek Çelik Presentation: Creating Building Blocks for Independents
12 : Notes: How to Bluff Your Way in DOM Scripting
11 : Notes: How to Be A Web Design Superhero
11 : Notes: Traditional Design and New Technology
11 : The first couple of days in Austin
08 : My plans for SXSWi
February
21 : Moving to WordPress
15 : Google Acquires Measuremap
15 : Yahoo! launches UI library and Design Patterns
09 : The Future of Web Apps Summit Roundup
07 : CSS Drop Column Layout
January
29 : Partial Image Replacement
25 : London Geek Dinner with Dave Shea
24 : Opera Mini Launched
17 : Google Earth For Mac
12 : Web Standards Survival Handbook Part One
11 : Intel Macs Unleashed
07 : Web 2.0 data recovery
05 : @media2006
2005
December
31 : Christmas in Portugal and Happy New Year
16 : Review of 2005
09 : Expectations for Thunderbird 1.5
01 : Muffin Research Labs Joins 9Rules
November
29 : Beyond the graphical
25 : London Geek Dinner
22 : Dreamweaver lock files exposed
22 : Regex Buddy
14 : Deconstructing d.Construct
11 : d.Construct tomorrow
03 : Settling in with my Powerbook
01 : Minor CSS Reboot
October
31 : Become a better Standardista
20 : The Lab goes the way of the Apple
18 : Ubuntu Breezy Badger install horrors
11 : Muffin Research out of control
11 : d.Construct 2005
September
26 : Dvorak’s comment spam fix
09 : New Rentokil Initial site launched and featured on Stylegala
01 : Table showcase site
August
23 : fscked up beyond all recognition
18 : Apple Bobbing
02 : Ubuntu Ubuntu they drink it in the congo
July
07 : London Blasts
June
29 : Google Earth Launches
16 : Classes on the body tag
13 : @Media Day Two and where we go from here
09 : @Media Day One
07 : @Media coming up
02 : Azulejos Backgrounds
May
31 : Back to a leafy, green and damp England
20 : Off to Portugal
18 : Revenge of the Sith
10 : A beginner’s guide to CSS hack avoidance
06 : Leaving standards at the door?
04 : Veerle’s highpass filter action for Photoshop
01 : CSS Rebooted
April
20 : Google Maps for the UK launched
February
28 : Free from any artifical advertising.
2004
July
16 : Mr. Mugo and the snake…
June
12 : Hand-coding suits me sir!
May
19 : I’ve got my girls back!
18 : Captive in Portugal!?
15 : Check out the new version of Zeldman.com
15 : Linux command locate – useful for err… locating files?
14 : Radio Paradise

Insert a tab character in vim when expand tabs is on|(0)

I have vim set-up to use spaces in place of tabs. Sometimes you need to use an actual tab e.g. editing a Makefile. Now whilst it’s possible to change settings so that tabs are used for specific files, a quick tip to remember is to simply type in insert mode:

Ctrl+v tab

That is Ctrl and “V” and hit the tab key, et voila you’ve entered an actual tab.

GNU screen: open tab in current working directory|(1)

A nice trick for having screen open a new tab in the same directory as the one you’re currently in. To use it add it to your .screenrc

# Open new window in current dir.
bind c stuff "screen -X chdir \$PWD;screen^M"
bind ^c stuff "screen -X chdir \$PWD;screen^M"

Hat tip: mteckert on SuperUser.com

Photos on Flickr

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