Skip to content

Instantly share code, notes, and snippets.

View hershmire's full-sized avatar

Eddie hershmire

  • San Francisco, CA
View GitHub Profile
@hershmire
hershmire / iTerm2-keybindings.md
Created March 1, 2016 05:49
Keybindings for iTerm2

Profiles

Keys

Delete Option + Left Delete Option + Right

Keys

Global Shortcut Keys

Navigate beginning/end of line
Command + Left Arrow: Send Hex Codes: 0x01
@hershmire
hershmire / crockford-object.js
Created March 17, 2015 23:49
Function object example from Douglas Crawford without prototypical inheritance and the need for `this` for better security. https://www.youtube.com/watch?v=bo36MrBfTk4&t=2143
function constructor(spec) {
var that = other_constructor(spec),
member,
method = function() {
// spec, member, method
};
that.method = method;
return that;
}
@hershmire
hershmire / user-settings
Last active December 27, 2015 15:09
Sublime Settings
{
"bold_folder_labels": true,
"color_scheme": "Packages/Color Scheme - Default/Twilight.tmTheme",
"ensure_newline_at_eof_on_save": true,
"file_exclude_patterns":
[
"*.pyc",
"*.pyo",
"*.exe",
"*.dll",