Temporary steps to get tenjin.pw domain working.
Provision the vm if it isn't already up:
salt-cloud -m /srv/cloud/maps/tenjin.map
If you just did this, you'll need to create A records and all that jazz.
I hereby claim:
To claim this, I am signing this object:
| lloyd = { | |
| "name": "Lloyd", | |
| "homework": [90.0, 97.0, 75.0, 92.0], | |
| "quizzes": [88.0, 40.0, 94.0], | |
| "tests": [75.0, 90.0] | |
| } | |
| alice = { | |
| "name": "Alice", | |
| "homework": [100.0, 92.0, 98.0, 100.0], | |
| "quizzes": [82.0, 83.0, 91.0], |
| scheduler = Rufus::Scheduler.new | |
| def do_something | |
| puts 'Something.' | |
| end | |
| scheduler.every "24h", :first_at => Time.now do | |
| do_something | |
| end |
I can’t even say what’s wrong with PHP, because— okay. Imagine you have uh, a toolbox. A set of tools. Looks okay, standard stuff in there. You pull out a screwdriver, and you see it’s one of those weird tri-headed things. Okay, well, that’s not very useful to you, but you guess it comes in handy sometimes. You pull out the hammer, but to your dismay, it has the claw part on both sides. Still serviceable though, I mean, you can hit nails with the middle of the head holding it sideways. You pull out the pliers, but they don’t have those serrated surfaces; it’s flat and smooth. That’s less useful, but it still turns bolts well enough, so whatever. And on you go. Everything in the box is kind of weird and quirky, but maybe not enough to make itcompletely worthless. And there’s no clear problem with the set as a whole; it still has all the tools. Now imagine you meet millions of carpenters using this toolbox who tell you “well hey what’s the problem with these tools? They’re all I’ve ever used and they work fine!
| docker ps | grep cincstats | awk {'print $1'} | xargs docker stop || : && docker run -d -p 8080:3030 cincstats/deploy:latest |
| var linearScale = d3.scale.linear() | |
| .domain([d3.min(dataset, function (f) {return parseInt(f.total);}), d3.max(dataset, function (f) {return parseInt(f.total);})]) | |
| .range([0, 100]); | |
| var svgContainer = d3.select("#select").append('svg') | |
| .attr("width", 1000) | |
| .attr("height", 1000) | |
| .style("border", "black solid 1px"); | |
| var svgCircles = svgContainer.selectAll("circle") |