Skip to content

Instantly share code, notes, and snippets.

Manuel Aristarán jazzido

Block or report user

Report or block jazzido

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@jazzido
jazzido / graphql.rb
Last active Oct 17, 2018
Neo4J + GraphQL — Toy example using graphql-ruby and neo4jrb
View graphql.rb
require 'graphql'
require 'neo4j'
neo4j_url = ENV['NEO4J_URL'] || 'http://localhost:7474'
session = Neo4j::Session.open(:server_db, neo4j_url)
class Author
include Neo4j::ActiveNode
id_property :id_author
View keybase.md

Keybase proof

I hereby claim:

  • I am jazzido on github.
  • I am manuelaristaran (https://keybase.io/manuelaristaran) on keybase.
  • I have a public key whose fingerprint is 2794 80C8 5BE6 4EC6 4236 A76B 3AE4 55E9 7D81 3620

To claim this, I am signing this object:

View ipc_creebba.csv
fecha value
2002/01 100.0
2002/02 103.4
2002/03 108.7
2002/04 117.9
2002/05 123.5
2002/06 127.8
2002/07 132.4
2002/08 135.8
2002/09 137.2
@jazzido
jazzido / gifenc.sh
Created Oct 15, 2015
Great-looking animated GIF from video files (from: http://blog.pkh.me/p/21-high-quality-gif-with-ffmpeg.html)
View gifenc.sh
#!/bin/sh
palette="/tmp/palette.png"
filters="fps=15,scale=640:-1:flags=lanczos"
ffmpeg -v warning -i $1 -vf "$filters,palettegen" -y $palette
ffmpeg -v warning -i $1 -i $palette -lavfi "$filters [x]; [x][1:v] paletteuse" -y $2
@jazzido
jazzido / energy.json
Last active Aug 30, 2015 — forked from billierinaldi/energy.json
Overlapping Sankey links
View energy.json
{"nodes":[
{"name":"Agricultural 'waste'"},
{"name":"Bio-conversion"},
{"name":"Liquid"},
{"name":"Losses"},
{"name":"Solid"},
{"name":"Gas"},
{"name":"Biofuel imports"},
{"name":"Biomass imports"},
{"name":"Coal imports"},
@jazzido
jazzido / antipopup.js
Last active Oct 16, 2015
Para leer lanacion.com sin que te obligue a registrarte
View antipopup.js
// ==UserScript==
// @name Anti-popup para lanacion.com
// @namespace antipopup
// @description Evita el popup que te "obliga" a registrarte para leer el diario
// @include http://www.lanacion.com.ar/*
// @version 1
// @grant none
// ==/UserScript==
var target = document.querySelector('body');
@jazzido
jazzido / README.md
Last active May 24, 2018 — forked from zbjornson/index.html
Diferencia porcentual votos positivos al FPV entre PASO 2011 y 2015 — Por provincia
@jazzido
jazzido / README.md
Last active Aug 29, 2015
Mesas en las que un único partido obtuvo votos
View README.md

La consulta SQL que se muestra se puede ejecutar en la versión SQLite de la base Access que publica la Dirección Nacional Electoral. La consulta incluye todas las mesas, inclusive aquellas que puedan tener incidencias.

Aclaración anti-boludos: si van a hacer escándalo, asegúrense de no estar diciendo cualquier cosa. Chequeen contra los telegramas publicados en resultados.gob.ar

View gist:9369d7134a8acb64be54
package org.neo4j.elasticsearch;
import io.searchbox.action.BulkableAction;
import io.searchbox.client.JestClient;
import io.searchbox.client.JestResult;
import io.searchbox.client.JestResultHandler;
import io.searchbox.core.Bulk;
import io.searchbox.core.Delete;
import io.searchbox.core.Index;
@jazzido
jazzido / README.md
Last active Aug 29, 2015 — forked from mbostock/.block
Argentina province grid
View README.md
You can’t perform that action at this time.