Built with blockbuilder.org
forked from hyonschu's block: Tufte Minimal Line Plot
//Paste this function in DevTools console inside Discord | |
/** | |
* Delete all messages in a Discord channel or DM | |
* @param {string} authToken Your authorization token | |
* @param {string} authorId Author of the messages you want to delete | |
* @param {string} channelId Channel were the messages are located | |
* @param {string} afterMessageId Only delete messages after this, leave blank do delete all | |
* @author Victornpb <https://www.github.com/victornpb> | |
* @see https://gist.github.com/victornpb/135f5b346dea4decfc8f63ad7d9cc182 |
Built with blockbuilder.org
forked from hyonschu's block: Tufte Minimal Line Plot
Built with blockbuilder.org
forked from hyonschu's block: fresh block
forked from hyonschu's block: Tufte slopegraph
d3.csv('cancer_survival_rates.csv', function(csv) { | |
var dataset = [] | |
for (var i=0; i<csv.length; i++) { | |
// console.log(data[i]) | |
dataset.push( csv[i] ) | |
} | |
// // layout variables | |
var pad = 50; | |
var hh = 1200; |
// GO AHEAD AND POPULATE THE TEXT | |
var unstack = function(obj) { | |
var tmp = Math.round(obj); | |
if (tmplist.indexOf(tmp)>=0) { | |
while (tmplist.indexOf(tmp)>=0) { | |
tmp++ | |
} | |
tmplist.push(tmp) | |
} else { |
<!DOCTYPE html> | |
<html> | |
<head><meta charset="UTF-8"> | |
<title>Page Titles</title> | |
<script src='lib/d3.min.js'> | |
</script> | |
<style> | |
div.bar { | |
display: inline-block; | |
width: 20px; |
""" | |
this was done using make sysinstall on a Retina MacBook Pro 2015 | |
""" | |
### in ipython ### | |
args = parser.parse_args() | |
### output | |
2016-02-15 10:59:21,891 - neon.backends.nervanacpu - WARNING - Problems inferring BLAS info, CPU performance may be suboptimal |
<?xml version="1.0" encoding="UTF-8" ?> | |
<!-- | |
Licensed to the Apache Software Foundation (ASF) under one or more | |
contributor license agreements. See the NOTICE file distributed with | |
this work for additional information regarding copyright ownership. | |
The ASF licenses this file to You under the Apache License, Version 2.0 | |
(the "License"); you may not use this file except in compliance with | |
the License. You may obtain a copy of the License at | |
http://www.apache.org/licenses/LICENSE-2.0 |
[ Launch: Tributary inlet ] 1b5b7cb733c86dcab962 by hyonschu[ Launch: Tributary inlet ] 17c37f56a32927085669 by hyonschu
[ Launch: Tributary inlet ] 17c37f56a32927085669 by hyonschu