curl -L https://github.com/monero-project/monero/pull/1507.patch | git apply -v -
i.e. some stuff and junk about Python, Perl, Matlab, Ruby, Mac X, Linux, Solaris, ...
Tuesday, December 27, 2016
Git: apply pull request as patch
Labels:
git
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
Labels:
Linux,
VirtualBox
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:
Add this to .bashrc:
printf "\e[?2004l"
Labels:
Linux
Friday, November 18, 2016
ssh: copy your id_rsa.pub to remote host for no password
Execute on your localhost:
ssh-copy-id -i ~/.ssh/id_rsa.pub username@remote-host
Ubuntu 16:10: No D-BUS daemon running for vnc session
Open xterm in the vnc, and execute the following:
sudo dbus-launch --sh-syntax
Labels:
Ubuntu
Friday, November 04, 2016
Thursday, October 06, 2016
Ubuntu 16.04: openvpn dns leak
Direct copy from here:
https://bugs.launchpad.net/ubuntu/+source/openvpn/+bug/1211110/comments/58
I had the problem with Ubuntu 16.04 out-of-the-box. After a full week of 12 hour days trying to resolve this issue, I was finally about to fix it. I made a longer post about it here:
http://askubuntu.com/questions/829204/dns-routing-fails-for-vpn-connections-on-ubuntu-16-04-out-of-the-box
Here's the abbreviated version.
Step 1: Goto GitHub and clone the following repo to your home folder:
https://github.com/masterkorp/openvpn-update-resolv-conf
Step 2: Move the .sh files from your cloned rep to the /etc/openvpn folder:
sudo chmod +x *.sh && sudo mv *.sh /etc/openvpn
Step 3: Run the following command to install new packages for DNS:
sudo apt-get install openresolv nscd unbound
Step 4: Append the following line to your OpenVPN Client Configuration files (*.ovpn or *.conf). I did this after the configuration directives but before my inline certs ( tag):
script-security 2
up "/etc/openvpn/update-resolv-conf.sh /etc/openvpn/update-systemd-network.sh"
down "/etc/openvpn/update-resolv-conf.sh /etc/openvpn/update-systemd-network.sh"
This should resolve the DNS resolution problem. Dmitry has the right steps, but I needed the 2nd script for my system to update. Works like my 14.04 system... before I upgraded to 16.04...
https://bugs.launchpad.net/ubuntu/+source/openvpn/+bug/1211110/comments/58
I had the problem with Ubuntu 16.04 out-of-the-box. After a full week of 12 hour days trying to resolve this issue, I was finally about to fix it. I made a longer post about it here:
http://askubuntu.com/questions/829204/dns-routing-fails-for-vpn-connections-on-ubuntu-16-04-out-of-the-box
Here's the abbreviated version.
Step 1: Goto GitHub and clone the following repo to your home folder:
https://github.com/masterkorp/openvpn-update-resolv-conf
Step 2: Move the .sh files from your cloned rep to the /etc/openvpn folder:
sudo chmod +x *.sh && sudo mv *.sh /etc/openvpn
Step 3: Run the following command to install new packages for DNS:
sudo apt-get install openresolv nscd unbound
Step 4: Append the following line to your OpenVPN Client Configuration files (*.ovpn or *.conf). I did this after the configuration directives but before my inline certs (
script-security 2
up "/etc/openvpn/update-resolv-conf.sh /etc/openvpn/update-systemd-network.sh"
down "/etc/openvpn/update-resolv-conf.sh /etc/openvpn/update-systemd-network.sh"
This should resolve the DNS resolution problem. Dmitry has the right steps, but I needed the 2nd script for my system to update. Works like my 14.04 system... before I upgraded to 16.04...
Sunday, August 07, 2016
Tuesday, May 31, 2016
Monday, May 09, 2016
Subscribe to:
Posts (Atom)