⌘T | go to file |
⌘⌃P | go to project |
⌘R | go to methods |
⌃G | go to line |
⌘KB | toggle side bar |
⌘⇧P | command prompt |
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
CmdUtils.makeSearchCommand({ | |
name: ["verycd"], | |
description: "Search www.verycd.com for movies, music, books downloads with image preview", | |
author: {name:"Danny Siu", email:"danny.siu@gmail.com", homepage:"http://dsiu.org"}, | |
url: "http://www.verycd.com/search/folders/{QUERY}", | |
parser: { | |
container: "table#results-container > tbody > tr.entry", | |
title: "td > h3 > a", | |
thumbnail: "td:first > a > img", | |
preview: "td > div.brief", |
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
{ | |
"color_scheme": "Packages/Color Scheme - Default/Blackboard.tmTheme", | |
"draw_minimap_border": true, | |
"font_face": "Espresso Mono", | |
// Source Code Pro | |
// Espresso Mono | |
// inconsolata | |
// Consolas | |
"font_size": 17, | |
"ignored_packages": |
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
[ | |
// { "keys": ["ctrl+d"], "command": "find_under_expand" }, | |
{ "keys": ["ctrl+s"], "command": "find_under_expand" }, | |
{ "keys": ["alt+s"], "command": "toggle_side_bar" }, | |
// { "keys": ["ctrl+u"], "command": "soft_undo" }, | |
{ | |
"keys": ["super+alt+left"], | |
"command": "set_layout", | |
"args": | |
{ |
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
tell application "System Events" | |
tell current location of network preferences | |
set Modemdailup to service "VPN2" | |
if exists Modemdailup then disconnect Modemdailup | |
set Modemdailup2 to service "VPN3" | |
if exists Modemdailup2 then disconnect Modemdailup2 | |
end tell | |
end tell | |
// tell application "System Events" |
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/bash | |
## v1.0.6 | |
## this script will gernerate css stats | |
### example output | |
# CSS STATS | |
# ---------- | |
# Floats: 132 |
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
using terms from application "Quicksilver" | |
on process text _bashcom | |
do shell script "/bin/bash -ic '" & _bashcom & "'" | |
end process text | |
end using terms from |
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
unbind C-b | |
set -g prefix C-a | |
setw -g mode-keys vi | |
# split window like vim | |
# vim's defination of a horizontal/vertical split is revised from tumx's | |
bind s split-window -h | |
bind v split-window -v | |
# move arount panes wiht hjkl, as one would in vim after C-w | |
bind h select-pane -L |
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($) { | |
// plugin name | |
$.fn.productList = function(options) { | |
var _this = this; | |
// plugin options | |
var settings = $.extend({ | |
// default settings | |
'param' : 'value' | |
}, options); |
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
ln -s /path/to/desired-folder ~/Dropbox/desired-folder |
OlderNewer