virtualenv env
. env/bin/enable
pip install -r requirements.txt
python upload_server.py
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
/* | |
soziframes.js : transforming sozi SVG animations | |
to a sequence of PNG images, so you can make | |
a proper video without capturing the screen. | |
author: Carles F. Julià < chaos.ct _AT_ gmail com > | |
You need phantomjs to run it! | |
*/ | |
var page = require('webpage').create(), |
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
def log(f): | |
def logme(self, *args, **kwargs): | |
sargs = ", ".join([repr(a) for a in args]) | |
skwargs = ", ".join(["{}={}".format(k, v) for (k, v) in kwargs.iteritems()]) | |
print "{}.{}({})".format(self, f.__name__, ", ".join([sargs, skwargs])) | |
return f(self, *args, **kwargs) | |
return logme |
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
Catalunya | |
https://github.com/codehead/OpenParlament | |
Galicia | |
https://github.com/jjelosua/ParlamentoGalicia | |
https://github.com/dpino/galparl | |
España |
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
# Script to clean (and sort) the bibfile exported by mendeley | |
# It is then apt for versioning | |
# Author: Carles F. Julià <carles.fernandez(AT)upf.edu> | |
# You will need bibtexparser package: | |
# $ pip install bibtexparser | |
# usage: cleanbib.py library.bib | |
# WARNING: it overwrites the original file |
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
#test | |
import random | |
from openframeworks import * | |
print "-"*30 | |
class circle(object): | |
def __init__(self): | |
self.behavior = self.move() | |
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 xmm | |
import numpy as np | |
class GMM_regression(object): | |
def __init__(self): | |
self.clear(3,8) | |
def clear(self, idim = None, odim = None): | |
self.input_dimensions = idim or self.input_dimensions |
I hereby claim:
- I am chaosct on github.
- I am chaosct (https://keybase.io/chaosct) on keybase.
- I have a public key ASBOYTIlF3p0JYGSVxX1Nu21KJD39WP2s5q8ZBIGjmTWkgo
To claim this, I am signing this object: