This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/zsh | |
# Add the following to your ~/.gitconfig | |
# | |
# [alias] | |
# up = !zsh /path-to-this-script/git-up.sh | |
# | |
# Then you can call | |
# | |
# `git up` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<title>JS Bin</title> | |
</head> | |
<body> | |
<script id="jsbin-javascript"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var request = require("request"); | |
request('https://slack.com/api/chat.postMessage?'+ | |
'token=token&channel=C024R44D8&text='+ | |
encodeURIComponent('모닝모닝')+ | |
'&as_user=true'); | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//app.js | |
import angular from 'angular'; | |
//1) sub 모듈 생성(모듈에서 라우터 사용). 하지만 ui.router 모듈이 없으므로 fail | |
angular.module('app.sub', ['ui.router']); | |
//2) 모듈생성만 하고, sub.js 에서 인젝션한다면. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>JS Bin</title> | |
</head> | |
<body> | |
<script id="jsbin-javascript"> | |
// A Chain adding function |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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); } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>JS Bin</title> | |
</head> | |
<body> | |
<script id="jsbin-javascript"> | |
function chained(functions) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# for folder color | |
export TERM="xterm-color" | |
export CLICOLOR=1 | |
export LSCOLORS=ExFxCxDxBxegedabagacad | |
# maven | |
export M2_HOME=/usr/local/apache-maven-3.2.3 | |
export M2=$M2_HOME/bin | |
export PATH=$M2:$PATH |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
//jsformat | |
{"keys": ["super+i"], "command": "js_format"}, | |
// 라인 삭제 | |
{ "keys": ["super+d"], "command": "run_macro_file", "args": {"file": "Packages/Default/Delete Line.sublime-macro"} } | |
] |
NewerOlder