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": ["super+k", "super+w"], | |
"command": "destroy_pane", | |
"args": {"direction": "self"} | |
} | |
] |
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 toon { | |
echo -n "" | |
} | |
get_git_dirty() { | |
git diff --quiet || echo '*' | |
} | |
autoload -Uz vcs_info | |
autoload -U colors && colors |
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
// If 'sidebarNav' feature is toggled ON... | |
if (Features.sidebarNav) { | |
// Load the new SidebarNav module | |
require(['modules/sidebar'], function(SidebarNav) { | |
// ... | |
}); | |
} |
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
module.exports = function(grunt) { | |
// Project configuration. | |
grunt.initConfig({ | |
pkg: grunt.file.readJSON('package.json'), | |
// Clean the build output directory before we begin | |
clean : { | |
options: { | |
force : true | |
}, |
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
for (var k in Object.keys(window)) { | |
console.log(Object.keys(window)[k], window[Object.keys(window)[k]]) | |
} |
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
/* Basically a gnarly hack to try and roughly detect Android <= 2.3 without UA sniffing */ | |
@media screen and (-webkit-min-device-pixel-ratio: 1.0) { /* Can't use ratio 1.5 as original Galaxy S was too low res */ | |
.no-csstransforms3d .someFixedPositionClass { /* Android > 2.3 supports 3D transforms */ | |
position: absolute; /* Fixed not supported, use absolute instead, or whatever */ | |
} | |
} |
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
Show hidden characters
{ | |
"sublimelinter_gutter_marks_theme": "hard", | |
"jshint_options": | |
{ | |
// Enforcement options | |
"curly" : true, | |
"eqeqeq" : true, | |
"forin" : true, | |
"immed" : true, | |
"latedef" : true, |
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
// If 'sidebarNav' feature is toggled ON... | |
if ($('html').hasClass('.feat-sidebarNav')) { | |
// Load the new SidebarNav module | |
require(['modules/sidebar'], function(SidebarNav) { | |
// ... | |
}); | |
} |
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
<snippet> | |
<content><![CDATA[ | |
/*jslint browser: true, white: true */ | |
/*global define */ | |
define([ | |
'${1:dependencies}' | |
], function (${2:dependencyArgs}) { | |
'use strict'; |
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
{ | |
"font_face": "UbuntuMono", | |
"font_size" : 12, | |
"tab_size" : 2, | |
"translate_tabs_to_spaces": true, | |
"detect_indentation": false, | |
"draw_minimap_border": true, | |
"always_show_minimap_viewport": true, | |
"caret_style": "smooth", | |
"line_padding_top": 2, |