Skip to content

Instantly share code, notes, and snippets.

View TexRx's full-sized avatar
🏠
Working from home

Bobbie Tables TexRx

🏠
Working from home
  • Austin, TX
View GitHub Profile
#!/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;
};
┌ ─── ─── ─── ─── ─── ─── ─── ─── ┐
│ │
├ ─── ─── ─── ─── ─── ─── ─── ─── ┤
│ │
└ ─── ─── ─── ─── ─── ─── ─── ─── ┘
@TexRx
TexRx / fajitas.md
Last active August 29, 2015 14:14 — forked from remy/fajitas.md

Fajitas

Serves 2

Ingredients

  • 1 large oninon
  • 350-400g of chicken breast chopped into cubes/chunks
  • Fajita seasoning
  • 1/2 tin of refried beans
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);
}
@TexRx
TexRx / gulpfile.js
Last active August 29, 2015 14:13 — forked from mlouro/gulpfile.js
'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');
@TexRx
TexRx / package.json
Last active August 29, 2015 14:11 — forked from jfsiii/package.json
{
"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",
@TexRx
TexRx / bullshit.css
Last active August 29, 2015 14:09 — forked from Snugug/bullshit.css
/**
* Bullshit
**/
[id*="social"],
[class*="social"],
[id*="addthis"],
[class*="addthis"],
[id*="share"],
[class*="share"],
[id*="yodr_net"] {
@TexRx
TexRx / itcss.scss
Last active August 29, 2015 14:09 — forked from lunelson/itcss.scss
// _____ _____ _____ _____ _____
// |_ _|_ _/ __ \/ ___/ ___|
// | | | | | / \/\ `--.\ `--.
// | | | | | | `--. \`--. \
// _| |_ | | | \__/\/\__/ /\__/ /
// \___/ \_/ \____/\____/\____/
// file partials, in specificity- and alphabetical-order
@import "avant.scss"; // settings, functions, mixins
@TexRx
TexRx / leads.md
Last active August 29, 2015 14:08