I hereby claim:
- I am lewang on github.
- I am lewang (https://keybase.io/lewang) on keybase.
- I have a public key whose fingerprint is 4C0E 7DF7 6470 B368 3826 0B57 71E6 6022 844C 9238
To claim this, I am signing this object:
(def le-ssh-keys (circle.bitbucket.client/user-ssh-keys (circle.model.user.bitbucket/get-bitbucket-access-token! le) "lewang")) | |
CompilerException clojure.lang.ExceptionInfo: clj-http: status 404 {:status 404, :headers {"X-Accepted-OAuth-Scopes" "account", "Server" "nginx/1.6.2", "Content-Type" "text/plain; charset=utf-8", "Content-Length" "71", "X-Frame-Options" "SAMEORIGIN", "Strict-Transport-Security" "max-age=31536000", "Connection" "close", "X-Request-Count" "3", "X-Version" "cee7bedf65a1", "ETag" "\"277d9861243763e579a650af3e672d7b\"", "X-Static-Version" "cee7bedf65a1", "X-OAuth-Scopes" "webhook, pullrequest, repository:admin, repository:write, project:write, team, account:write", "Date" "Fri, 06 May 2016 18:15:59 GMT", "Vary" "Authorization, Cookie", "X-Render-Time" "0.0313320159912", "X-Served-By" "app-113"}, :body "This API has been deprecated and is not available through OAuth2 or JWT", :request-time 314, :trace-redirects ["https://api.bitbucket.org/1.0/users/lewang/ssh-keys"], :orig-content-encoding |
var util = require("util"); | |
var request = require('request'); | |
var apiKey = process.env.CIRCLE_KEY; | |
var org = "circleci"; | |
var project = "circle"; | |
var branch = "master"; | |
function getArtifacts(buildNum) { |
I hereby claim:
To claim this, I am signing this object:
Using transition.transition to chain transitions and transition.each to apply a transition to a selection. Compare to using explicit delays. In response to a Stack Overflow question.
By adding transitions, we can more easily follow the elements as they are entered, updated and exited. Separate transitions are defined for each of the three states.
Note that no transition is applied to the merged enter + update selection; this is because it would supersede the transition already scheduled on entering and updating elements. It's possible to schedule concurrent elements by using transition.transition or by setting transition.id
, but it's simpler here to only transition the x-position on update; for entering elements, the x-position is assigned statically.
Want to read more? Try these tutorials:
This grouped bar chart is constructed from a CSV file storing the populations of different states by age group. The chart employs conventional margins and a number of D3 features:
This simple bar chart is constructed from a TSV file storing the frequency of letters in the English language. The chart employs conventional margins and a number of D3 features:
window.onload=function(){ | |
var data = [-15, 20, -22, 18, -2, 6, -26, 18], | |
duration = 300; | |
var margin = {top: 30, right: 10, bottom: 10, left: 30}, | |
width = 320 - margin.left - margin.right, | |
height = 250 - margin.top - margin.bottom; | |
var y0 = Math.max(Math.abs(d3.min(data)), Math.abs(d3.max(data))); | |
var y = d3.scale.linear() |
{ | |
"question_id": "servings_fruits", | |
"question_type_id": "feedback_icon_boxes", | |
"translations": { | |
"en": { | |
"label": "What is a “serving” of fruits and vegetables" | |
} | |
}, | |
"feedback_sections": [ | |
{ |