Skip to content

Instantly share code, notes, and snippets.

View hjort's full-sized avatar

Rodrigo Hjort hjort

View GitHub Profile
We can't make this file beautiful and searchable because it's too large.
effective_date,state,region,ado,city,county,facility_name,ownership,use,location_id,site_number,arp_latitude,arp_longitude,cert_type_date
2018-07-19,AK,AAL,NONE,ADAK ISLAND,ALEUTIANS WEST,ADAK,PU,PU,ADK,50009.*A,51-53-00.8954N,176-38-32.9277W,I A S 04/2005
2018-07-19,AK,AAL,NONE,AKHIOK,KODIAK ISLAND,AKHIOK,PU,PU,AKK,50016.1*A,56-56-19.2870N,154-10-57.2000W,NA
2018-07-19,AK,AAL,NONE,AKIACHAK,BETHEL,AKIACHAK,PU,PU,Z13,50017.*A,60-54-49.7150N,161-29-35.9850W,NA
2018-07-19,AK,AAL,NONE,AKIACHAK,BETHEL,AKIACHAK,PU,PU,KKI,50017.1*C,60-54-28.3130N,161-26-06.2780W,NA
2018-07-19,AK,AAL,NONE,AKIAK,BETHEL,AKIAK,PU,PU,AKI,50020.*A,60-54-10.4300N,161-13-50.1000W,NA
2018-07-19,AK,AAL,NONE,AKUTAN,ALEUTIANS EAST,AKUTAN,PU,PU,KQA,50022.*C,54-08-02.0400N,165-46-42.1800W,NA
2018-07-19,AK,AAL,NONE,AKUTAN,ALEUTIANS EAST,AKUTAN,PU,PU,7AK,50022.1*A,54-08-40.6000N,165-36-14.7900W,NA
2018-07-19,AK,AAL,NONE,ALAKANUK,KUSILVAK,ALAKANUK,PU,PU,AUK,50024.1*A,62-40-59.0000N,164-43-19.9000W,NA
2018-07-19,AK,AAL,NONE,ALEKNAGIK,BRISTOL BAY,ALEK
@hjort
hjort / antes.c
Created October 15, 2011 16:23
void remover_letras_duplas(char *str);
void
remover_letras_duplas(char *str)
{
unsigned char cur, ult = 0;
char *ptr, *tmp, *ptmp;
ptr = str;
tmp = malloc(strlen(str) + 1);
ptmp = tmp;
@hjort
hjort / result.txt
Created October 8, 2011 04:50
Collecting stats from multiple databases
database id: 31983, name: bench
start_connection(153778808)
find_database(31983) = 153778808
relid relname seq_scan idx_scan
31993 pgbench_history 0
31990 pgbench_accounts 1 1000
31984 pgbench_branches 1001 0
31987 pgbench_tellers 945 0
find_database(31983) = 153778808
@hjort
hjort / pgstatDatabaseTable2.c
Created October 3, 2011 17:38
pgstatDatabaseTable2.c generated with mib2c.table_data.conf
/*
* Note: this file originally auto-generated by mib2c using
* : mib2c.table_data.conf 15999 2007-03-25 22:32:02Z dts12 $
*/
#include <net-snmp/net-snmp-config.h>
#include <net-snmp/net-snmp-includes.h>
#include <net-snmp/agent/net-snmp-agent-includes.h>
#include "pgstatDatabaseTable2.h"