Dev-Sys (48 posts)

View other categories: all categories

Halt all Vagrant/VirtualBox VMs one-liner

If you're using Vagrant to control your dev VMs on a headless server it's easy to lose track of the number of running machines. Here's a one-liner to gracefully shut-down all of them to free up some …

Phonegap Android development environment for Windows

Assuming you want to develop HTML5 apps to run on mobile devices using Phonegap/Cordova then the easiest place to start is Android if you're a Windows user as you don't need a separate Mac, you don't …

Default changes to Vim

Quick post for future reference. Just installed Debian or Ubuntu, need Vim back to what you're used to? edit /etc/vim/vimrc uncomment set background=dark add set autoindent set expandtab set …

MySQL one-liner to obfuscate live user details

Problem: you need to get someone else to set up your web application on another server. Even with a signed NDA it's not really a good idea to be sending over MySQL dumps containing real people's …

Quick access to Windows start-up folder

[caption id="attachment_1152" align="alignright" width="210"] Powershell, much less sucky[/caption] Want to find your Windows start-up folder to add a new shortcut? Win+E …

Keeping your Dropbox secured

I was building a shared work laptop the other day, something that I would primarily use on building sites for system commissioning. As part of the install I had automatically installed Dropbox along …

Windows 8, where did Programs go?

Just installed Windows 8? Looking for Notepad? Powershell? Windows+R still works, so you could just run the command. Ditto Windows+E to navigate the file system and find it, but in either case that's …

'svn add' one-liner

Simple one-liner that I use when I've lots of files to add to a subversion repository: for FILETOADD in `svn stat | awk '{ print $2 }'`; do svn add $FILETOADD; done

Installing bitcoin on Debian 'squeeze'

Instead of being outdoors I geeked out indoors this weekend and amongst other things installed a Bitcoin daemon on a public facing server so I could have a play with the API/RPC features. Below I …