The classic Pac-Man pie chart made with D3.js.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<style> | |
body { | |
background-image: url('https://i.imgflip.com/l2142.jpg'); | |
} | |
</style> | |
</head> | |
<body> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function doGet() { | |
var rss = makeRss(); | |
rss.setTitle('RSS 2.0 test'); | |
rss.setLink('http://example.com'); | |
rss.setDescription('RSS 2.0のテスト'); | |
rss.setLanguage('ja'); | |
rss.setAtomlink('http://example.com/rss'); | |
for (var i = 1; i < 3; i++){ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Create symlink for only PDFs or really any filetype in a directory with find and xargs | |
find /some/directory/ -name \*.pdf -print0 | xargs -0 -I {} ln -s {} . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# uninstall_atom.sh: Remove all Atom related files and folders from OS X installs | |
# See https://discuss.atom.io/t/how-to-completely-uninstall-atom-for-mac/9084 | |
# ------------------------------------------------------------------------------- | |
ATOM=( | |
"${HOME}/.atom" | |
"${HOME}/Library/Application Support/com.github.atom.ShipIt" | |
"${HOME}/Library/Application Support/Atom" | |
"${HOME}/Library/Caches/Atom" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
fizz_buzz.py | |
------------------------------------ | |
My solution to the Fizz Buzz Test. | |
http://wiki.c2.com/?FizzBuzzTest | |
""" | |
def main(): | |
for i in range(1, 101): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>Nested TOC POC</title> | |
<style media="screen"> | |
div { | |
display: inline-block; | |
} | |
.content { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
license: gpl-3.0 |
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"latlng": [ | |
[ | |
39.984155, | |
-105.239167 | |
], | |
[ | |
39.984129, | |
-105.239192 | |
], |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
airport_code | close_amount_sum | claim_count | total_passengers | airport_name | coordinates | |
---|---|---|---|---|---|---|
ABE | 130 | 1 | 297096 | Lehigh Valley International Airport | -75.44080352783203, 40.652099609375 | |
ABI | 499 | 3 | 93756 | Abilene Regional Airport | -99.68190002440001, 32.4113006592 | |
ABQ | 139.1 | 2 | 2354087 | Albuquerque International Sunport Airport | -106.609001, 35.040199 | |
ACY | 839.61 | 4 | 585709 | Atlantic City International Airport | -74.57720184326172, 39.45759963989258 | |
ALB | 209.75 | 5 | 1210621 | Albany International Airport | -73.80169677734375, 42.74829864501953 | |
AMA | 0 | 1 | 362280 | Ama Airport | 141.67, -4.10111111111 | |
AMA | 0 | 1 | 362280 | La Amalia | -62.01656, -35.10042 | |
AMA | 0 | 1 | 362280 | Rick Husband Amarillo International Airport | -101.706001, 35.219398 | |
AMA | 0 | 1 | 362280 | Amatlan de Jora Airport | -104.128434, 21.393753 |
OlderNewer