Skip to content

Instantly share code, notes, and snippets.

Hey huys??!
2.0.0p247 :027 > Time.parse("5/6", Time.now)
=> 2014-05-06 00:00:00 -0700
2.0.0p247 :029 > Time.parse("5/6/2014")
=> 2014-06-05 00:00:00 -0700
2.0.0p247 :030 > Time.parse("2014/5/6")
=> 2014-05-06 00:00:00 -0700
@thedillonb
thedillonb / Kitty
Last active January 2, 2016 01:59 — forked from jnelson/immersionWindow.js
Adds a crude windowing control to https://immersion.media.mit.edu/viz.Just paste this into the console after the visualization is running and press enter. Adjust the STEPS count for more or less granularity.
Here's another file!
@thedillonb
thedillonb / file.txt
Created January 1, 2014 16:19 — forked from TechFounder/form.htm.erb
How to add value to input area in rails form. Test Moo cow!
This is another file... Cool!
@thedillonb
thedillonb / kitty
Created December 31, 2013 06:41
Bob dole
meow
@thedillonb
thedillonb / Cool.txt
Last active December 31, 2015 05:19
Test. This is aweomse!
Hello!
@thedillonb
thedillonb / graph.js.patch
Created December 4, 2013 01:40 — forked from tomalec/graph.js.patch
my.Sleepbot.com Add rating to pattern graph
--- their.js 2013-12-04 01:11:12.592533200 +0100
+++ mine.js 2013-12-04 01:11:30.869533200 +0100
@@ -405,6 +405,7 @@
graph_RangePatternDate: function(css_id,times){
"use strict";
var values=[];
+ var ratings=[];
var end,start;
if(times.length>0){
end=times[0]['e']*1000;
@thedillonb
thedillonb / WHats good in the hood.txt
Created October 23, 2013 02:02
Another test.. It's good!
hood stuff...
@thedillonb
thedillonb / Some new File
Created October 23, 2013 01:54
Hey whats up! This is a pretty cool description
This is my new file.
Its a pretty cool file
What a wonderful file
Test
@thedillonb
thedillonb / Some new File
Created October 23, 2013 01:54
Hey whats up! This is a pretty cool description
This is my new file.
Its a pretty cool file
What a wonderful file
Test