Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
Hope for the best, plan for the worst.

Mr. Phantom agentphantom

💭
Hope for the best, plan for the worst.
View GitHub Profile
@agentphantom
agentphantom / mx_tests.csv
Last active Aug 31, 2020
Número de pacientes estudiados por día y municipio.
View mx_tests.csv
We can't make this file beautiful and searchable because it's too large.
@agentphantom
agentphantom / mx_complete.csv
Last active Sep 29, 2020
Casos Confirmados, Defunciones, Ambulatorios, Hospitalizados e Intubados por Municipio
View mx_complete.csv
entidad municipio confirmados defunciones ambulatorios ambulatorios_fallecidos hospitalizados hospitalizados_fallecidos intubados intubados_fallecidos
Aguascalientes Aguascalientes 5544 530 3997 61 1547 469 291 211
Aguascalientes Asientos 96 7 66 1 30 6 4 1
Aguascalientes Calvillo 168 5 151 0 17 5 3 3
Aguascalientes Cosío 84 2 67 0 17 2 2 1
Aguascalientes El Llano 20 4 11 0 9 4 5 4
Aguascalientes Jesús María 254 12 200 1 54 11 13 6
Aguascalientes No Especificado 1 0 1 0 0 0 0 0
Aguascalientes Pabellón de Arteaga 255 15 201 1 54 14 13 8
Aguascalientes Rincón de Romos 403 13 328 0 75 13 12 6
View pemex.json
{
"titulo": null,
"serie": "SI744",
"valores": [
[
"1996-01-01",
-989898.0
],
[
"1996-01-02",
View mujico_rankings.txt
1 El-Discrepador 1889
2 Inglorious_Penguin 1707
3 MarcoCadenas 1628
4 professor_aloof 1192
5 Hastur082 1145
6 cualcrees 816
7 pipirisnais 700
8 sacrosaurio 511
9 El_Disentidor 482
10 gotlack46 458
View catalog.csv
We can make this file beautiful and searchable if this error is corrected: Unclosed quoted field in line 7.
brand,gun_type,quantity,caliber,description,price,currency,price_in_mxn
ARMSAN,shotgun,7,12 Gauge,"ESCOPETA SOBREPUESTA CALIBRE 12 MARCA ARMSAN MODELO EOS CAÑON DE 76 cm., ACABADO MADERA, CON EXPULSOR, CULATA AJUSTABLE.",1227.74,USD,23327.06
ARMSAN,shotgun,5,12 Gauge,"ESCOPETA DE BOMBA CALIBRE 12 MARCA ARMSAN MODELO EZ DE UN CAÑON DE 71 cm., ACABADO SINTETICO, CINTA VENTILADA.",548.91,USD,10429.29
ARMSAN,shotgun,8,12 Gauge,"ESCOPETA SEMIAUTOMATICA CALIBRE 12 MARCA ARMSAN MODELO EZ DE UN CAÑON DE 71 cm., ACABADO SINTETICO, CINTA VENTILADA.",548.91,USD,10429.29
ARMSAN,shotgun,7,12 Gauge,"ESCOPETA SEMIAUTOMATICA CALIBRE 12 MARCA ARMSAN MODELO A612 A SIX TWELVE CAÑON DE 71 cm., ACABADO MADERA, CINTA VENTILADA.",656.1,USD,12465.9
ARMSAN,shotgun,11,12 Gauge,"ESCOPETA SEMIAUTOMATICA CALIBRE 12 MARCA ARMSAN MODELO A612 (C) CAÑON DE 71 cm., ACABADO CAMO, CINTA VENTILADA.",721.06,USD,13700.14
ARMSAN,shotgun,6,12 Gauge,"ESCOPETA SOBREPUESTA CALIBRE 12 MARCA ARMSAN MODELO EOS SILVER CAÑON DE 71 cm., ACABADO MADERA, CON E
View firebase.py
"""
A script that loads a GitHub repositories info and updates a Firebase database with it.
You will require the following database rules:
{
"rules": {
"repositories": {
".write": "auth != null",
".read": true
View stock.py
import csv
import datetime
formatted_date = "{0:%m/%d/%Y}".format(datetime.datetime.today())
reader = csv.reader(open("data.txt"), delimiter="|")
data_list = list()
names_list = list()
View folder_analyzer.py
#!/usr/bin/python3
import os
import glob
import sys
try:
my_path = sys.argv[1]
except:
print("Please enter a valid path.")
View TwilioSMS.as
/*
Download this file and put it into your project.
https://github.com/timkurvers/as3-crypto/blob/master/src/com/hurlant/util/Base64.as
*/
import com.hurlant.util.Base64;
private var mySecureSocket:SecureSocket; //Use the AIR built-in SecureSocket class.
private function initSocket():void
{
@agentphantom
agentphantom / FizzBuzz.as
Last active Jan 15, 2017
FizzBuzz in AS3
View FizzBuzz.as
package
{
import flash.display.Sprite;
public class FizzBuzz extends Sprite
{
public function FizzBuzz()
{
You can’t perform that action at this time.