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
| { | |
| "info": { | |
| "author": "meemoo", | |
| "title": "test-tunnel", | |
| "description": "Testing meemoo-tunnel", | |
| "parents": [ | |
| "https://gist.github.com/3280041", | |
| "https://gist.github.com/3280043" | |
| ], | |
| "url": "test-tunnel" |
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
| svn checkout http://oscgroups.googlecode.com/svn/trunk/ oscgroups | |
| svn checkout http://oscpack.googlecode.com/svn/trunk/ oscpack | |
| baixa esse patch aqui (no final dessa thread): | |
| http://code.google.com/p/oscgroups/issues/detail?id=1 | |
| aplica o patch: | |
| cd oscgroups | |
| patch -p0 < 1.patch | |
| make |
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
| #N canvas 619 365 450 300 10; | |
| #X declare -lib mrpeach; | |
| #X obj 8 10 import mrpeach; | |
| #X obj 221 239 udpsend; | |
| #X obj 221 192 packOSC; | |
| #X msg 48 166 connect 127.0.0.1 22243; | |
| #X obj 114 12 udpreceive 22244; | |
| #X floatatom 271 142 5 0 0 0 - - -; | |
| #X obj 114 41 unpackOSC; | |
| #X obj 114 65 print; |
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
| ;; ~/.emacs | |
| ;; | |
| ;; automata.cc ~ [email protected] | |
| (add-to-list 'load-path "~/.emacs.d/packages") | |
| ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | |
| ;; EEV ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | |
| ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
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
| # -*- coding: utf-8 -*- | |
| # programação genética para formas visuais | |
| import numpy as n | |
| import random as r | |
| import pylab as p | |
| import copy | |
| #from mpl_toolkits.mplot3d import Axes3D | |
| #import matplotlib.cm as cm |
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
| ############ VERSAO BALA ########### | |
| # coding: utf-8 | |
| import smtplib | |
| from sys import exit | |
| from random import choice | |
| from email.mime.text import MIMEText | |
| ############# CONFIGURACOES A FAZER ######################## | |
| # Configurar usuario e senha antes de enviar o spammer |
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
| # -*- coding: utf-8 -*- | |
| import numpy as n | |
| import random as r | |
| import pylab as p | |
| DIRS = ['up', 'right', 'down', 'left'] | |
| def new_guy(): | |
| dna = [[r.choice(DIRS), |
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
| # -*- coding: utf-8 -*- | |
| import numpy as n | |
| import random as r | |
| import pylab as p | |
| DIRS = ['up', 'right', 'down', 'left'] | |
| def new_guy(): | |
| dna = [[r.choice(DIRS), |
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
| import numpy as n | |
| import pylab as p | |
| import mpl_toolkits.mplot3d.axes3d as p3 | |
| import matplotlib.cm as cm | |
| # geramos x e y | |
| delta = 0.025 | |
| x = n.arange(-3.0, 3.0, delta) | |
| y = n.arange(-2.0, 2.0, delta) | |
| X, Y = p.meshgrid(x, y) |
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
| // vivace >>> edit the code above and press ctrl + x to execute <<< | |
| // | |
| // more info at http://automata.github.com/vivace | |
| // positions of the video in seconds | |
| eyes.pos = [15, 7, 9] | |
| // rates of beat duration | |
| eyes.pos = {1/4} | |
| // positions of audio samples in seconds |