Skip to content

Instantly share code, notes, and snippets.

View stuthedew's full-sized avatar

Stuart Feichtinger stuthedew

View GitHub Profile
#
# ===================================================================
# Purpose: Updates Python packages using Pip
# Called From: Command line
# Author: Stuart Feichtinger
# Notes: Global updater using pip
# Revsion: Last change: 07/28/18 by SF :: First Commit
# ===================================================================
#
#!/bin/bash
# Change the following word 'pi' to your own username if it's not 'pi'
YOURUSERNAME="pi"
YELLOW="\033[1;33m"
RED="\033[0;31m"
BLUE="\033[1;34m"
ENDCOLOR="\033[0m"
@stuthedew
stuthedew / .gitignore
Last active August 29, 2015 14:09
My C++ gitignore file
# Compiled Object files
*.slo
*.lo
*.o
*.obj
# Precompiled Headers
*.gch
*.pch
@stuthedew
stuthedew / disablePiWatchdog
Last active August 29, 2015 13:58
Python script to stop Raspberry Pi Watchdog if settings cause continues rebooting. Must be run from second computer. Attempts to connect to raspberry pi for about a minute. Start as soon as problematic Raspberry Pi begins startup
import spur
import sys
#change to match your setup if different
#/////////////////////////////////
piHostName= 'raspberrypi.local'
piUsername = 'pi'