Inspired by Trulia Trends - but with code and using SVG.
Example data shows concurrent user sessions over time, taken from a development environment.
Inspired by Trulia Trends - but with code and using SVG.
Example data shows concurrent user sessions over time, taken from a development environment.
Map Visualization of Bantu (Narrow Bantoid) Languages.
The darker the color, the more "ancient" the language (more direct descendent of the original Proto-Bantu language).
Map data from MBostock's TopoJSON, language data from Glottolog. You can zoom in with the mouse wheel and move the map. A click on a language will open a link to its Glottolog page.
D3 2.5.0 supports matrix decomposition for animating 2D transforms. Any SVG transform attribute is decomposed into a canonical representation of translate, rotate, scale and skew. This allows two arbitrary transforms of different types to be transitioned smoothly—say from a simple translate to a scale plus rotate. These features are supported automatically by your browser for CSS3 transitions, but now you can have them in JavaScript for SVG, too!
Guthrie's Classification of Bantu Languages
This visualisation does not contain all Bantu languages but only those where the Wikipedia article contains the Guthrie classification.
White circles are languages without Guthrie code or where the Guthrie code has not been entered yet into DBPedia.
Each circle contains a hyperlink to the corresponding Wikipedia article.
Map data from MBostock's TopoJSON, language data from Glottolog and DBPedia.
#! /bin/bash | |
usage="\nWill google the error message from COMMAND, using Firefox. | |
\nUsage: COMMAND |& $0 \n or COMMAND 2>&1 >/dev/null | $0 (to silence STDIN) \n or $0 ERROR_MESSAGE" | |
if [ "$*" ] ; then | |
input="$*" | |
else | |
read -t0.2 -d'' -r input | |
fi |
#! /bin/bash | |
if [ "$1" ] ; then exec < "$1" ; fi | |
test "$1" && exec < "$1" | |
echo $1 |
[{"name": "Abe", "long": "5.59682", "iso2": "", "iso": "aba", "lat": "-4.38497", "iso_jw": "aba", "iso3b": ""}, {"name": "Abkhazian", "long": "42.2334", "iso2": "ab", "iso": "abk", "lat": "41.2963", "iso_jw": "ab", "iso3b": ""}, {"name": "Abua", "long": "4.83057", "iso2": "", "iso": "abn", "lat": "6.61492", "iso_jw": "abn", "iso3b": ""}, {"name": "Inabaknon", "long": "12.4264", "iso2": "", "iso": "abx", "lat": "124166", "iso_jw": "abx", "iso3b": ""}, {"name": "Abui", "long": "-8.31058", "iso2": "", "iso": "abz", "lat": "124588", "iso_jw": "abz", "iso3b": ""}, {"name": "Saint Lucian Creole French", "long": "15.3947", "iso2": "", "iso": "acf", "lat": "-61.3641", "iso_jw": "acf", "iso3b": ""}, {"name": "Acoli", "long": "3.57738", "iso2": "", "iso": "ach", "lat": "32.5147", "iso_jw": "ach", "iso3b": ""}, {"name": "Achi", "long": "15073", "iso2": "", "iso": "acr", "lat": "-90.3513", "iso_jw": "acr", "iso3b": ""}, {"name": "Adangme", "long": "5.9437", "iso2": "", "iso": "ada", "lat": "0.13243", "iso_jw": "ada", "is |
# do not save commands in history that are pwd or clear or that have only one or two letters or that are duplicates | |
export HISTIGNORE="pwd:clear:?:??:&" | |
# do not save sequences of duplicates or commands starting with a space | |
HISTCONTROL=ignoredups:ignorespace | |
# append to the history file, don't overwrite it | |
shopt -s histappend | |
# for setting history length see HISTSIZE and HISTFILESIZE in bash(1) | |
HISTSIZE=100000 |
# download Springer Link Books via University Proxy and add the ".pdf" file ending | |
export http_proxy="http://proxy.zfn.uni-bremen.de:3128"; | |
wget -r -l 1 --reject html,js,css,jpg,png --proxy-user STUD_IP_USERNAME --proxy-passwd STUD_IP_PASSWORD LINK_TO_BOOK; | |
for i in link.springer.com/content/pdf/*; | |
do j=`echo $i | cut -f 1`; j=$j".pdf"; |