Skip to content

Instantly share code, notes, and snippets.

View joeyklee's full-sized avatar

Joey Lee joeyklee

View GitHub Profile
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>

map of redux and react functions - where everything is going and is connected

Redux-Overview-Libs-and-functions

Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@joeyklee
joeyklee / todo-dummy.json
Last active April 30, 2020 15:45
Dummy todo data
[{
"status": "incomplete",
"task": "get a job",
"_id": 1
},
{
"status": "incomplete",
"task": "find inner peace",
"_id": 2
}
@joeyklee
joeyklee / covid-by-boro-20200427.csv
Last active April 27, 2020 19:22
COVID rate by Borough in NYC via https://www1.nyc.gov/site/doh/covid/covid-19-data.page // As of April 27, 2020
boro_name Rate_per_100k_people Total_Count
Bronx 2405.65 35398
Brooklyn 1523.2 41327
Manhattan 1035.55 19499
Queens 1931.92 48382
Staten Island 2273.91 11424
Citywide null 156100
@joeyklee
joeyklee / nyc_borough_bounds.geojson
Last active April 27, 2020 18:04
Editing in https://mapshaper.org/ - simplified bounds.
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.
@joeyklee
joeyklee / nyc-dog-dataset-filterby-birthyear.js
Created April 14, 2020 17:36
Node.js script to filter json data based on some attribute
/**
Must be run in node.js
you can run this script by opening up your terminal:
```
$ node nyc-dog-dataset-filterby-birthyear.js
```
**/
const fs = require('fs');
@joeyklee
joeyklee / index.html
Created December 4, 2019 15:39
example of converting image to base 64 for use in RunwayML
<html>
<head></head>
<body>
<img src="JL-sq.jpg" alt="" id="joey" />
<script>
const joey = document.querySelector('#joey');
toDataURL('JL-sq.jpg', function(dataUrl) {
const inputs = {