Skip to content

Instantly share code, notes, and snippets.

@scarfunk
scarfunk / git-up.sh
Last active July 2, 2024 08:15 — forked from 0x-2a/git-up.sh
Replacement for Git-Up ruby gem
# 1) user root(~/) 에 해당 파일 놓는다.
# 2) ~/.gitconfig 에 아래를 추가한다
# [alias]
# up = !zsh ~/git-up.sh
#!/bin/zsh
# Add the following to your ~/.gitconfig
#
@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 / 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
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) {