#할 일을 적는다
- 요래 적으면
- 편리합니다.
git filter-branch -f --commit-filter ' | |
if [ "$GIT_COMMITTER_NAME" = "old-name" ]; | |
then | |
GIT_COMMITTER_NAME="new-name"; | |
GIT_AUTHOR_NAME="new-name"; | |
GIT_COMMITTER_EMAIL="email@domain.name"; | |
GIT_AUTHOR_EMAIL="email@domain.name"; | |
git commit-tree "$@"; | |
else |
(function (e, d) { | |
if (typeof d == "object") { | |
for (var f in d) { | |
if (d.hasOwnProperty(f)) { | |
e[f] = e[f] || d[f], arguments.callee(e[f], d[f]); | |
} | |
} | |
} | |
})(this, { | |
daum: { |
#!/bin/bash | |
NOW=$(date +"%Y-%m-%d-%H%M%S") | |
DIFF=$(git diff --name-only deploy HEAD) | |
TOPLEVEL=$(git rev-parse --show-toplevel) | |
CURRENT=$(pwd) | |
if [ -z "$DIFF" ] | |
then | |
echo "😝 Sorry no diff in there." | |
else | |
cd "$TOPLEVEL" |
"use strict"; | |
var Person = function(name){ | |
var _name = name || "Unknown"; | |
Object.defineProperty(this, "name", { | |
get: function(){ return "My name is " + _name; }, | |
set: function(newvalue){ _name = newvalue; } | |
}); | |
<?php | |
/** | |
* @package Haruair | |
* @version 1.0 | |
*/ | |
/* | |
Plugin Name: Scrapbook | |
Description: scrapbook custom type plugin | |
Author: haruair | |
Version: 1.0 |
#!/bin/bash | |
# put this file into /usr/bin | |
# set the file as correct permission | |
read -r -p "Are you sure? [y/N] " response | |
case $response in | |
[yY][eE][sS]|[yY]) | |
find . -type d -exec chmod 755 {} \; | |
find . -type f -exec chmod 644 {} \; | |
;; | |
*) |
{ | |
"in_process_packages": | |
[ | |
], | |
"installed_packages": | |
[ | |
"3024 Color Scheme", | |
"Better CoffeeScript", | |
"BracketHighlighter", | |
"Emmet", |
{ | |
"selector": "source.ts", | |
"cmd": ["tsc", "$file"], | |
"file_regex": "^(.+?) \\((\\d+),(\\d+)\\)(: .+)$", | |
"line_regex": "\\((\\d+),(\\d+)\\)", | |
"osx": { | |
"path": "/usr/local/bin:/opt/local/bin" |
#할 일을 적는다