Skip to content

Instantly share code, notes, and snippets.

View EdwardReed's full-sized avatar
🙂
I write code here

Edward Reed II EdwardReed

🙂
I write code here
View GitHub Profile
@EdwardReed
EdwardReed / pa5.py
Created October 23, 2012 20:39
pa5.py
# Author: Edward Reed
# CLID: exr3920
# Course/Section: CMPS 150 -- Section 001
# Assignment: pa5
# Date Assigned: Thursday, October 17, 2012
# Date/Time Due: Tuesday, October 23, 2012 –- 11:55 pm
# Description: Program will process theatre ticket information for 5 customers.
# Certification of Authenticity:
# I certify that this assignment is entirely my own work.
Bob Smith 5 3
Mary Taylor 4 1
Mike Williams 3 2
Elizabeth Thomas 2 5
Joe George 2 0
@EdwardReed
EdwardReed / pa7.py
Created November 8, 2012 15:24
pa7
# Author: Edward Reed
# CLID: exr3920
# Course/Section: CMPS 150 -- Section 001
# Assignment: pa7
# Date Assigned: Friday, November 2, 2012
# Date/Time Due: Wednesday, November 7, 2012 - 11:55 pm
#
# Description: Will output all read as well as the player's batting average.
#
# Certification of Authenticity:
#include <Servo.h>
Servo pink;
Servo ring;
Servo midd;
Servo indx;
//Servo thmb;
@EdwardReed
EdwardReed / New Hand.pde
Created March 20, 2013 03:26
Program that controls a hand with a glove.
#include <Servo.h>
Servo pink;
Servo ring;
Servo midd;
Servo indx;
Servo thmb;
#define pi A0
#define ri A1
@EdwardReed
EdwardReed / gist:9218570
Created February 25, 2014 21:47
No Ping
MacBook-Pro ~/Documents/Work/webrand/webrand(master) ϟ cd ..
MacBook-Pro ~/Documents/Work/webrand ϟ git clone git@github.com:EdwardReed/gnocode.com.git
Cloning into 'gnocode.com'...
Warning: Permanently added the RSA host key for IP address '192.30.252.129' to the list of known hosts.
remote: Counting objects: 6, done.
remote: Compressing objects: 100% (3/3), done.
remote: Total 6 (delta 1), reused 6 (delta 1)
Receiving objects: 100% (6/6), done.
Resolving deltas: 100% (1/1), done.
MacBook-Pro ~/Documents/Work/webrand ϟ ping github.com
@EdwardReed
EdwardReed / gist:0a69e7af1a2fb8dfd841
Last active August 29, 2015 14:06
Getting Good at Vim
layout author title
post
edward
Getting Good at Vim

I have used Vim to write code for about a year, and I can confidently say that Vim does two things for me well. The most obvious thing is the cut down on my text editing time. If you consider the amount of time you spend highlighting with the mouse and then returning back to the keyboard to edit text, daily, over a course of a year that time begins to adds up.
Edward Reed has organized and lead two First Robotics teams in his teens and has been programming for the web since 2009. As a freelancer Edward has worked with renown non-profit organizations like the Elton John Aids Foundation and Amend. Edward is currently reading the Harvard Classics and growing his own veggies.
layout author title
post
edward
Getting Good at Vim

I have used Vim to write code for about a year, and I can confidently say that Vim does two things for me well. The most obvious thing is that it cuts down on my text editing time. If you consider the amount of time you spend highlighting with the mouse and then returning back to the keyboard to edit text, daily, over the course of a year that time begins to adds up.
class Api::RegistrationsController < Api::BaseController
respond_to :json
def create
user = User.new(params[:user])
if user.save
render :json=> user.as_json(:auth_token=>user.authentication_token, :email=>user.email), :status=>201
return
else