A Pen by Richard Walker on CodePen.
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 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
""" | |
Minimal character-level Vanilla RNN model. Written by Andrej Karpathy (@karpathy) | |
BSD License | |
""" | |
import numpy as np | |
# data I/O | |
data = open('input.txt', 'r').read() # should be simple plain text file | |
chars = list(set(data)) | |
data_size, vocab_size = len(data), len(chars) |
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
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="600px" | |
height="300px" viewBox="0 0 600 300" enable-background="new 0 0 600 300" xml:space="preserve"> | |
<defs> | |
<mask id="texture"> | |
<image height="400" width="600" xlink:href="http://img03.deviantart.net/7874/i/2008/122/4/5/crack_texture_by_struckdumb.jpg"> | |
</mask> | |
</defs> | |
<g id="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
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="600px" | |
height="200px" viewBox="0 0 600 200" enable-background="new 0 0 600 200" xml:space="preserve"> | |
<defs> | |
<mask id="texture"> | |
<image height="400" width="600" xlink:href="http://img03.deviantart.net/7874/i/2008/122/4/5/crack_texture_by_struckdumb.jpg"> | |
</mask> | |
</defs> | |
<g id="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
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="600px" | |
height="200px" viewBox="0 0 600 200" enable-background="new 0 0 600 200" xml:space="preserve"> | |
<g id="S"> | |
<g class="shapes"> | |
<rect id="square_1_" x="15.085" y="9.272" width="180.861" height="180.861"/> | |
<line x1="15.085" y1="9.272" x2="195.947" y2="190.133"/> | |
<line x1="15.085" y1="190.133" x2="195.947" y2="9.272"/> | |
<circle cx="101.917" cy="157.479" r="30.084"/> | |
<circle cx="111.167" cy="40.229" r="27"/> |
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
""" | |
The MIT License (MIT) | |
Copyright (c) 2015 Mat Leonard | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal | |
in the Software without restriction, including without limitation the rights | |
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
copies of the Software, and to permit persons to whom the Software is |
These county, state and country boundaries are extracted from a single TopoJSON file. Counties are stroked in thin gray, states in thin black, and the country in thick black.
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> | |
<meta charset="utf-8"> | |
<style> | |
.graticule { | |
fill: none; | |
stroke: #777; | |
} | |
.boundary { |
A demo of Mikesss Bostock’s TopoJSON using states & provinces boundaries from Natural Earth.
With simplification turned on (-s 100
), this reduces the original 57MB GeoJSON file to a mere 515KB!
NewerOlder