View install.sh
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/bash | |
set -e | |
disk="/dev/sda" | |
loadkeys us | |
ls /sys/firmware/efi/efivars | |
timedatectl set-ntp true | |
View install_firefox.sh
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
mkdir -p ~/.local/bin | |
wget "https://download.mozilla.org/?product=firefox-devedition-latest-ssl&os=linux64&lang=en-US" -O firefoxDev.tar.bz2 | |
mkdir -p ~/.local/bin/firefoxDev | |
tar -xvf firefoxDev.tar.bz2 -C ~/.local/bin/firefoxDev | |
sudo ln -s ~/.local/bin/firefoxDev/firefox/firefox /usr/bin/firefox-dev |
View test.py
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
import os | |
import yaml | |
from os.path import join | |
def clean_list(ignore_list, base_list): | |
for ignored_element in ignore_list: | |
if ignored_element in base_list: | |
base_list.remove(ignored_element) | |
return base_list |
View more watchers
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
echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p |
View pen_wifi
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
http://elinux.org/RPi_USB_Wi-Fi_Adapters | |
SMCWUSB-G (also sold as the "SMC EZ Connect g"): Gives "couldn't load firmware" error. "sudo apt-get install zd1211-firmware" fixes it. | |
sudo apt-get install zd1211-firmware |