Skip to content

Instantly share code, notes, and snippets.

View hogwild's full-sized avatar

Xianbin Gu (Bing) hogwild

View GitHub Profile
@hogwild
hogwild / sp500.csv
Created March 17, 2024 13:52
sp500
date price
Jan 2000 1394.46
Feb 2000 1366.42
Mar 2000 1498.58
Apr 2000 1452.43
May 2000 1420.6
Jun 2000 1454.6
Jul 2000 1430.83
Aug 2000 1517.68
Sep 2000 1436.51
This file has been truncated, but you can view the full file.
[
{
"PCA1":-1.3464262918,
"PCA2":-0.4344743187,
"Cluster":2,
"index":0,
"Flow ID":"10.152.152.11-10.152.152.10-54839-53-17",
"Src IP":"10.152.152.11",
"Src Port":54839,
"Dst IP":"10.152.152.10",
@hogwild
hogwild / san-francisco-ca_.geojson
Created December 7, 2023 06:43
san-francisco-ca_.geojson
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@hogwild
hogwild / countries.geo.json
Created October 15, 2023 11:30
countries.geo.json
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@hogwild
hogwild / airline-routes.csv
Created October 15, 2023 11:29
airline-routes.csv
We can't make this file beautiful and searchable because it's too large.
ID,AirlineID,AirlineName,AirlineCountry,SourceAirportID,SourceAirportCode,SourceAirport,SourceCity,SourceCountry,SourceLatitude,SourceLongitude,DestAirportID,DestCode,DestAirport,DestCity,DestCountry,DestLatitude,DestLongitude
1,24,American Airlines,United States,4355,ABE,Lehigh Valley International Airport,Allentown,United States,40.65209961,-75.44080353,3876,CLT,Charlotte Douglas International Airport,Charlotte,United States,35.2140007,-80.94309998
2,24,American Airlines,United States,4355,ABE,Lehigh Valley International Airport,Allentown,United States,40.65209961,-75.44080353,3752,PHL,Philadelphia International Airport,Philadelphia,United States,39.87189865,-75.2410965
3,24,American Airlines,United States,3718,ABI,Abilene Regional Airport,Abilene,United States,32.41130066,-99.68190002,3670,DFW,Dallas Fort Worth International Airport,Dallas-Fort Worth,United States,32.896801,-97.03800201
4,24,American Airlines,United States,4019,ABQ,Albuquerque International Sunport Airport,Albuquerque,United States,35.0401
We can't make this file beautiful and searchable because it's too large.
"tripduration","starttime","stoptime","start station id","start station name","start station latitude","start station longitude","end station id","end station name","end station latitude","end station longitude","bikeid","usertype","birth year","gender"
1437,"2020-04-01 01:06:20.6300","2020-04-01 01:30:17.9680",3678,"Fairmount Ave",40.72572613742557,-74.07195925712585,3678,"Fairmount Ave",40.72572613742557,-74.07195925712585,42314,"Customer",2002,2
264,"2020-04-01 05:02:42.0570","2020-04-01 05:07:06.1260",3207,"Oakland Ave",40.7376037,-74.0524783,3195,"Sip Ave",40.73089709786179,-74.06391263008118,42146,"Subscriber",1963,2
254,"2020-04-01 06:20:28.1190","2020-04-01 06:24:42.1380",3678,"Fairmount Ave",40.72572613742557,-74.07195925712585,3195,"Sip Ave",40.73089709786179,-74.06391263008118,42255,"Subscriber",1981,1
429,"2020-04-01 06:33:30.5170","2020-04-01 06:40:40.1990",3195,"Sip Ave",40.73089709786179,-74.06391263008118,3679,"Bergen Ave",40.722103786686034,-74.07145500183105,42529,"Subscriber",1964,1
805,"20
@hogwild
hogwild / Covid-19 Shanghai.csv
Last active April 11, 2022 03:53
The Covid-19 infection data of Shanghai
date district symptomatic asymptomatic zone
4/9/2022 Pudong 517 10613 Pudong Region
4/9/2022 Huangpu 101 447 Puxi Region
4/9/2022 Jingan 25 577 Puxi Region
4/9/2022 Xuhui 44 1106 Puxi Region
4/9/2022 Changning 26 731 Puxi Region
4/9/2022 Putuo 24 629 Puxi Region
4/9/2022 Hongkou 12 337 Puxi Region
4/9/2022 Yangpu 32 1048 Puxi Region
4/9/2022 Baoshan 36 2225 Puxi Region
@hogwild
hogwild / face.js
Created January 29, 2022 12:53
the face.js raw file
const width = 960;
const height = 600;
const faceRadius= 300;
const centerX = width / 2;
const centerY = height / 2;
const eyeOffsetX = 90;
const eyeOffsetY = -100;
const eyeRadius = 40;
const strokeWidth = 20;
const mouthWidth = 10;
@hogwild
hogwild / README.md
Last active April 3, 2021 03:56
A dataset of titanic passangers

A data set from Kaggle Titatic Dataset

Variable Definition Key
survival Survival 0 = No, 1 = Yes
pclass Ticket class 1 = 1st, 2 = 2nd, 3 = 3rd
sex Sex
Age Age in years
sibsp # of siblings / spouses aboard the Titanic
parch # of parents / children aboard the Titanic
ticket Ticket number
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.