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
#!/usr/bin/env ruby | |
require 'rubygems' | |
require 'terminal-notifier' | |
require 'active_support/core_ext' | |
t = (ARGV[0].to_f) || 1 rescue 1 | |
t = t.minute.since | |
message = ARGV[1] || "It's the time now" | |
while Time.now <= t |
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
var q; | |
(function () { | |
function forEach(object, fun, self) { | |
for (var k in object) fun.call(self, object[k], k, object); | |
} | |
function clone(object) { | |
var child = {__proto__: object}; | |
try { | |
'' + instance; | |
} catch(error) { |
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
// ==UserScript== | |
// @name chain test | |
// @namespace gomaxfire.dnsdojo.com | |
// @require http://jqueryjs.googlecode.com/files/jquery-1.2.6.js | |
// @require http://gomaxfire.dnsdojo.com/jsrails/chain.js | |
// @include * | |
// ==/UserScript== | |
function log(s){console.log(s)}; | |
//function log(s){document.write(s)}; |