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 | |
# Adds some CSS Definitions to Tweetdeck's Chrome Browser App to make the dark theme even darker. | |
# The CSS definitions are simply downloaded from https://gist.github.com/orithena/8803947 and appended | |
# to the tweetdeck extension's app-dark-xxxxx.css | |
# You need to run it after every app update. | |
find ~/.config/chromium/Default/Extensions/ -iname "app-dark*.css" | while read f | |
do | |
if [ $(wc -l $f | awk '{ print $1; }') -lt 5 ] |
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
#!/usr/bin/python | |
import alsaaudio | |
from subprocess import call | |
import twython | |
import guess_language | |
from twython import TwythonStreamer | |
import config | |
import thread | |
import uuid |
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
#!/usr/bin/python | |
import twython, time, pprint, traceback | |
import config | |
from twython import TwythonStreamer | |
""" | |
Config: create a file named config.py with these lines: | |
app_key="<your app key>" |
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 off | |
convert "%1" -morphology Convolve DoG:15,100,0 -negate -normalize -blur 0x1 -channel RBG -level 60%,91%,0.1 "%1.cleaned.png" |
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
html{ | |
font-family:Droid Sans; | |
} | |
.is-wide-columns .column { | |
width:300px; | |
} | |
.is-wide-columns .column.column-type-home { | |
width:361px; | |
font-size:1.0rem; | |
} |
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 | |
# spacenight.sh | |
# Parses the "Space Night Up To Date" box on http://www.br.de/fernsehen/bayerisches-fernsehen/sendungen/spacenight/index.html | |
# and downloads all linked media files into a directory. Won't re-download existing files, so you could set up a daily cron job | |
# or something like that. | |
if [ -n "$1" ] | |
then | |
targetdir="$1" |
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
#!/usr/bin/python | |
import mpd | |
import pickle | |
def getTimeList(): | |
statFile = file("/proc/stat", "r") | |
timeList = statFile.readline().split(" ")[2:6] | |
statFile.close() | |
for i in range(len(timeList)) : |