Skip to content

Instantly share code, notes, and snippets.

@scarfunk
scarfunk / index.html
Last active September 9, 2015 10:59 — forked from anonymous/index.html
JS Bin // source https://jsbin.com/halesi
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>JS Bin</title>
</head>
<body>
<script id="jsbin-javascript">
function chained(functions) {
@scarfunk
scarfunk / gist:61fd300989f07324a89b
Last active September 11, 2015 08:33 — forked from JamieDixon/gist:9661702
Calculating with functions
function zero(exp) { return numberExpression(0, exp); }
function one(exp) { return numberExpression(1, exp); }
function two(exp) { return numberExpression(2, exp); }
function three(exp) { return numberExpression(3, exp); }
function four(exp) { return numberExpression(4, exp); }
function five(exp) { return numberExpression(5, exp); }
function six(exp) { return numberExpression(6, exp); }
function seven(exp) { return numberExpression(7, exp); }
function eight(exp) { return numberExpression(8, exp); }
function nine(exp) { return numberExpression(9, exp); }
@scarfunk
scarfunk / index.html
Created September 17, 2015 00:33 — forked from anonymous/index.html
JS Bin // source https://jsbin.com/zobepo
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>JS Bin</title>
</head>
<body>
<script id="jsbin-javascript">
// A Chain adding function
@scarfunk
scarfunk / git-up.sh
Created July 14, 2022 01:19 — forked from 0x-2a/git-up.sh
Replacement for Git-Up ruby gem
#!/bin/zsh
# Add the following to your ~/.gitconfig
#
# [alias]
# up = !zsh /path-to-this-script/git-up.sh
#
# Then you can call
#
# `git up`