2/15/2014

How to: Shared Folder Permissions Denied - Virtualbox

Make sure that the user is a member of the group vboxsf. sudo adduser xxxxxxx vboxsf

How-to: Guest Additions for VirtualBox 4.3 - Debian 7 (or any of it's derivatives)

Guest Additions is picky about dkms and wanting to build kernel modules. Open the Root Terminal: apt-get install build-essential module-assistant Once installed, the module-assistant can fetch the Linux headers: m-a prepare Have the Guest Additions CD image loaded in your virtual CD drive (VirtualBox "Devices" menu), but don't expect Autorun to work, it only returns "Error autorunning software. Cannot find the autorun program." Don't ask. Instead, still in the Root Terminal, run: sh /media/cdrom/VBoxLinuxAdditions.run and follow the installation prompts. You can then reboot with the 3D Acceleration, display resize and auto-resolution working again.

2/14/2014

git with unverified ssl certificate

If you ever had to work with a remote repo which uses ssl (and it better!), but lacked a valid ssl certificate, you quickly realised that you can't actually work with it ;-) Solution: git config --global http.sslVerify false

2/13/2014

If you're using putty/kitty and want a color scheme that is actually useful, try the following colors:

9/07/2012

Select all in vim

Note: This will only work within vim, copying to the clipboard or when using putty is a different story...

8/21/2012

Exclude Directories with find to chown a git project

After running a git pull file permissions tend to get messed up. To fix this I added a hook after merging. I wanted to chown all directories, but exclude a couple. Here's how: