I hereby claim:
- I am radius on github.
- I am radiusradius (https://keybase.io/radiusradius) on keybase.
- I have a public key ASCI3mciiym429J8Y6dW3tPZsjKkK7kHYkiJ6mty5W6z1go
To claim this, I am signing this object:
user_data = XFlow::User.all.map do |u| | |
name = u.name | |
email = u.email | |
num_graphs = XFlow::Graph.user(u).count | |
num_watchlists = 0 | |
XFlow::Chain.xflow_supported_chains.each do |c| | |
num_watchlists += XFlow::Watchlist.chain(c).where(user: u).count | |
end | |
[name, email, num_graphs, num_watchlists] | |
end |
service ExposureChartService { | |
rpc GetExposureChart (GetExposureChartRequest) returns (GetExposureChartResponse); | |
rpc GetExposureInfluencingAddresses (GetExposureInfluencingAddressesRequest) returns (GetExposureInfluencingAddressesResponse); | |
} | |
message GetExposureChartRequest { | |
string network_name = 1; | |
string address = 2; | |
} |
I hereby claim:
To claim this, I am signing this object:
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>Simple XHR Example</title> | |
<script type="text/javascript"> | |
function reqListener () { | |
var jsonResponse = JSON.parse(this.responseText); | |
var characters = jsonResponse.data.results; |
import React, { Component } from 'react'; | |
import './App.css'; | |
class App extends Component { | |
render() { | |
return ( | |
<TodoList /> | |
) | |
} | |
} |
import premailer | |
def parse_template_tags(input_str): | |
""" Premailer encodes paths in the src attribute of images, so we have to swap them out w original values here """ | |
mapping = ( | |
('%7B%7B%20', '{{ '), ('%20%7D%7D', ' }}'), | |
('%7B%7B', '{{ '), ('%7D%7D', ' }}'), | |
) | |
for k, v in mapping: |
https://jsfiddle.net/#&togetherjs=15bbxQITu0 |
$.fn.isOnScreen = function(){ | |
var win = $(window); | |
var viewport = { | |
top : win.scrollTop(), | |
left : win.scrollLeft() | |
}; | |
viewport.right = viewport.left + win.width(); | |
viewport.bottom = viewport.top + win.height(); | |
var bounds = this.offset(); |
[ | |
{ | |
"class": "label_control", | |
"color": [255, 255, 255], | |
"shadow_color": [24, 24, 24], | |
"shadow_offset": [0, -1] | |
}, | |
{ | |
"class": "button_control", | |
"content_margin": [6, 5, 6, 6], |
var urlParams = (function () { | |
var _params={}, | |
e, | |
a = /\+/g, // Regex for replacing addition symbol with a space | |
r = /([^&=]+)=?([^&]*)/g, | |
d = function (s) { return decodeURIComponent(s.replace(a, " ")); }, | |
q = window.location.search.substring(1); | |
while (e = r.exec(q)) { | |
_params[d(e[1])] = d(e[2]); |