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
#!/bin/bash | |
# Uses Gource (http://gource.io) to generate a lossless PPM and a high quality MP4 visualizing the history of a Git repo. | |
# By Jayden Seric: https://gist.github.com/jaydenseric/df3263eb3c33856c11ce | |
# Install Gource and FFmpeg with Homebrew: | |
# brew install gource | |
# brew install ffmpeg |
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
// fetch command line arguments | |
const arg = (argList => { | |
let arg = {}, a, opt, thisOpt, curOpt; | |
for (a = 0; a < argList.length; a++) { | |
thisOpt = argList[a].trim(); | |
opt = thisOpt.replace(/^\-+/, ''); | |
if (opt === thisOpt) { |
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
// VARS | |
var gulp = require('gulp'), | |
[...]; | |
gulp.task('build', function(callback) { | |
runSequence('clean', ['sass', 'js', 'images', 'assets', 'fonts'], 'minify', callback); | |
}); |
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
constructor () { | |
this.state = { | |
// Set default values | |
settings : { | |
fps: 40, | |
bitrate: 8 | |
} | |
}; | |
} |