Skip to content

Instantly share code, notes, and snippets.

View franklinbaldo's full-sized avatar

Franklin Silveira Baldo franklinbaldo

  • Procuradoria Geral do Estado de Rondônia
  • Porto Velho, Rondônia
  • X @franklinbaldo
View GitHub Profile
@franklinbaldo
franklinbaldo / data.csv
Last active May 3, 2020 11:41 — forked from jfreels/README.md
d3js: Create a table using data from a CSV file.
variable aror asd maxdd
Convertible Arbitrage 0.0770203710991655 0.0694461870173684 -0.292688394529575
CTA Global 0.0767109922711062 0.0870559916457339 -0.11676813742079
Distressed Securities 0.0975096216543971 0.0635590261337229 -0.229232535454022
Emerging Markets 0.0936124939942315 0.133615370977481 -0.359789528051813
Equity Market Neutral 0.0739359541312794 0.031197069331753 -0.110823378150652
Event Driven 0.093190424075422 0.0635679064016912 -0.200817391305532
Fixed Income Arbitrage 0.0506750901161104 0.0490908049045477 -0.178792725850406
Global Macro 0.0942083012167199 0.0589577044136273 -0.0792292782044611
Long Short Equity 0.0940147333764296 0.0768123568274029 -0.218197216318131
@franklinbaldo
franklinbaldo / data.csv
Last active May 3, 2020 11:27 — forked from drupal-spider/License.txt
D3.js Sortable & Responsive Table
First Name Last Name Job Title Favorite Color Wars or Trek? Porn Name Date of Birth Dream Vacation City GPA Arbitrary Data
James Matman Chief Sandwich Eater Lettuce Green Trek Digby Green January 13, 1979 Gotham City 3.1 RBX-12
The Tick Crimefighter Sorta Blue Wars John Smith July 19, 1968 Athens N/A Edlund, Ben (July 1996).
Jokey Smurf Giving Exploding Presents Smurflow Smurf Smurflane Smurfmutt Smurfuary Smurfteenth, 1945 New Smurf City 4.Smurf One
Cindy Beyler Sales Representative Red Wars Lori Quivey July 5, 1956 Paris 3.4 3451
Captain Cool Tree Crusher Blue Wars Steve 42nd December 13, 1982 Las Vegas 1.9 Under the couch
@franklinbaldo
franklinbaldo / data.csv
Last active May 3, 2020 04:43 — forked from seemantk/README.md
Table with hyperlinks
Title URL Data Change
A http://localhost/A.html 1
B http://localhost/B.html -2
C http://localhost/C.html 0
D http://localhost/D.html 12
E http://localhost/E.html -9
@franklinbaldo
franklinbaldo / channel-shift.json
Created April 15, 2020 23:19 — forked from tomshanley/channel-shift.json
Sankey chart with links sorted by category
{"nodes":[
{"name":"Face-to-Face 2014"},
{"name":"Contact Centre 2014"},
{"name":"Digital 2014"},
{"name":"Face-to-Face 2020"},
{"name":"Contact Centre 2020"},
{"name":"Digital 2020"},
{"name":"Removed 2020"}
],
"links":[
@franklinbaldo
franklinbaldo / google-form-to-github-issue.md
Created September 22, 2018 22:38 — forked from bmcbride/google-form-to-github-issue.md
Create a new GitHub Issue from a Google Form submission

Wiring up a Google Form to GitHub is not that difficult with a little bit of Apps Script automation. All you need is a Google account, a GitHub account, and a web browser...

Set up your GitHub Personal Access Token

Personal access tokens provide an easy way to interact with the GitHub API without having to mess with OAuth. If you don't already have a personal access token with repo or public_repo access, visit your GitHub settings page and generate a new token.

Be sure to copy your token some place safe and keep it secure. Once generated, you will not be able to view or copy the token again.

Set up the Form & Spreadsheet

  1. Create a Google Form.
@franklinbaldo
franklinbaldo / export-to-csv.gs
Last active April 26, 2020 16:14 — forked from mderazon/export-to-csv.gs
Google apps script to export to individual csv files all sheets in an open spreadsheet
function myFunction() {
var ss = SpreadsheetApp.getActive();
var sheet = ss.getSheetByName("orange");
var range = sheet.getRange("1:1").getValues();
var titles = range[0];
var a1range = "A1:A";
var a1array = [];
a1range = a1range +titles.length*titles.length;
var b1range = "B1:B";