Skip to content

Instantly share code, notes, and snippets.

@belano
belano / chromedriver-install.sh
Last active March 20, 2017 14:11
selenium chromedriver install
LATEST=$(wget -q -O - http://chromedriver.storage.googleapis.com/LATEST_RELEASE)
wget http://chromedriver.storage.googleapis.com/$LATEST/chromedriver_linux64.zip
unzip chromedriver_linux64.zip -d /usr/local/bin && rm chromedriver_linux64.zip
@belano
belano / client.ovpn
Created March 21, 2017 13:41
openvpn ubuntu dns nameserver
script-security 2
up /etc/openvpn/update-resolv-conf
down /etc/openvpn/update-resolv-conf
@belano
belano / docker-commands.md
Created March 29, 2017 13:46
Docker remove commands

Removing images

Remove one or more specific images

List:

docker images -a

Remove:

docker rmi Image Image
@belano
belano / 40_custom
Last active July 25, 2018 15:19
Grub2 iso menu entries
#!/bin/sh
exec tail -n +3 $0
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
menuentry "Windows 8 UEFI" {
search --file --no-floppy --set=root /efi/Microsoft/Boot/bootmgfw.efi
chainloader (${root})/efi/Microsoft/Boot/bkpbootmgfw.efi
}