Serves 2
- 1 large oninon
- 350-400g of chicken breast chopped into cubes/chunks
- Fajita seasoning
- 1/2 tin of refried beans
#!/bin/bash | |
# | |
input="JcQfgA.gif" | |
output="/tmp/anim.gif" | |
pingpong=1 # comment this if you dont want a pingpong loop | |
frame_start=1 # which frame to pick as starting frame from inputfile? | |
frame_stop=20 # and which frame to stop? | |
frame_bg=1 # which frame should function as background 'still' ? | |
overlay_x=140 # which part should be animated? |
var objectToQueryString = function(obj) { | |
var qs = _.reduce(obj, function(result, value, key) { | |
return (!_.isNull(value) && !_.isUndefined(value)) ? (result += key + '=' + value + '&') : result; | |
}, '').slice(0, -1); | |
return qs; | |
}; |
┌ ─── ─── ─── ─── ─── ─── ─── ─── ┐ | |
│ │ | |
├ ─── ─── ─── ─── ─── ─── ─── ─── ┤ | |
│ │ | |
└ ─── ─── ─── ─── ─── ─── ─── ─── ┘ |
Serves 2
var TM = {}; | |
TM.staggerTo = function(targets, duration, vars, stagger, onCompleteAll, onCompleteAllParams, onCompleteAllScope) { | |
stagger = stagger || 0; | |
var delay = vars.delay || 0, | |
a = [], | |
finalComplete = function() { | |
if (vars.onComplete) { | |
vars.onComplete.apply(vars.onCompleteScope || this, arguments); | |
} |
'use strict'; | |
var gulp = require('gulp'); | |
var gutil = require('gulp-util'); | |
var del = require('del'); | |
var uglify = require('gulp-uglify'); | |
var gulpif = require('gulp-if'); | |
var exec = require('child_process').exec; | |
var notify = require('gulp-notify'); |
{ | |
"scripts": { | |
"start": "npm run tunnels && npm run build && npm run start-server", | |
"stop": "npm run stop-server", | |
"restart": "npm run restart-tunnels && npm run build && npm run restart-server", | |
"start-server": "./path/to/webserver run", | |
"stop-server": "lsof -i:5005 -i:8888 | grep LISTEN | awk '{print $2}' | uniq | xargs kill -9", | |
"restart-server": "npm run stop-server && npm run start-server", | |
"tunnels": "./scripts/setup-ssh-tunnels.sh", | |
"restart-tunnels": "FORCE_RESTART=1 npm run tunnels", |
/** | |
* Bullshit | |
**/ | |
[id*="social"], | |
[class*="social"], | |
[id*="addthis"], | |
[class*="addthis"], | |
[id*="share"], | |
[class*="share"], | |
[id*="yodr_net"] { |
// _____ _____ _____ _____ _____ | |
// |_ _|_ _/ __ \/ ___/ ___| | |
// | | | | | / \/\ `--.\ `--. | |
// | | | | | | `--. \`--. \ | |
// _| |_ | | | \__/\/\__/ /\__/ / | |
// \___/ \_/ \____/\____/\____/ | |
// file partials, in specificity- and alphabetical-order | |
@import "avant.scss"; // settings, functions, mixins |