Tuesday, December 27, 2016

Git: apply pull request as patch

curl -L https://github.com/monero-project/monero/pull/1507.patch | git apply -v -

Saturday, December 10, 2016

VirtualBox – Cannot Register the Hard Drive Because a Hard Drive with UUID Already Exists

After moving virtualbox folder to new location, cant boot any vm. To fix this, one can use this for example vboxmanage internalcommands sethduuid /mnt/stuff/linux_backup/VirtualBox\ VMs/w7/w7.vdi

Wednesday, December 07, 2016

Copy and paste adds adds 0~ and 1~

From here: http://unix.stackexchange.com/questions/196098/copy-paste-in-xfce4-terminal-adds-0-and-1
Add this to .bashrc: printf "\e[?2004l"