Skip to content

Instantly share code, notes, and snippets.

View Santiago-j-s's full-sized avatar

Santiago Santana Santiago-j-s

View GitHub Profile
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
{
"metadata": {
"name": "",
"signature": "sha256:dc5d50ef7eeefec0d6e42d0f932debce70be322c2e8d6c6bc17a54ff7c7ddfd5"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Santiago-j-s
Santiago-j-s / datos_abiertos_chubut.py
Last active May 4, 2017 01:18
Datos Abiertos Chubut
import requests
import json
s = requests.Session()
response = s.get('http://datos.chubut.gov.ar/api/3/action/package_list')
package_list = response.json()['result']
for package in package_list:
package_data = s.get(''.join(['http://datos.chubut.gov.ar/api/3/action/package_show?id=', package]))
@Santiago-j-s
Santiago-j-s / ranksum.ipynb
Last active June 21, 2017 15:29
Test de hipótesis: Ranksum
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
{
"yii_log" : {
"title" : "Yii Log",
"description" : "Default Yii Logs.",
"url" : "https://www.yiiframework.com/doc/guide/2.0/en/runtime-logging",
"regex" : {
"basic" : {
"pattern" : "^(?<timestamp>\\d{4}-\\d{2}-\\d{2} \\d{2}:\\d{2}:\\d{2}) \\[(?<ip>\\d{1,4}\\.\\d{1,4}\\.\\d{1,4}\\.\\d{1,4})\\]\\[-?(?<user>\\d*)\\]\\[-\\]\\[(?<level>\\w*)\\]\\[(?<category>.*)\\](?<body>.*$)"
}
},