Skip to content

Instantly share code, notes, and snippets.

View catalanojuan's full-sized avatar

Juan Ignacio Catalano catalanojuan

  • Streema
  • Buenos Aires, Argentina
View GitHub Profile
{
"mix": {
"TwoMicsFlow": {
"programs": [
{
"programName": "musicFlow",
"shape": "pataLeft",
"config": {
"doble": false,
"soundMetric": "rms",
@catalanojuan
catalanojuan / inspirational-women.rst
Last active November 16, 2015 20:24
Inspirational Quotes from Women

“You may encounter many defeats, but you must not be defeated. In fact, it may be necessary to encounter the defeats, so you can know who you are, what you can rise from, how you can still come out of it.” – Maya Angelou

"Our deepest fear is not that we are inadequate. Our deepest fear is that we are powerful beyond measure." - Marianne Williamson

"Kind words can be short and easy to speak, but their echoes are truly endless." - Mother Teresa

"Do not wait for leaders; do it alone, person to person." - Mother Teresa

"The most common way people give up their power is by thinking they don't have any." - Alice Walker

@catalanojuan
catalanojuan / Buenos Aires Django Meetup Brief.md
Last active October 23, 2015 18:13
Buenos Aires Django Meetup

El Buenos Aires Django Meetup es una comunidad que gira en torno a encuentros en persona en los cuales programadores Python locales buscamos conocer gente nueva y compartir conocimiento o experiencias relacionadas al uso de Django para resolver diversos problemas.

@catalanojuan
catalanojuan / charlas.md
Last active August 29, 2015 14:27 — forked from anonymous/charlas.md
Descripción de las charlas

Charlas

OpenID Connect en Django

Login único para todas tus aplicaciones, convierte tu proyecto Django en un proveedor OpenID.
Autor: Juan Ignacio Fiorentino

"django-oidc-provider es un package que te permite habilitar OpenID Connect en tu proyecto Django. Esto te da la oportunidad de tener aplicaciones clientes que se autentiquen con tu app, una forma de centralizar tus cuentas de usuarios. OIDC es utilizado por Google, Paypal, Microsoft y muchas empresas mas.

@catalanojuan
catalanojuan / middleman.sh
Created August 4, 2014 22:37
Error thrown when running `bundle exec middleman`
vagrant@precise64:~/code-of-conduct$ bundle exec middleman
== The Middleman is loading
/usr/lib/ruby/1.9.1/json/common.rb:148:in `parse': 387: unexpected token at '], (MultiJson::LoadError)
"conferences": [
]
}
'
from /usr/lib/ruby/1.9.1/json/common.rb:148:in `parse'
from /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/multi_json-1.8.2/lib/multi_json/adapters/json_common.rb:16:in `load'
from /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/multi_json-1.8.2/lib/multi_json/adapter.rb:20:in `load'
(test)vagrant@precise64:~$ pip install --ignore-installed Djblets==0.6.14
Downloading/unpacking Djblets==0.6.14
Downloading Djblets-0.6.14.tar.gz (277Kb): 277Kb downloaded
Running setup.py egg_info for package Djblets
warning: no files found matching '*.txt' under directory 'djblets'
warning: no files found matching '*.htc' under directory 'djblets'
warning: no files found matching '*.jpg' under directory 'djblets'
warning: no files found matching '*.gif' under directory 'djblets'
Downloading/unpacking Django>=1.1.1 (from Djblets==0.6.14)
#!/usr/bin/env python
import csv
from collections import defaultdict
from sets import Set
import sys
from json import dumps
git branch --merged origin/master | grep -v '\* master' | xargs -l1 git branch -d
@catalanojuan
catalanojuan / generate_urls.py
Created October 10, 2012 14:30
Generate urls CSV from a bunch of sitemaps.
# -*- encoding: utf8 -*-
#!/usr/bin/env python
import csv
import os
from BeautifulSoup import BeautifulStoneSoup
import yaml
DEFAULTS = {