This file contains hidden or 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
Loreto | 2013-10-25 | 80 | http://bit.ly/18YdMbA | |
---|---|---|---|---|
Junin | 2013-09-28 | 35 | http://bit.ly/18qqNpT | |
Curahuasi | 2013-09-18 | 50 | http://bit.ly/18qqEmx | |
Huanuco | 2013-04-18 | 17 | http://bit.ly/18qqzPL | |
Urubamba | 2013-04-15 | 100 | http://bit.ly/18qqlYX | |
Ucayali | 2013-10-05 | 15 | http://bit.ly/18qqfAm | |
Satipo | 2013-09-27 | 24 | http://bit.ly/18YeiGx |
This file contains hidden or 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
Moquegua | 24.8 | 1949 | |
---|---|---|---|
Tumbes | 28.4 | 1839 | |
Ayacucho | 56.6 | 1779 | |
Pasco | 55.8 | 1769 | |
Huancavelica | 68.5 | 1750 | |
Apurímac | 60.9 | 1725 | |
Madre de Dios | 27.1 | 1584 | |
Cusco | 38.2 | 1574 | |
Amazonas | 61.7 | 1404 | |
Tacna | 26.5 | 1399 |
This file contains hidden or 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
# -*- coding: utf-8 -*- | |
import prettyplotlib as ppl | |
import numpy as np | |
from prettyplotlib import plt | |
import csv | |
from array import array | |
""" Top 20 ranking """ | |
x = [] |
This file contains hidden or 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
# -*- coding: utf-8 -*- | |
import prettyplotlib as ppl | |
import numpy as np | |
from prettyplotlib import plt | |
import csv | |
from array import array | |
import collections | |
""" Top 10 ranking """ |
This file contains hidden or 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
maxima | lejos de ti | |
---|---|---|
1 | El baile del caballo | |
1 | Opam kay kasja | |
2 | donde esta el amor | |
3 | ya no sere tu panuelito | |
4 | ai se eu te pego | |
5 | tu ausencia | |
6 | hoy he vuelto a ver el amor | |
7 | intentalo | |
8 | linda wawita |
This file contains hidden or 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
Amazonas,32.86,104 | |
Áncash,32.65,134 | |
Apurímac,50.49,139 | |
Arequipa,38.41,118 | |
Ayacucho,45.88,129 | |
Cajamarca,53.93,120 | |
Cusco,32.08,118 | |
Huancavelica,35.60,125 | |
Huánuco,42.40,125 | |
Ica,20.06,152 |
This file contains hidden or 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
require(stats) | |
library(ggplot2) | |
x <- read.csv("tabla31.csv", header=FALSE) | |
plot(x$V3, x$V2, xlim=c(0,200), ylim=c(0, | |
70), | |
ylab="Déficit calórico", | |
xlab="Presupuesto de Gasto por niño (PIM)", | |
main="Hay correlación entre gasto y déficit calórico?\nPrimicia: NO hay!") | |
reg_lineal <- lm(x$V3 ~ x$V2) | |
abline(lsfit(x$V3, x$V2)) |
This file contains hidden or 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
## Lista de links de las Normas del Ministerio de Justicia del 2006 al 2011 | |
# Bajar fechas 00-01-06 hasta 39-09-09 | |
curl -o '#1#2-0#3-0#4.pdf' 'http://spij.minjus.gob.pe/Normas/textos/[0-1][0-1]0[1-1]0[6-6]T.pdf' | |
sleep $[ ( RANDOM % 10 ) + 1]m | |
# Bajar fechas 00-01-06 hasta 39-09-09 | |
curl -o '#1#2-0#3-0#4.pdf' 'http://spij.minjus.gob.pe/Normas/textos/[0-3][0-9]0[1-9]0[6-9]T.pdf' | |
sleep $[ ( RANDOM % 10 ) + 1]m |
This file contains hidden or 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
#!/usr/bin/env python | |
# -*- coding: UTF8 -*- | |
import codecs; | |
import os; | |
import datetime; | |
import re; | |
import bitly; | |
import subprocess; | |
import time; | |
import sys; |
This file contains hidden or 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 pickle | |
import random | |
import sys | |
import re | |
# Modified from http://pythonism.wordpress.com/2010/04/18/a-simple-chatbot-in-python/ | |
a = open('lexicon-luke','rb') | |
successorlist = pickle.load(a) | |
a.close() |