This file contains 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 Kraken = function(){ | |
this.host = "https://api.kraken.com"; | |
this.tab = "kraken"; | |
this.balances = {}; | |
this.initialize = function() { | |
var pp = PropertiesService.getScriptProperties(); |
This file contains 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 Bitstamp = function(){ | |
this.host = "https://www.bitstamp.net"; | |
this.path = "/api/"; | |
this.balances = {}; | |
this.initialize = function() { | |
var pp = PropertiesService.getScriptProperties(); | |
this.key = pp.getProperties()['bitstamp_key']; |
This file contains 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
pragma solidity 0.4.25; | |
// ---------------------------------------------------------------------------- | |
// 'BX8' token contract | |
// | |
// Deployed to : | |
// Symbol : BX8 | |
// Name : BX8Token | |
// Total supply: 3888888888 | |
// Decimals : 18 |
This file contains 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
def connect_to_ir!(path, method=:post, payload={}) | |
uri = URI.parse("https://api.independentreserve.com/Private") | |
http = Net::HTTP.new(uri.host, uri.port) | |
http.use_ssl = true | |
api_key = App.services.independentreserve.api_key | |
api_secret = App.services.independentreserve.api_secret | |
nonce = Time.now.to_i | |
This file contains 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
$(['druid','hunter','mage_13','rogue','warlock','warrior','priest','paladin','shaman']).map(function(){ return [[ ""+this, $(".round1").find("img[src*='" + this + "']").length ]]; }).sort(function(a,b){ return b[1]-a[1]; }).each(function(){ console.log(this[0],this[1]) }); |
This file contains 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
luis:~/sites$ cd kreyos-members/ | |
You are using '.rvmrc', it requires trusting, it is slower and it is not compatible with other ruby managers, | |
you can switch to '.ruby-version' using 'rvm rvmrc to [.]ruby-version' | |
or ignore this warning with 'rvm rvmrc warning ignore /Users/luis/sites/kreyos-members/.rvmrc', | |
'.rvmrc' will continue to be the default project file in RVM 1 and RVM 2, | |
to ignore the warning for all files run 'rvm rvmrc warning ignore all.rvmrcs'. | |
Using /Users/luis/.rvm/gems/ruby-1.9.3-p545 with gemset kreyos-members |
This file contains 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
RuntimeError in SitesController#show | |
ERR unknown command 'hset' | |
Rails.root: /Users/Luis/Sites/infinitely/main | |
Application Trace | Framework Trace | Full Trace | |
redis (2.2.2) lib/redis/client.rb:47:in `call' | |
/Users/Luis/.rvm/gems/ruby-1.9.2-p290@infinitely/bundler/gems/rpm_contrib-694e43044d4f/lib/rpm_contrib/instrumentation/redis.rb:30:in `block in raw_call_command_with_newrelic_trace' | |
newrelic_rpm (3.1.2) lib/new_relic/agent/method_tracer.rb:242:in `trace_execution_scoped' | |
/Users/Luis/.rvm/gems/ruby-1.9.2-p290@infinitely/bundler/gems/rpm_contrib-694e43044d4f/lib/rpm_contrib/instrumentation/redis.rb:28:in `raw_call_command_with_newrelic_trace' |
This file contains 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
gem install ruby-debug19 -- -with-ruby-include=/Users/Luis/.rvm/src/ruby-1. | |
ruby-1.8.7-p302/ ruby-1.9.2-head/ ruby-1.9.2-p0/ ruby-1.9.2-p290/ | |
luis-imac:main Luis$ gem install ruby-debug19 -- -with-ruby-include=/Users/Luis/.rvm/src/ruby-1.9.2-head | |
/Users/Luis/.rvm/rubies/ruby-1.9.2-head/bin/gem:4: warning: Insecure world writable dir /usr/local in PATH, mode 040777 | |
Building native extensions. This could take a while... | |
ERROR: Error installing ruby-debug19: | |
ERROR: Failed to build gem native extension. | |
/Users/Luis/.rvm/rubies/ruby-1.9.2-head/bin/ruby extconf.rb -with-ruby-include=/Users/Luis/.rvm/src/ruby-1.9.2-head | |
checking for vm_core.h... no |
This file contains 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
$.fn.findClassWithRegex = function(regex) { | |
var results = []; | |
$(this).each(function(){ | |
if ($(this).attr('class').length>0 && $(this).attr('class').match(regex)) { | |
results.push( this ); | |
} | |
This file contains 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
doctype html | |
/[if lt IE 7] | |
| <html class="ie6"> | |
/[if IE 7] | |
| <html class="ie7"> | |
/[if IE 8] | |
| <html class="ie8"> | |
/[if IE 9] | |
| <html class="ie9"> | |
| <!--[if (gte IE 9)|!(IE)]<!--> <html> <!--<![endif]--> |
NewerOlder