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
from socket import socket, error, setdefaulttimeout | |
import ssl | |
import re | |
import time | |
import sys | |
import os | |
from hashlib import md5 | |
import json | |
os.chdir(os.path.split(sys.argv[0])[0]) |
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 | |
set -e | |
# Set the path to your own wallpaper directory | |
WALLPAPER_PATH="$HOME/Bilder/Sample Pictures" | |
NEXT_WALLPAPER="$HOME/Bilder/Sample Pictures/006.jpg" | |
FILENAME="006.jpg" | |
OUTPUT_DIR="$HOME/.e/e/backgrounds" | |
TEMPLATE=' |
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
# MAC manipulators | |
alias random_mac='sudo ifconfig en0 ether `openssl rand -hex 6 | sed "s/\(..\)/\1:/g; s/.$//"`' | |
alias restore_mac='sudo ifconfig en0 ether YOUR_ORIGINAL_MAC_ADDRESS_GOES_HERE' |