Instantly share code, notes, and snippets.

Géza Búza elvetemedve

View GitHub Profile
View 85-yubikey.rules
# Yubikey Udev Rule: running a bash script in case your Yubikey is inserted/removed
ACTION=="add", ENV{PRODUCT}=="1050/407/511", ENV{DEVTYPE}=="usb_device", RUN+="/usr/local/bin/ unlock"
ACTION=="remove", ENV{PRODUCT}=="1050/407/511", ENV{DEVTYPE}=="usb_device", RUN+="/usr/local/bin/ lock"

Keybase proof

I hereby claim:

  • I am elvetemedve on github.
  • I am elvetemedve ( on keybase.
  • I have a public key ASDl1SIONjbjf2lkpUdLwCgXSHuYMtrDkbaQm11Uh9NDSQo

To claim this, I am signing this object:

View Vagrantfile
# ~/.vagrant.d/Vagrantfile
Vagrant.configure('2') do |config|
config.vm.provider :virtualbox do |vbox, override|
vbox.memory = 2048
vbox.cpus= 2
# Automatically remove unused virtual network interfaces (vboxnet*) when destroying a VM.
vbox.destroy_unused_network_interfaces = true
View Arch Linux, Fedora
sudo tee /etc/sudoers.d/vagrant > /dev/null << EOL
# Arch Linux, Fedora sudoers entries
# Allow passwordless startup of Vagrant with vagrant-hostsupdater.
Cmnd_Alias VAGRANT_HOSTS_ADD = /bin/sh -c echo "*" >> /etc/hosts
Cmnd_Alias VAGRANT_HOSTS_REMOVE = /usr/bin/sed -i -e /*/ d /etc/hosts