Skip to content

Instantly share code, notes, and snippets.

@jarus
jarus / gist:4560318
Created January 17, 2013 22:14
Simple example to use requests to get and set a custom variable in RWE SmartHome System
import re
import time
import requests
URL = 'https://mobile.rwe-smarthome.de/MobileWeb'
request_validation_re = re.compile(r'<input name="__RequestVerificationToken" type="hidden" value="(.*?)" />')
@saetia
saetia / gist:1623487
Last active May 1, 2024 19:55
Clean Install – OS X 10.11 El Capitan

OS X Preferences


most of these require logout/restart to take effect

# Enable character repeat on keydown
defaults write -g ApplePressAndHoldEnabled -bool false

# Set a shorter Delay until key repeat