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 | |
# Script from hackhappy.org | |
while [ true ] | |
do | |
sleep 20 | |
wget -q --spider http://www.google.com/ | |
if [ "$?" != 0 ]; then | |
sudo ifdown wlan0 && sudo ifup wlan0 |
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
# My Raspberry Pi HDMI video config for Toshiba Power TV CT-90384 | |
disable_overscan=1 | |
hdmi_force_hotplug=1 | |
config_hdmi_boost=4 | |
hdmi_drive=2 | |
hdmi_group=2 | |
hdmi_mode=16 |
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
# setup.py | |
from distutils.core import setup | |
import py2exe, sys, os | |
from glob import glob | |
# The following code is a work around hack for excluded DLLs. | |
origIsSystemDLL = py2exe.build_exe.isSystemDLL | |
def isSystemDLL(pathname): | |
if os.path.basename(pathname).lower() in ["sdl_ttf.dll", |
NewerOlder