최종 업데이트 : 2012년 11월 6일
cheat sheet for Eclipse IDE.
function tabname { | |
printf "\e]1;$1\a" | |
} | |
if [ x`type -t cd` == "xfunction" ]; then | |
# previously wrapped cd | |
eval $(type cd | grep -v 'cd is a function' | sed 's/^cd/original_cd/' | sed 's/^}/;}/' ) | |
else | |
# builtin | |
eval "original_cd() { builtin cd \$*; }" |
editor | |
foreground: cccccc | |
background: 2d2d2d | |
caret: cc99cc | |
editor-selection | |
foreground: 515151 | |
background: a2a2a2 | |
H1 |
[ | |
{ "keys": ["f5"],"command": "insert_date", "args": {"format": "%Y-%m-%d %H:%M:%S"} }, | |
{ "keys": ["ctrl+j"], "command": "join_lines" }, | |
{ | |
"keys": ["super+alt+left"], | |
"command": "set_layout", | |
"args": | |
{ | |
"cols": [0.0, 0.33, 1.0], | |
"rows": [0.0, 1.0], |
{ | |
"color_scheme": "Packages/Color Scheme - Default/Twilight.tmTheme", | |
"draw_white_space": "all", | |
"font_face": "DejaVu Sans Mono", | |
"font_size": 15.0, | |
"highlight_line": true, | |
"ignored_packages": | |
[ | |
], | |
"rulers": |
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>author</key> | |
<string>Michael Sheets</string> | |
<key>name</key> | |
<string>Twilight</string> | |
<key>settings</key> | |
<array> |
#!/usr/bin/env bash | |
version="0.0.1" | |
TARGET_PROCESS=$1 | |
if [ ! $TARGET_PROCESS ]; then | |
echo | |
echo "Usage: sticker [process name]" | |
echo |
tell application "System Events" to tell process "SystemUIServer" | |
tell (1st menu bar item of menu bar 1 whose description is "text input") to {click, click (menu 1's menu item "U.S.")} | |
end tell | |
end run |
curl --silent http://www.kma.go.kr/wid/queryDFSRSS.jsp\?zone\=1162060500 | grep "tmn" | sed -e 's,.*<tmn>\([^<]*\)</tmn>.*,\1,g' -e 's,-999.0,,' | tr '\n' ' ' | spark |
최종 업데이트 : 2013-10-21 20:15:46
첫 번째 예제. 디버깅은 어떻게 할 수 있을까?