Skip to content

Instantly share code, notes, and snippets.

View cobrajs's full-sized avatar

Allen Schmidt Jr. cobrajs

  • Fredericksburg, VA
View GitHub Profile
pico-8 cartridge // http://www.pico-8.com
version 41
__lua__
--special delivery
--poop on their heads
function _init()
select_scene("intro")
end
@cobrajs
cobrajs / BF RegEx
Created June 4, 2013 02:40
RegEx-based JS Brainf*ck Interpreter
<!DOCTYPE HTML>
<html>
<head>
<title>BF REGEX</title>
<style type="text/css">
textarea#src { width: 400px; height: 300px; }
</style>
</head>
<body>
<textarea id="src"></textarea>
@cobrajs
cobrajs / tmuxinator_gen.sh
Created March 16, 2013 18:04
Generates a tmuxinator config file for a session. Uses the current session, or takes the session name as an argument.
#!/bin/bash
session_name=
session_pre=
if [[ "$1" ]]; then
session_name="-t $1"
session_pre="$1"
fi
session_path=$(tmux list-panes -t $session_pre:1 -F "#{pane_start_path}")
@cobrajs
cobrajs / dwm_config.h
Created March 3, 2013 23:18
My current DWM config
/* See LICENSE file for copyright and license details. */
#include "push.c"
#include "fibonacci.c"
/* appearance */
static const char font[] = "-*-terminus-medium-r-*-*-16-*-*-*-*-*-*-*";
static const char normbordercolor[] = "#444444";
static const char normbgcolor[] = "#222222";
static const char normfgcolor[] = "#bbbbbb";