- Themr - List installed themes and choose among them
- Color Highlighter - Highlights rgb and hex codes in the color that they represent
- ReadmePlease - Pull up the readme for any installed package
- DockBlockr - Makes writing JavaDoc-style comments a breeze
- Sublimerge - Provides a ton of useful git diffing / merging functionality
- GitGitter - Shows what lines are changed from HEAD
- MarkdownEditing - Turns Sublime into a solid markdown editor
- SidebarEnhancements - Makes the sidebar useful
This file contains hidden or 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 () { | |
var t = window.performance.timing; | |
var timings = []; | |
timings.push({ | |
label: "Time Until Page Loaded", | |
time: t.loadEventEnd - t.navigationStart + "ms" | |
}); | |
timings.push({ |
This file contains hidden or 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
{ // General | |
// > defaults write -g NSTextKillRingSize -string 6 | |
// replace yank: command with yankAndSelect for use with the kill ring | |
"^y" = (yankAndSelect:); | |
// uppercase word | |
"^U" = (uppercaseWord:, moveWordForward:, moveWordBackward:); | |
// lowercase word | |
"^~u" = (lowercaseWord:, moveWordForward:, moveWordBackward:); | |
// titlecase word | |
"^T" = (capitalizeWord:, moveWordForward:, moveWordBackward:); |
This file contains hidden or 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
import cPickle as pickle | |
def memoize(func): | |
results = {} | |
def wrapper(*args): | |
key = pickle.dumps(args) | |
if key not in results: | |
results[key] = func(*args) |
This file contains hidden or 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
// - Adds avatars to Slack's members siderail. | |
// - Hides inactive members. | |
// Maintain a cache of avatars when moving | |
// between channels. | |
var avatars = {}; | |
setInterval(function () { | |
$('#direct_messages_header').text('people'); | |
$('#im_list_more').hide(); |
This file contains hidden or 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
/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -kill -r -domain local -domain system -domain user | |
killall Finder |
This file contains hidden or 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
// Perfect vertical+horizontal centering. | |
display: -webkit-box; | |
display: -moz-box; | |
display: -ms-flexbox; | |
display: -webkit-flex; | |
display: flex; | |
@include prefixer(box-align, center, webkit moz ms spec); | |
-ms-flex-align: center; | |
@include prefixer(align-items, center, webkit spec); |
This file contains hidden or 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
<?xml version="1.0"?> | |
<root> | |
<item> | |
<name>F19 to F19</name> | |
<appendix>(F19 to Hyper (ctrl+shift+cmd+opt) + F19 Only, send escape)</appendix> | |
<identifier>private.f192f19_escape</identifier> | |
<autogen> | |
--KeyOverlaidModifier-- | |
KeyCode::F19, | |
KeyCode::COMMAND_L, |
This file contains hidden or 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
require 'net/http' | |
require 'uri' | |
uri = URI('<post dest>') | |
Net::HTTP::Proxy('<proxy uri>', 80).start(uri.host, use_ssl: true, verify_mode: OpenSSL::SSL::VERIFY_NONE) do |h| | |
req = Net::HTTP::Post.new(uri.request_uri) | |
req.form_data = { | |
# form data | |
} |
This file contains hidden or 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
EXIT_STATUS=0 | |
command1 || EXIT_STATUS=$? | |
command2 || EXIT_STATUS=$? | |
command3 || EXIT_STATUS=$? | |
exit $EXIT_STATUS |