This file contains hidden or 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
/* ASDFPixelSort for video frames v1.0 | |
Original ASDFPixelSort by Kim Asendorf <http://kimasendorf.com> | |
https://github.com/kimasendorf/ASDFPixelSort | |
Fork by dx <http://dequis.org> and chinatsu <http://360nosco.pe> | |
Randomization modifications by Dan-O | |
-- Usage: | |
1. Split a video into a series of pictures with ffmpeg: | |
$ ffmpeg -i "input.mov" -an -f image2 "frame_%06d.png" | |
2. Change `String basedir` in this script to point to where the images are located. | |
3. Tweak things, that's what's most fun, isn't it? |
This file contains hidden or 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
require 'mogli' | |
module FacebookIntegrationHelpers | |
shared_context "with unconnected facebook user" do | |
let(:fb_user) { create_test_user(installed: false) } | |
after { fb_user.destroy } | |
end | |
def app_client | |
Mogli::AppClient.new(AppConfig.facebook.access_token, AppConfig.facebook.app_id) |
This file contains hidden or 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
var Robot = function(robot){ | |
robot.turnLeft(robot.angle % 90); | |
}; | |
Robot.prototype.onIdle = function(ev) { | |
var robot = ev.robot; | |
if (robot.parentId) { | |
robot.ahead(1); | |
robot.turnGunRight(1); | |
} | |
else { |
This file contains hidden or 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
var Robot = function(robot){ | |
robot.turnLeft(robot.angle % 90); | |
}; | |
Robot.prototype.onIdle = function(ev) { | |
var robot = ev.robot; | |
if (robot.parentId) { | |
robot.ahead(1); | |
robot.turnGunRight(1); | |
} | |
else { |
This file contains hidden or 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
var Faker = require('../Faker'); | |
return { | |
"name":Faker.Name.findName(), | |
"username":Faker.Internet.userName(), | |
"email":Faker.Internet.email(), | |
"address":{ | |
"streetA":Faker.Address.streetName(), | |
"streetB":Faker.Address.streetAddress(), | |
"streetC":Faker.Address.streetAddress(true), | |
"streetD":Faker.Address.secondaryAddress(), |