Skip to content

Instantly share code, notes, and snippets.

View euclio's full-sized avatar
🦀

Andy Russell euclio

🦀
  • Amazon Robotics
  • Braintree, MA
View GitHub Profile
@euclio
euclio / vim-tutorial.md
Last active August 29, 2015 13:55
Vim Tutorial Files

##Instructions

If you are running OSX, or Linux, you likely have Vim already installed. Ensure that you have Vim on your PATH by opening a terminal and typing vim --version. If you get some output, you're ready to go.

If you're running Windows, there are two options.

First, if you have a Pomona or Mudd CS account, I recommend you use [PuTTY] to SSH into project.cs.pomona.edu or knuth.cs.hmc.edu.

@euclio
euclio / change_author.sh
Created March 2, 2014 00:20
Script to change git authorship from Marissa to Parth
#!/bin/sh
git filter-branch --env-filter '
an="$GIT_AUTHOR_NAME"
am="$GIT_AUTHOR_EMAIL"
cn="$GIT_COMMITTER_NAME"
cm="$GIT_COMMITTER_EMAIL"
if [ "$GIT_COMMITTER_EMAIL" = "Marissa_novak@hmc.edu" ]
@euclio
euclio / flask_api.md
Last active August 29, 2015 13:57
Overview of the backend design for StudyJam

StudyJam Flask API Design

I intend this document to clarify some of the aspects of designing the backend API for [StudyJam]. The API design is simple (and probably incomplete). There is also no notion of authentication, which should definitely be a concern.

API Overview

A GET request to each URL will return JSON appropriate to the information requested.

@euclio
euclio / doge.css
Last active August 29, 2015 13:57
Easily see the doge faces used for doge2048.com
.tile {
position: relative;
float: left;
}
.tile p {
color: #fff;
text-shadow: 2px 2px 2px #000;
font-size: 12px;
}
@euclio
euclio / LINE
Created May 13, 2014 00:49
Fast TI-BASIC Line Drawing
:For(X,1,dim(Ans
:"Make the 2nd and 4th parameter negative if you are using a friendly graphing window
:Line(iPart(Ans(X)/E6),iPart(E2fpart(Ans(X)/E6)),iPart(E2fPart(Ans(X)/E4)),E2fPart(Ans(X)/E2
:End
@euclio
euclio / PKGBUILD
Last active August 29, 2015 14:02
GBDK PKGBUILD
# Maintainer: Andy Russell <arussell123@gmail.com>
# Contributor: Xavier Benderitter <phenomenologeek at gmail.com>
pkgname=gbdk
pkgver=2.96a
pkgrel=2
pkgdesc="GAMEBOY Developers Kit"
arch=(x86_64 i686)
url="http://gbdk.sourceforge.net/"
license=('GPL')
depends=('lib32-glibc')
@euclio
euclio / supernova.html
Last active August 29, 2015 14:03
Two-column fork of the supernova tumblr theme
<html>
<!-- SUPERNOVA THEME BY DRINKHERTEARS.TUMBLR.COM -->
<!-- Modified by coderaugustus.tumblr.com -->
<head>
<title>{Title}</title>
<link rel="shortcut icon" href="{Favicon}">
<link rel="alternate" type="application/rss+xml" href="{RSS}">
{block:Description}
@euclio
euclio / index.css
Last active August 29, 2015 14:09
Hack Week Day 2: JavaScript Tutorial
h1 {
font-family: "Comic Sans MS", sans-serif;
}
img {
margin: 3px;
}
#kittyville {
background-color: #3DBEFF;
@euclio
euclio / armv7_catkin.patch
Created April 5, 2015 03:44
Patch to fix generated catkin build files for AR drone on ARM
reverted:
--- b/devel/src/ardronelib/ARDroneLib/VLIB/Platform/video_config.h 2015-04-04 20:24:40.314580931 -0700
+++ a/devel/src/ardronelib/ARDroneLib/VLIB/Platform/video_config.h 2015-04-03 11:09:34.479292912 -0700
@@ -8,7 +8,7 @@
////////////////////////////////////////////
#if TARGET_CPU_ARM == 1
// IPhone
+#if defined (USE_ANDROID) || defined (TARGET_OS_IPHONE) || defined (USE_LINUX)
-#if defined (USE_ANDROID) || defined (TARGET_OS_IPHONE)
@euclio
euclio / PKGBUILD
Created May 21, 2015 21:37
xmobar-git PKGBUILD
# Contributer: Cedric Girard <girard.cedric@gmail.com>
# Maintainer: Colin Woodbury <colingw@gmail.com>
pkgname=xmobar-git
pkgver=
pkgrel=2
pkgdesc="A minimal status bar for the XMonad Window Manager."
arch=('i686' 'x86_64')
url="http://projects.haskell.org/xmobar/"
license=('custom:BSD3')
makedepends=(