Skip to content

Instantly share code, notes, and snippets.

Jake Zimmerman jez

Block or report user

Report or block jez

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
@jez
jez / slack-solarized-theme.css
Created Aug 23, 2017 — forked from anziem/slack-solarized-theme.css
Solarized theme for Slack (including background - not just sidebar)
View slack-solarized-theme.css
.dummy {
color: #002b36; /* base03 */
color: #073642; /* base02 */
color: #586e75; /* base01 */
color: #657b83; /* base00 */
color: #839496; /* base0 */
color: #93a1a1; /* base1 */
color: #eee8d5; /* base2 */
color: #fdf6e3; /* base3 */
color: #b58900;
@jez
jez / gdb-cheatsheet.md
Created Sep 18, 2016
GDB Cheatsheet from CS:APP Website, reformatted
View gdb-cheatsheet.md
View uninstall_gems.sh
#!/usr/bin/env bash
#
# Originally from https://gist.github.com/IanVaughan/2902499
#
# authors: Ian Vaughan
# Jacob Zimmerman
#
# usage: uninstall_gems [<version> ...]
#
# examples:
View keybase.md

Keybase proof

I hereby claim:

  • I am jez on github.
  • I am jez_ (https://keybase.io/jez_) on keybase.
  • I have a public key whose fingerprint is 8C29 8E1B 739D 2455 4F44 8AA3 8FA2 EB01 DEDE 40C0

To claim this, I am signing this object:

@jez
jez / gulpfile.js
Last active Apr 27, 2016
Handy gulpfile that I use for most of my frontend apps.
View gulpfile.js
/*
* Compiles a Node.js project that uses JavaScript and React
*
* - generates a main.js file in JS_DIR by calling browserify on app.jsx in
* SRC_DIR
*
* Usage:
*
* - gulp
* -> gulp scripts
@jez
jez / rev.c
Created Oct 8, 2015
Reverses a linked list
View rev.c
#include <stdlib.h>
#include <stdbool.h>
#include <stdio.h>
// --- stack library functions ---
// typedefs to keep things more semantic
typedef struct stack_s Stack;
typedef Stack node_t;
@jez
jez / dollar.sml
Created May 18, 2015
Haskell's $ operator in SML
View dollar.sml
infixr 0 $
fun f $ x = f x
fun compute NONE = "No value"
| compute (SOME x) = "The value is " ^ Int.toString x
fun println str = print $ str ^ "\n"
val _ = println $ compute $ SOME 42
val _ = println $ compute NONE
View preamble.tex
\usepackage{amssymb,amsmath,amsthm}
\usepackage{enumerate}
\providecommand{\abs}[1]{\left\vert#1\right\vert}
\providecommand{\norm}[1]{\left\Vert#1\right\Vert}
\providecommand{\pnorm}[2]{\left\Vert#1\right\Vert_{L^{#2}}}
\providecommand{\pnormspace}[3]{\left\Vert#1\right\Vert_{L^{#2}(#3)}}
\providecommand{\pqnorm}[3]{\left\Vert#1\right\Vert_{L^{#2,#3}}}
\providecommand{\pqnormspace}[4]{\left\Vert#1\right\VeFrt_{L^{#2,#3}(#4)}}
\providecommand{\lz}[4]{\left\Vert#1\right\Vert_{L^{#2,#3}\log^{#4}{L}}}
@jez
jez / Makefile
Created Oct 5, 2014
LaTeX Makefile
View Makefile
# NOTE: Change "written" to the name of your TeX file with no extension
TARGET=written
all: $(TARGET).pdf
## Generalized rule: how to build a .pdf from each .tex
LATEXPDFS=$(patsubst %.tex,%.pdf,$(wildcard *.tex))
$(LATEXPDFS): %.pdf: %.tex
pdflatex -interaction nonstopmode $(patsubst %.pdf,%.tex,$@)
You can’t perform that action at this time.