sudo su
apt-get update && apt-get install -y libvirt-dev ruby-all-dev apparmor-utils
curl -O -L https://dl.bintray.com/mitchellh/vagrant/vagrant_1.6.5_x86_64.deb
dpkg -i vagrant_1.6.5_x86_64.deb
aa-complain /usr/lib/libvirt/virt-aa-helper # workaround
exit
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
set -eux | |
# Parameters. | |
id=pop-os_20.10_amd64_intel_2 | |
disk_img="${id}.img.qcow2" | |
disk_img_snapshot="${id}.snapshot.qcow2" | |
iso="${id}.iso" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# take screenshot to clipboard | |
maim -s -u | xclip -selection clipboard -t image/png -i |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 & | |
nm-applet 2>&1 > /dev/null & | |
fullscreengrab 2>&1 > /dev/null & | |
autocutsel -fork & | |
autocutsel -selection PRIMARY -fork & | |
keepassxc & | |
blueman-applet 2>&1 > /dev/null & | |
udiskie --tray --use-udisks2 & | |
xss-lock /home/tom/.local/bin/blanklock & | |
exec /usr/bin/awesome |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(setq free-keys-modifiers (list "C" "M" "C-M")) | |
(setq free-keys-keys "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ.,/§1234567890-=[];'\\`±!@#$%^&*()_+}{:\"|?><~") | |
(defun free-keys () | |
(interactive) | |
(let ((buf (get-buffer-create "*Free keys*"))) | |
(display-buffer buf) | |
(with-current-buffer buf | |
(erase-buffer) | |
(mapc (lambda (modifier) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# qemu-img create -f qcow2 mac_hdd.img 64G | |
# echo 1 > /sys/module/kvm/parameters/ignore_msrs | |
# | |
# Type the following after boot, | |
# -v "KernelBooter_kexts"="Yes" "CsrActiveConfig"="103" | |
# | |
# printf 'DE:AD:BE:EF:%02X:%02X\n' $((RANDOM%256)) $((RANDOM%256)) | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
case "$(tty)" in | |
"/dev/tty1") | |
~/stumpwm.ros;; | |
"/dev/tty2") | |
exec i3;; | |
"/dev/tty3") | |
exec dbus-launch --exit-with-session emacs;; | |
esac |
OlderNewer