Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am owad on github.
  • I am ow4d (https://keybase.io/ow4d) on keybase.
  • I have a public key ASAKt5d0fl1H5_SJOpldyVgM7EEnPJxZupTG8pQ4eAbHHwo

To claim this, I am signing this object:

@owad
owad / brightness.py
Created October 24, 2013 22:25
Steps: 1. Make the file executable. 2. Create two keyboard shortcuts - /home/some_user/scripts/this_file.py -up - /home/some_user/scripts/this_file.py -down
#!/usr/bin/env python
import subprocess
from sys import argv
MAX = 1.0
MIN = 0.05
STEP = 0.1
@owad
owad / update_indexes.py
Last active December 15, 2015 16:39
Simple script which will update_indexes on your GAE app if there are any NoIndexErrors in your logs.
import os
import sys
from datetime import datetime
PATTERNS = [' - kind',
' -',
' properties:',
' direction:']
LOG_FILE_NAME = 'gae.log'