Skip to content

Instantly share code, notes, and snippets.

View 1egoman's full-sized avatar

Ryan Gaus 1egoman

View GitHub Profile
  • Text-based queries
  • plugins
    • validate / parse
    • listeners
  • POST file uploading
  • Documentation!
@1egoman
1egoman / roboticsNew.c
Last active August 29, 2015 14:09
Robot Code (2014)
#pragma config(Sensor, dgtl1, rightEncoder, sensorQuadEncoder)
#pragma config(Motor, port1, l, tmotorVex269_HBridge, openLoop, encoderPort, dgtl1)
//*!!Code automatically generated by 'ROBOTC' configuration wizard !!*//
// #FIXME DEFINE MOTORS!!!!
// steps per unit
#define SP 90
@1egoman
1egoman / xmaspub.md
Created November 29, 2014 02:10
xmaxpub

Christmas List

(yes mema, here it is...)

  • Solder this
  • needlenose this
  • hammer (not a really heavy one)
  • wire this
  • painters tape, as wide as possible (used for my 3d printer bed to print upon)
  • glue stick, the biggest one possible (used for coating the painters tape mentioned above)
@1egoman
1egoman / README.md
Last active August 29, 2015 14:10
Quick and dirty python installer for a friend

Ryan's Quick and Dirty python installer

Made for Bryan, this installer should install whatever python version is specified within the PYVERSION environment variable.

Quick one-liner to download and install it: (you'll need curl sudo apt-get install curl)

export PYTHONVERSION=2.7.8;curl https://gist.githubusercontent.com/1egoman/a4228947bcc3f3504e22/raw/pythoninstaller.sh|bash
@1egoman
1egoman / README.md
Created January 1, 2015 12:26
Function preprocessor

Adds affixes and multiline strings to javascript:

###Affixes: prefix/suffix a token with a phrase, and it will be replaced. (!@ represents what will be replaced)

affixes = {
  '%': 'new Percent(!@)',
  '@': 'this.!@'
};
@1egoman
1egoman / square.py
Created January 10, 2015 13:14
Square Route Calculator
import math
# the square route function
def sqrt(n, iters, dev=1.5):
if iters < 0:
return dev
else:
return sqrt(n, iters-1, (n/dev+dev)/2)
# make sure everything is working as expected
@1egoman
1egoman / keyring.json
Last active August 29, 2015 14:17
CSE Keyring
[
{
"pub_key": [
51959,
5
],
"name": "Justus Barczewski",
"email": "Linkkillsganon4@gmail.com"
},
{
@1egoman
1egoman / bryan.coffee
Created April 11, 2015 01:19
bryan nlp stuff
# variables to "replace"
vars =
value: 1
# split text and respond with arrays of
split = (raw, callback) ->
sync = []
async = []
@1egoman
1egoman / ch7.md
Last active August 29, 2015 14:19
Opportunity Assistance

Chapter 7 Opportunity

By Ryan

(I added a few comments to your code to make it a little more readable, btw)

// Kevin Atkinson
// Chapter 7 Opportunity

// include headers
@1egoman
1egoman / keybase.md
Created June 18, 2015 12:32
keybase.md

Keybase proof

I hereby claim:

  • I am 1egoman on github.
  • I am rgausnet (https://keybase.io/rgausnet) on keybase.
  • I have a public key whose fingerprint is 9BCA 974E 112B 4CC7 43C1 578A A255 C2D6 FA67 4A6F

To claim this, I am signing this object: