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
#!/usr/bin/env python | |
"""Simple slitscan generator | |
$ slitscan.py source slice destination | |
Where: | |
- source is a video or a directory of images; | |
- slice is either "c" for column or "r" for row | |
and an integer, e.g., r1 or c42; and |
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
<?php | |
// Basically a strict object with no methods | |
class Struct { | |
public $foo; | |
public $bar; | |
} | |
$struct = new Struct(['foo' => 'something']); // constructor args would get pushed to properties ??? | |
$struct->foo = 'whatever'; |
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
"use strict"; | |
var _ = require('underscore') | |
, nodeResolve = require('resolve') | |
, gulp = require('gulp') | |
, gutil = require('gulp-util') | |
, browserify = require('browserify') | |
, watchify = require('watchify') | |
, babelify = require('babelify') | |
, source = require('vinyl-source-stream') |
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
// | |
// AppDelegate.m | |
// | |
// | |
// Created by Cory D. Wiles on 10/8/12. | |
// Copyright (c) 2013 Cory D. Wiles. All rights reserved. | |
// | |
#import "AppDelegate.h" | |
#import "iTunes.h" |
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
{ | |
settings: { | |
number_of_shards: 5, | |
number_of_replicas: 1, | |
"index" : { | |
"analysis" : { | |
"analyzer" : { | |
"html" : { | |
filter: [ 'standard', 'lowercase', 'stop', 'asciifolding' ], | |
"tokenizer" : "standard", |
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
#include <assert.h> | |
#include <stdarg.h> | |
#include <stdbool.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <unistd.h> | |
enum type { | |
NIL, |