Skip to content

Instantly share code, notes, and snippets.

Jonathan Howard v3n

Block or report user

Report or block v3n

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View Preferences.Sublime-Settings
{
"color_inactive_tabs": true,
"color_scheme": "Packages/Theme - Afterglow/Afterglow-monokai.tmTheme",
"ensure_newline_at_eof_on_save": true,
"font_size": 14,
"highlight_line": true,
"ignored_packages":
[
"Vintage"
],
@v3n
v3n / lcs.rb
Created Jul 25, 2015
compute statistics for 2015 NA LCS Playoffs
View lcs.rb
teams = {
"TSM" => 90,
"C9" => 70,
"TL" => 50,
"TIP" => 30,
"CLG" => 10,
"GV" => 10,
"DG" => 0
}
@v3n
v3n / ogl_osx.md
Created Feb 11, 2015
GLFW on OS X starting guide
View ogl_osx.md

OpenGL Development on OS X

While it's possible to download packages and install them manually, it's such a hassle. Fortunately for us, OS X has an unofficial package manager called http://brew.sh Let's install it. Open you Terminal and paste the following code:

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

Great. Homebrew will automatically install packages to /usr/local. Conveniently, that directory is already in your include and link paths.

@v3n
v3n / sum_primes.cpp
Created Jun 13, 2014
Solution to Prime Problem I presented at ID Tech Programming Academy
View sum_primes.cpp
#include <iostream>
#include <vector>
using namespace std;
int i;
unsigned total;
vector<int> v = vector<int>();
vector<int>::iterator vi;
@v3n
v3n / .bashrc
Last active Dec 24, 2015
generic .bashrc
View .bashrc
# X11 Environment
#export DISPLAY=":0.0"
#Don't put duplicate lines in the history.
export HISTCONTROL=ignoredups
# umask 002
# PROMPT
DEFAULT="\[\e[0;39m\]"
@v3n
v3n / gist:1145601
Created Aug 15, 2011
Shell of TMUX Config
View gist:1145601
#!/bin/bash
HEIGHT=`stty size | cut -d" " -f1`
WIDTH=`stty size | cut -d" " -f2`
if [ $WIDTH -gt 320 ]
then
#Set-up for a small screen.
tmux new -d -x $WIDTH -y $HEIGHT -s jonathan
You can’t perform that action at this time.