Skip to content

Instantly share code, notes, and snippets.

@nolim1t
nolim1t / gist:752788
Created December 23, 2010 09:53
Running a Sikuli script from the shell (OS X)
#!/bin/bash
# do shell script "/Applications/Sikuli-IDE.app/sikuli-ide.sh -r /Users/nolim1t/Documents/randomscript.sikuli"
/Applications/Sikuli-IDE.app/sikuli-ide.sh -r /Users/nolim1t/Documents/somescript.sikuli
@takawo
takawo / takawo_high_aol2.markdown
Last active September 26, 2015 19:08
takawo杯アオリ文
  1. WiFiで呼吸する全てのリアル・マッド・ヘクティクに告ぐ‼5時と9時の間で紡がれるもう一つの神話こと情報社会のバーニング・マン #takawo杯 第2回開催します!インターネットがそう在るように、どうか遠く世界の果てまで響き渡りますように。皆様からの熱いご応募お待ちしております!

  2. 定時越えのシンデレラたちよ、サービス残業に今宵、終止符を! 道理の通らないこの時代、制御不能なのは俺とお前の関係性だけで十分だ!! 情報世界の千夜一夜物語こと #takawo杯 第2回開催中です!皆様からの熱いご応募お待ちしております!!

  3. 満員電車は誰もが互いに無関心で、いじくるスマホのバックライトが夜を照らして 「こんな言葉遊びでさえ届かないんだとしたら、何のために言葉交わしてるんだろ」って、送ろうとしたら圏外。今この全ての夜が戦場、 #takawo杯 第2回開催中です、皆様からのエモいご応募お待ちしております‼

  4. IT駄洒落とは、言語のシニフィアンとシニフィエを組み換え、交配させ、標本化すること。それが正しいかどうかは全てお前と23世紀が判断しろ‼手応えの無い現実から遠い未来へと、再び放たれるゴールデンディスク、#takawo杯 第2回が開催中です!皆様からの熱いご応募お待ちしております‼

  5. 第2期IT駄洒落=群雄割拠時代来たる!!まっさらなバンドの初期衝動を閉じ込めたファーストから、満を持し成熟のセカンドをドロップする情報社会オブ・ザ・デッドこと #takawo杯 イズ・バッカゲン! 皆様からの熱いご応募お待ちしております!http://xn--takawo-nu4m.net/

@gre
gre / easing.js
Last active June 27, 2024 15:37
Simple Easing Functions in Javascript - see https://github.com/gre/bezier-easing
/*
* This work is free. You can redistribute it and/or modify it under the
* terms of the Do What The Fuck You Want To Public License, Version 2,
* as published by Sam Hocevar. See the COPYING file for more details.
*/
/*
* Easing Functions - inspired from http://gizma.com/easing/
* only considering the t value for the range [0, 1] => [0, 1]
*/
EasingFunctions = {
@yoggy
yoggy / robot_sample.pde
Created January 6, 2014 09:35
how to use java.awt.Robot class in processing ...
//
// how to use java.awt.Robot class in processing ...
//
import java.awt.*;
import java.awt.event.*;
Robot robot;
PFont pfont;
Point save_p;
@cocopon
cocopon / Easing.pde
Last active May 10, 2024 00:03
A class that brings Robert Penner's easing functions into Processing
/*
* Easing.pde - brings Robert Penner's easing functions into Processing
* (c) 2015 cocopon.
*
* See the following to learn more about these famous functions:
* http://www.robertpenner.com/easing/
*
* License:
* http://www.robertpenner.com/easing_terms_of_use.html
*/
@edsonsoares
edsonsoares / Kinect code
Last active January 3, 2016 23:57
Record and Save Junction Positions w/ Kinect
void setup_kinect(){
context = new SimpleOpenNI(this);
if (context.isInit() == false) {
println("Can't Init SimpleOpenNI, maybe the camera is not connected.");
exit();
return;
}
import processing.pdf.*;
import java.util.Calendar;
boolean savePDF = false;
void setup() {
size(500, 500);
colorMode(HSB, 360, 100, 100);
}
@claytical
claytical / sketch.js
Created March 28, 2016 01:09
Google Spreadsheet with P5JS Example
var url = "https://spreadsheets.google.com/feeds/list/1qwbpwuHScQcujaMEg434eWPmpChMGBzaRQ9n39tYBjE/od6/public/values?alt=json";
var dudes = [];
function setup() {
createCanvas(windowWidth, windowHeight);
// Request the data from openweathermap
loadJSON(url, gotSpreadsheet);
}
function draw() {
background(0);
anonymous
anonymous / colour_ring.pde
Created May 19, 2016 15:14
// by davey whyte aka @beesandbombs
void setup(){
size(600,520,P3D);
colorMode(HSB,1);
noStroke();
}
float R = 160, r = 55;
int N = 720;
@papiron
papiron / coolbanner
Last active January 20, 2024 03:52
クールなバナーを作るシェルスクリプト(MacやFreeBSD用。Linuxの場合は下記のコメントを参照。)
#!/bin/sh
[ $# -lt 1 ] && echo 'Usage: coolbanner STRING [HEIGHT]' && exit
string="$1"
if [ -z $2 ]; then
height=30
else
height="$2"
fi