Skip to content

Instantly share code, notes, and snippets.

View automata's full-sized avatar

Vilson Vieira automata

View GitHub Profile
{
"info": {
"author": "meemoo",
"title": "test-tunnel",
"description": "Testing meemoo-tunnel",
"parents": [
"https://gist.github.com/3280041",
"https://gist.github.com/3280043"
],
"url": "test-tunnel"
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
#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;
@automata
automata / gist:3966950
Created October 28, 2012 00:03
.emacs
;; ~/.emacs
;;
;; automata.cc ~ [email protected]
(add-to-list 'load-path "~/.emacs.d/packages")
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; EEV ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
# -*- 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
############ 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
@automata
automata / qplot.py
Created November 28, 2012 20:20
question about matplotlib
# -*- 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),
# -*- 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),
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)
@automata
automata / gist:4385259
Created December 27, 2012 03:34
vivace example
// 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