Code by Robin Wieruch copied from his article
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var actualCharacterIndex = -1; | |
var alphabet = 'abcdefghijklmnopqrstuvwxyz!?1234567890 '; | |
var word = window.prompt('Please a word or sentence you think is funny', | |
'badibaduba'); | |
function setup() { | |
colorMode(HSB, alphabet.length, word.length, 1, 1); | |
createCanvas(windowWidth, windowHeight); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function setup() { | |
createCanvas(windowWidth, windowHeight); | |
textFont('Georgia'); | |
textSize(2100); | |
text('&', 10, 1000); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var rows = []; | |
var gridSquareSize = 20; | |
function setup() { | |
createCanvas(windowWidth, windowHeight); | |
rectMode(CENTER); | |
stroke(255); | |
var amountOfRows = Math.max(windowHeight / gridSquareSize); | |
var amountOfColumns = Math.max(windowWidth / gridSquareSize); | |
for (let rowIndex = 0; rowIndex < amountOfRows; rowIndex++) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Copyright (c) 2017 Lucas Vogel (@vogelino) | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal | |
in the Software without restriction, including without limitation the rights | |
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
copies of the Software, and to permit persons to whom the Software is | |
furnished to do so, subject to the following conditions: | |
The above copyright notice and this permission notice shall be included in all |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Commit using commitizen | |
commit-with-commitizen() { | |
if [[ $(command-exists "git-cz") -eq 0 ]]; then | |
npm install --global commitizen | |
fi | |
git-cz | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const cleanString = (s) => s.trim(); | |
const upperCaseFirstLetter = (s) => s.charAt(0).toUpperCase() + s.slice(1); | |
const prepareTopics = (topics) => | |
topics.map((t) => cleanString(upperCaseFirstLetter(t))).join(","); | |
const createRow = ({ name, description, html_url, topics }) => | |
[ | |
`"${name}"`, |
We can't make this file beautiful and searchable because it's too large.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"Main ID","Incident ID","Incident Type","Region of Incident","Incident Date","Incident year","Reported Month","Number of Dead","Minimum Estimated Number of Missing","Total Number of Dead and Missing","Number of Survivors","Number of Females","Number of Males","Number of Children","Region of Origin","Cause of Death","Migration route","Location of death","Information Source",Coordinates,"UNSD Geographical Grouping","Article title","Source Quality",URL | |
2014.MMP00001,2014.MMP00001,Incident,"North America",2014-01-06,2014,January,1,,1,,,1,,"Central America","Mixed or unknown","US-Mexico border crossing","Pima Country Office of the Medical Examiner jurisdiction, Arizona, USA (see coordinates for exact location)","Pima County Office of the Medical Examiner (PCOME)","POINT (-110.366453 31.650259)","Northern America",,5,http://humaneborders.info/ | |
2014.MMP00002,2014.MMP00002,Incident,"North America",2014-01-12,2014,January,1,,1,,,,,"Latin America / Caribbean (P)","Mixed or unknown","US-Mexico border crossing","Pima Cou |
Code by Robin Wieruch copied from his article
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Antonia | |
Hans | |
Karla | |
Jens | |
Paul | |
Mohammed | |
Jalen | |
Witney | |
Anick | |
Guadalupe |
OlderNewer