Skip to content

Instantly share code, notes, and snippets.

@tonyfast
tonyfast / index.html
Created February 3, 2015 15:26
The simplest Reveal.js example
<head>
<link rel="stylesheet" href="//cdn.jsdelivr.net/g/reveal.js(css/reveal.min.css)">
<script src="//cdn.jsdelivr.net/g/reveal.js"></script>
</head>
<body>
<div class="reveal">
<div class="slides">
<section>Single Horizontal Slide</section>
@tonyfast
tonyfast / index.html
Created February 3, 2015 16:14
A simple example that dynamically adds slides to a Reveal.js
<head>
<link rel="stylesheet" href="//cdn.jsdelivr.net/g/reveal.js(css/reveal.min.css)">
<script src="//cdn.jsdelivr.net/g/reveal.js,zepto"></script>
</head>
<body>
<div class="reveal">
<div class="slides">
<section>Single Horizontal Slide</section>
<section id="blank"></section><!-- Blank slug -->
@tonyfast
tonyfast / index.html
Created February 3, 2015 17:28
d3 + riotjs wrapped in reveal.js
<head>
<link rel="stylesheet" href="//cdn.jsdelivr.net/g/reveal.js(css/reveal.min.css)">
<script src="//cdn.jsdelivr.net/g/d3js,reveal.js,zepto,riot@2.0(riot.min.js+compiler.min.js)"></script>
</head>
<body>
<div class="reveal">
<div class="slides">
<section>Single Horizontal Slide</section>
@tonyfast
tonyfast / howto-manually-add-trust-cert-to-rubygems.md
Last active August 29, 2015 14:14
Manually install Ruby Gems to Use Ruby on Windows

SSL upgrades on rubygems.org and RubyInstaller versions

UPDATE 2014-12-21: RubyGems 1.8.30, 2.0.15 and 2.2.3 have been released. It requires manual installation, please see instructions below.


Hello,

If you reached this page, means you've hit this SSL error when trying to

@tonyfast
tonyfast / example.svg
Last active August 29, 2015 14:14
d3 + styleTween + external SVG document
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@tonyfast
tonyfast / index.html
Last active August 29, 2015 14:14
Jquery + Jquery.terminal :: A Browser based console in Jquery
<head>
<script src="//cdn.jsdelivr.net/g/jquery,jquery.terminal"></script>
<style>
terminal{
position: fixed;
height: 80%;
right: -550px;
display: block-inline;
width: 650px;
@tonyfast
tonyfast / data.json
Last active August 29, 2015 14:15 — forked from wd15/one_record.txt
Presentation Layer for Sumatra Database
[{
"script_arguments": "<parameters>",
"platforms": [
{
"system_name": "Linux",
"machine": "x86_64",
"version": "#34-Ubuntu SMP Wed May 29 20:22:58 UTC 2013",
"ip_addr": "127.0.0.1",
"architecture_bits": "64bit",
"architecture_linkage": "ELF",
@tonyfast
tonyfast / index.html
Created February 9, 2015 19:53
MomentJS + UTC
<script src="//cdn.jsdelivr.net/g/momentjs"></script>
<script>
time = 'Wed May 29 20:22:58 UTC 2013';
t = moment().utc( time )
console.log('The formatted time is : ', t.format('dddd Do YY h:mm:ss a'));
console.log('The formatted time is : ', t.fromNow());
</script>
@tonyfast
tonyfast / README.md
Created February 10, 2015 23:13
Mermaid diagram of bottom-up data-driven web design

This though model tries to use to d3 to simplify the energy required for a scientist to make web ready content.

@tonyfast
tonyfast / index.html
Last active August 29, 2015 14:15
I think this is funny
<script src="//cdn.jsdelivr.net/g/d3js"></script>
<style>
.deck{
position: fixed;
width: 100%;
height: 100%;
left: 0;
top: 0;
z-index: -1;