Skip to content

Instantly share code, notes, and snippets.

View idflood's full-sized avatar

David Mignot idflood

View GitHub Profile
@idflood
idflood / ffmpeg.osx.install
Created October 11, 2011 09:51
ffmpeg installation on osx
View ffmpeg.osx.install
#install homebrew
brew install --use-gcc ffmpeg --enable-libx264 --enable-libfaac --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libxvid
sudo mv /opt/local/bin/ffmpeg /opt/local/bin/ffmpeg_old
sudo ln -s /usr/local/Cellar/ffmpeg/0.6/bin/ffmpeg /opt/local/bin/ffmpeg
@idflood
idflood / EdgeWrapper.js
Created August 2, 2013 13:14
Little Adobe Edge Animate wrapper for superscrollorama.
View EdgeWrapper.js
(function(global) {
function EdgeWrapper (compId) {
this.compId = compId;
this.composition = AdobeEdge.getComposition(compId);
this.stage = this.composition.getStage();
};
EdgeWrapper.prototype.play = function() {
this.stage.play();
return this;
@idflood
idflood / SassMeister-input.scss
Last active August 29, 2015 14:26
Generated by SassMeister.com.
View SassMeister-input.scss
// ----
// libsass (v3.2.5)
// ----
@mixin hover() {
@if ($current_block != false) {
#{$current_block}:hover & {
@content;
}
}
@idflood
idflood / SassMeister-input-HTML.html
Created August 7, 2015 15:04
Generated by SassMeister.com.
View SassMeister-input-HTML.html
<div class="container">
<div class="col1"></div>
</div>
@idflood
idflood / gulpfile-git-version.js
Created October 25, 2017 06:30 — forked from lukin0110/gulpfile-git-version.js
Gulp git version, fetches the latest git commit hash. Can be used as version for your application. Inject/replace it in your html
View gulpfile-git-version.js
'use strict';
var gulp = require('gulp');
var spawn = require('child_process').spawn;
var GIT_VERSION = "na";
gulp.task('version', function(cb){
//git --git-dir=.git log --pretty='%ct %h' -1
//git --git-dir=.git log --pretty='%h' -1
View gist:d3895bd4baf3c5db1ab3c6063e924f7c
I am attesting that this GitHub handle idflood is linked to the Tezos account tz1hKZ3scdxqd2UC6nFDyyyNQW659YyeYrQQ for tzprofiles
sig:edsigtsdu3QAf6FXfmnyhttszABpaQBHWXaFEYZf4DumCfVsW8zreXeTNck1nfwhPxP5W3RaB9hihtAebsv8UE6JAD63vd58MT6