- Stylus
- Jade
- Browserify
- Superangent
- Vue.js
- Custom build tools
- Gulp.js
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
_________ | |
.' '. | |
/| \ | |
| \_______ \ | |
| / _ \_ | | |
'-' >- ( ) \./ | |
| _____ | .----. | |
\ \___/ / ___ .' | | |
'.__ __.' __----' '. / | |
_____| |_____----' |----' |
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 fs = require('fs'); | |
var src = process.argv[2], | |
out = '', | |
text; | |
if (!src) { | |
console.error('Arguments: source_file'); | |
process.exit(1); | |
} |
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
.-. | |
\ \ | |
\ \ | |
\ \ | |
___.--' '-. | |
__.---' o \ | |
.' == o | |
.-+ ____/ |
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 fs = require('fs'); | |
var charsMap = [ | |
[ '/', '(', '>' ], | |
[ '\\', ')', '<' ] | |
]; | |
function run () { | |
var args = parseArgs(), | |
text = normalise(fs.readFileSync(args.src, 'utf8')); |
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
@mixin grid-column ($span, $cols: 12) { | |
width: ($span * 100 / $cols) * 1%; | |
} | |
@mixin grid-offset ($span, $cols: 12) { | |
margin-left: (($span * 100) / $cols) * 1%; | |
} | |
@mixin grid-system ($cols: 12, $gutter: 20px, $child: '.col', $off: '.off', $all-columns: true, $separate: '-', $breakpoint: 650px) { | |
@include clearfix(); |
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 getPrefixedEvents (str) { | |
var prefixes = [ '', 'webkit', 'o', 'MS', 'moz' ], | |
out = [], | |
i, prefix, cur; | |
for (i = 0; i < prefixes.length; i += 1) { | |
prefix = prefixes[i]; | |
cur = prefix + str; | |
if (prefix.length < 2) { |
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
#!/usr/bin/env zsh | |
PROMPT='%{$terminfo[bold]$fg[red]%}> %{$reset_color%}' | |
RPROMPT='%{$terminfo[bold]$fg[red]%}$(git_prompt_info) %{$fg[green]%}$(echo $USER)%{$reset_color%}' | |
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[yellow]%}✗%{$reset_color%}" | |
ZSH_THEME_GIT_PROMPT_PREFIX="(" | |
ZSH_THEME_GIT_PROMPT_SUFFIX=")" |
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 () { | |
var requestAnimFrame = window.requestAnimationFrame || | |
window.webkitRequestAnimationFrame || | |
window.mozRequestAnimationFrame || | |
window.oRequestAnimationFrame || | |
window.msRequestAnimationFrame || | |
function (callback) { | |
setTimeout(callback, 1000 / 60); | |
}, | |
easing = { |
OlderNewer