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
[ | |
// how to move in the filer with hjkl | |
{ "keys": ["j"], "command": "move", "args": {"by": "lines", "forward": true}, "context": | |
[ {"key": "control", "operand": "sidebar_tree"} ] | |
}, | |
{ "keys": ["k"], "command": "move", "args": {"by": "lines", "forward": false}, "context": | |
[ {"key": "control", "operand": "sidebar_tree"} ] | |
}, | |
{ "keys": ["l"], "command": "move", "args": {"by": "characters", "forward": true}, "context": | |
[ {"key": "control", "operand": "sidebar_tree"} ] |
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
{ | |
"color_scheme": "Packages/Theme - Flatland/Flatland Monokai.tmTheme", | |
"draw_indent_guides": true, | |
"figlet_font": "big", | |
"flatland_gray_selected_sidebar": true, | |
"flatland_square_tabs": true, | |
"font_face": "M+ 1m light", | |
"font_size": 11, | |
"highlight_modified_tabs": true, | |
"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
// INPUT | |
%reset-padding | |
padding: 0 | |
%reset-margin | |
margin: 0 | |
%container | |
@extend %reset-padding | |
@extend %reset-margin |
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
var Timer = function() { | |
onmessage = this.switchCase.bind(this); | |
this.currentTime = 0; | |
this.timerId = 0; | |
}; | |
p = Timer.prototype; | |
p.switchCase = function(e) { | |
switch(e.data) { |
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
'use strict'; | |
/** | |
* Notify when the ng-repeat is end. | |
* ex | |
* <li ng-repeat="item in items" repeat-end></li> | |
* And to know repeatend from other directive, | |
* the other directive should use scope.$on('repeatend', function() {}); | |
*/ | |
angular.module('ModuleName') |
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
var HtmlElem = (function(){ | |
'use strict'; | |
var elemStartStr = "<", | |
elemGut = '</', | |
elemEndStr = ' >', | |
elemOmitedClosingTag = ' />', | |
idStr = ' id="', | |
classStr = ' class="', | |
hrefStr = ' href="', | |
srcStr = ' src="', |
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
<!doctype html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Document</title> | |
</head> | |
<body> | |
<div class="hex"> | |
<a href="" class="hex_wrapper_link"> | |
<div class="hex_parts hex_parts_60"></div> |
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
package main | |
import ( | |
"fmt" | |
"net/http" | |
) | |
type String string | |
func (s String) ServeHTTP(w http.ResponseWriter, r *http.Request) { |
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(global){ | |
/** | |
* @constructor | |
*/ | |
function Colorize(callback, opt_src) { | |
if (opt_src) { | |
this.image = document.createElement('image'); | |
this.image.src = opt_src; | |
} else { | |
this.image = document.getElementById(Colorize.TARGET_ID); |
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
var gulp = require('gulp'), | |
useref = require('gulp-useref'), | |
sass = require('gulp-ruby-sass'), | |
concat = require('gulp-concat'), | |
prefixer = require('gulp-autoprefixer'), | |
minify = require('gulp-minify-css'), | |
uglify = require('gulp-uglify'), | |
plumber = require('gulp-plumber'), | |
clean = require('gulp-clean'), | |
cache = require('gulp-cache'), |
OlderNewer