- Stylus
- Jade
- Browserify
- Superangent
- Vue.js
- Custom build tools
- Gulp.js
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 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 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
| #!/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 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
| tooltip-tail(direction = bottom, color = black, size = 10px) | |
| if direction is bottom | |
| dir = 'top' | |
| top 100% | |
| left 50% | |
| margin-left ( - size ) | |
| else if direction is top | |
| dir = 'bottom' |
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 requestAnimFrame = window.requestAnimationFrame || | |
| window.webkitRequestAnimationFrame || | |
| window.mozRequestAnimationFrame || | |
| window.oRequestAnimationFrame || | |
| window.msRequestAnimationFrame || | |
| function (callback) { | |
| setTimeout(callback, 1000 / 60); | |
| }, | |
| easing = { |
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
| module.exports = function () { | |
| console.log( | |
| ' \n\n' + | |
| ' ███████ ███████\n' + | |
| ' ████------████ ██\n' + | |
| ' ██------------██ ██\n' + | |
| ' ██------████████████ ██\n' + | |
| ' ██------████████████████ ██\n' + | |
| ' ██--████ ██████\n' + | |
| ' ████████ ██ ██ ██----██ ██████████████████████████████████████████████\n' + |
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
| module.exports = -> console.log ''' | |
| ███████ ███████ | |
| ████------████ ██ | |
| ██------------██ ██ | |
| ██------████████████ ██ | |
| ██------████████████████ ██ | |
| ██--████ ██████ | |
| ████████ ██ ██ ██----██ ██████████████████████████████████████████████ | |
| ██ ████ ██ ██ ██----██ ██ ██ |
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 extend () { | |
| var out = arguments[0], | |
| i, key, obj, val; | |
| for (i = 1; i < arguments.length; i += 1) { | |
| obj = arguments[i]; | |
| for (key in obj) { | |
| if (obj.hasOwnProperty(key)) { | |
| val = obj[key]; |
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
| _________ | |
| .' '. | |
| /| \ | |
| | \_______ \ | |
| | / _ \_ | | |
| '-' >- ( ) \./ | |
| | _____ | .----. | |
| \ \___/ / ___ .' | | |
| '.__ __.' __----' '. / | |
| _____| |_____----' |----' |
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
| var fs = require('fs'); | |
| var src = process.argv[2], | |
| out = '', | |
| text; | |
| if (!src) { | |
| console.error('Arguments: source_file'); | |
| process.exit(1); | |
| } |
OlderNewer