Skip to content

Instantly share code, notes, and snippets.

View install.sh
#!/bin/bash
set -e
disk="/dev/sda"
loadkeys us
ls /sys/firmware/efi/efivars
timedatectl set-ntp true
View install_firefox.sh
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
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
echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p
@davidbeijinho
davidbeijinho / pen_wifi
Created Jun 19, 2015
isntallar pen wifi no rasp
View pen_wifi
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