I hereby claim:
- I am thisredone on github.
- I am redka (https://keybase.io/redka) on keybase.
- I have a public key ASA7CJFahUUY27_MrR_rn94Vu6WJSkl-aM7bX7xBBWyzJgo
To claim this, I am signing this object:
# redka => [email protected] | |
# 24.08.2012 | |
require 'typhoeus' | |
require 'nokogiri' | |
def proxies | |
front = Typhoeus::Request.get(url = "http://www.hidemyass.com/proxy-list/").body | |
hydra = Typhoeus::Hydra.new | |
requests = [] |
require 'lastfm' | |
api_key ||= 'xxx' | |
api_secret ||= 'xxx' | |
$lastfm ||= Lastfm.new(api_key, api_secret) | |
# token = lastfm.auth.get_token | |
# lastfm.session = lastfm.auth.get_session(:token => token)['key'] | |
$cache ||= {} | |
def multitag *tags |
require 'typhoeus' | |
require 'pry' | |
$currencies = { | |
"AUDJPY" => 1175270400, # starting from 2007.03.30 16:00 | |
"AUDNZD" => 1229961600, # starting from 2008.12.22 16:00 | |
"AUDUSD" => 1175270400, # starting from 2007.03.30 16:00 | |
"CADJPY" => 1175270400, # starting from 2007.03.30 16:00 | |
"CHFJPY" => 1175270400, # starting from 2007.03.30 16:00 | |
"EURAUD" => 1175270400, # starting from 2007.03.30 16:00 |
diff --git a/src/framework/framework_application.js b/src/framework/framework_application.js | |
index 13977dc..1e04457 100644 | |
--- a/src/framework/framework_application.js | |
+++ b/src/framework/framework_application.js | |
@@ -84,7 +84,7 @@ pc.extend(pc, function () { | |
loader.registerHandler(pc.resources.PackRequest, new pc.resources.PackResourceHandler(registry, options.depot)); | |
loader.registerHandler(pc.resources.AudioRequest, new pc.resources.AudioResourceHandler(this.audioManager)); | |
- this.renderer = new pc.ForwardRenderer(this.graphicsDevice); | |
+ // this.renderer = new pc.ForwardRenderer(this.graphicsDevice); |
.primary-background-color { | |
background-color: #222; | |
} | |
.content-background-color { | |
background-color: #333; | |
color: #D0D0D0; | |
} | |
.color-primary-font-color { |
I hereby claim:
To claim this, I am signing this object:
global._ = global._it = new Proxy {}, | |
get: (_, prop) -> | |
retrieve = (props...) -> | |
fn = (obj) -> | |
props.reduce ((obj, prop) -> obj[prop]), obj | |
if props.last() in ['is', 'isnt'] | |
prop = props.pop() | |
switch prop | |
when 'is' then (val) -> (obj) -> fn(obj) is val |
#!/usr/bin/env ruby | |
require 'fileutils' | |
require 'pry' | |
SIZE = ARGV[0].to_i | |
max_tileset_width = 7 | |
wanted_geometry = "#{SIZE}x#{SIZE}" | |
FileUtils.mkdir_p 'tiles' |
function interpolation(current, interp, lerpFunc, isVector, target, source) { | |
var passed = interp; | |
return { | |
get current () { | |
return current; | |
}, | |
interpolateTo: function(t) { | |
if (isVector ? t.equals(target) : t === target) return; | |
if (isVector) { | |
target.copy(t); |
# automatic bind | |
Object.defineProperty Object.prototype, '_bind', | |
enumerable: false | |
get: -> | |
new Proxy this, | |
get: (thing, prop) => | |
thing[prop].bind(thing) | |
# Usage |