Skip to content

Instantly share code, notes, and snippets.

View KristinHenry's full-sized avatar

Kristin Henry KristinHenry

View GitHub Profile
@KristinHenry
KristinHenry / options.py
Last active June 26, 2018 23:26
getting options
for url in links:
command = "youtube-dl" + " -o " + '%(title)s-%(view_count)s' + " " + url
return_code = subprocess.call(command, shell=True)
@KristinHenry
KristinHenry / list.py
Last active June 26, 2018 22:17
looping over list of video links for downloading
for url in links:
command = "youtube-dl" + " " + url
return_code = subprocess.call(command, shell=True)
@KristinHenry
KristinHenry / index.html
Created October 1, 2016 19:46
particles
<!doctype html>
<meta charset="utf-8">
<head>
<title>Testing interactive svg + canvas plot</title>
<style>
body { margin: 0; }
svg {
position: absolute;
top: 0;
left: 0;
<!DOCTYPE html>
<meta charset="utf-8">
<script src="d3-foo.js"></script>
<script>
console.log(d3.foo());
</script>
export default function() {
return 42;
};
@KristinHenry
KristinHenry / README.md
Created June 26, 2016 23:39
WWSD #6: d3.js projections
@KristinHenry
KristinHenry / README.md
Created June 26, 2016 23:37
WWSD #6: d3.js projections
@KristinHenry
KristinHenry / README.md
Created June 26, 2016 23:12
WWSD #6: d3.js projections
@KristinHenry
KristinHenry / README.md
Created June 26, 2016 23:08
WWSD #6: d3.js projections
@KristinHenry
KristinHenry / README.md
Created June 26, 2016 21:13
WWSD #1: Leaflet starter