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
### Keybase proof | |
I hereby claim: | |
* I am z3a on github. | |
* I am z3a (https://keybase.io/z3a) on keybase. | |
* I have a public key whose fingerprint is 1010 1056 2E42 E256 A5E8 F256 DDD7 9BFC F67E 9B87 | |
To claim this, I am signing this object: |
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
size(160 * 3, 160 * 3); | |
PImage img; | |
colorMode(RGB, 5); | |
img = loadImage("gray_5.jpg"); | |
loadPixels(); | |
float cms = 0; | |
int a = 0; | |
int b = 0; |
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
var mysql = require('mysql'); | |
var gpio = require("gpio"); | |
var moment = require('moment'); | |
var osc = require('node-osc'); | |
var _ = require('underscore'); | |
var pinNum = 17; | |
var fecha = moment('2013-11-06 11:20:35'); | |
var client = new osc.Client('192.168.2.4', 11234); |
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
import processing.serial.*; | |
//http://forum.arduino.cc/index.php/topic,39922.0.html | |
PImage img; | |
int x = 0; | |
float r,g,b,bright; | |
Serial myPort; | |
byte[] column = new byte[16]; //var para guardar las lecturas de la img |
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
%!TEX TS-program = xelatex | |
\documentclass[12pt]{scrartcl} | |
% The declaration of the document class: | |
% The second line here, i.e. | |
% \documentclass[12pt]{scrartcl} | |
% is a standard LaTeX document class declaration: | |
% we say what kind of document we are making in curly brackets, | |
% and specify any options in square brackets. |
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
for i in *.JPG; convert -resize 10% $i $i:r.png |
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
long previous; | |
int interval = 400; | |
void setup(){ | |
previous = 0; | |
} | |
void draw(){ | |
long current = millis(); |
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
String response = "Hello 1,2345 10 lorem ipsum 12 dol 34 sit 093 at bla 8749"; | |
void setup(){ | |
String[][] test = matchAll(response, "([1-4])"); | |
if (test != null){ | |
for (int i = 0; i<test.length; i++){ | |
println("text: "+test[i][1]); | |
} | |
} else { |
NewerOlder