This combines handlebars and markdown to put content into context.
This file contains hidden or 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 getQueryParameters(str) { | |
| // from http://css-tricks.com/snippets/jquery/get-query-params-object/ | |
| return (str || document.location.search).replace(/(^\?)/,'').split("&").map(function(n){return n = n.split("="),this[n[0]] = n[1],this}.bind({}))[0]; | |
| } |
This file contains hidden or 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
| <head> | |
| <!-- Latest compiled and minified CSS --> | |
| <link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css"> | |
| <!-- Optional theme --> | |
| <link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap-theme.min.css"> | |
| <script src="https://code.jquery.com/jquery-2.1.3.min.js"></script> | |
| <script src="table.js"></script> | |
| <script> | |
| $(document).ready( $.get('sample.csv', null, CreateTable ) ); |
An interactive version of a Reingold–Tilford tree. Click on the nodes to expand or collapse.
Very minor tweaks were made to create a collapsible tree of a dict-like object.
- The dict is converted to the
flare.jsontree structure with a defaultsize. - I added a subset of a gist API response because that is what I am working on.
- I added lodash because the tree converter was already written.
An interactive version of a Reingold–Tilford tree. Click on the nodes to expand or collapse.
Very minor tweaks were made to create a collapsible tree of a dict-like object.
- The dict is converted to the
flare.jsontree structure with a defaultsize. - I added a subset of a gist API response because that is what I am working on.
- I added lodash because the tree converter was already written.
An interactive version of a Reingold–Tilford tree. Click on the nodes to expand or collapse.
Very minor tweaks were made to create a collapsible tree of a dict-like object.
- The dict is converted to the
flare.jsontree structure with a defaultsize. - I added a subset of a gist API response because that is what I am working on.
- I added lodash because the tree converter was already written.
This file contains hidden or 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
| <head> | |
| <meta charset="utf-8"> | |
| <style> | |
| @import "//cdn.jsdelivr.net/g/bootstrap(css/bootstrap.min.css)"; | |
| * { | |
| -webkit-border-radius: 0 !important; | |
| -moz-border-radius: 0 !important; | |
| border-radius: 0 !important; | |
| } | |
| button{ |
This file contains hidden or 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
| <head> | |
| </head> | |
| <body> | |
| <script src="//cdn.jsdelivr.net/g/jade"></script> | |
| <script id="template" type="jade/template"> | |
| h1 Jade - node template engine | |
| #container.col | |
| if youAreUsingJade | |
| p You are amazing | |
| else |
This file contains hidden or 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
| <head> | |
| <style> | |
| body{ | |
| background: black; | |
| margin: 0px; | |
| } | |
| div{ | |
| font-size: 72px; | |
| text-align : center; | |
| margin-left: auto; |