Skip to content

Instantly share code, notes, and snippets.

View SuperPichu's full-sized avatar

Chris Midkiff SuperPichu

View GitHub Profile

Keybase proof

I hereby claim:

  • I am superpichu on github.
  • I am superpichu (https://keybase.io/superpichu) on keybase.
  • I have a public key whose fingerprint is DA6C DBE7 5F28 9B7D 4808 9ECB ACAC CD0E BFBE 16FC

To claim this, I am signing this object:

@SuperPichu
SuperPichu / hangups-startup.sh
Created March 22, 2016 20:16
Start up script for hangups
# Wait for an internet connection since hangups crashes without one
online=0
while [ $online -eq 0 ]; do
nc -z 8.8.8.8 53 >/dev/null 2>&1
result=$?
if [ $result -eq 0 ]; then
online=1
else
online=0
echo "No internet, Retrying in 5 seconds"
#!/usr/bin/python
# ignore all of this.
import os
from randomFloat import randomFloat
Blockmass = randomFloat(10,20,1)
Fapp = randomFloat(100,120,2)
velocity = randomFloat(2,6,.5)
time = randomFloat(2,6,1)
@SuperPichu
SuperPichu / initrd.sh
Created October 23, 2015 13:52
initrd to boot ubuntu on shield tablet from sdcard
#!/sbin/busybox sh
PATH=/bin:/sbin:/usr/bin:/usr/sbin
BB=/sbin/busybox
set -x
$BB mkdir -p /etc
$BB mkdir -p /proc
$BB mount -t proc proc /proc