Skip to content

Instantly share code, notes, and snippets.

@fabien0102
fabien0102 / gist:88dcaa184d801fd5e67a
Created March 15, 2015 09:33
Import multiple json files into mongoDB
ls -1 *.json | while read jsonfile; do mongoimport -d support -c logs -file $jsonfile --jsonArray -type json; done
@hubgit
hubgit / article-meta.txt
Last active May 30, 2018 10:39
HTML meta tags used by journal articles. ISSNs from http://www.crossref.org/titleList/ 5 DOIs of articles published in 2012 from http://search.labs.crossref.org/dois?year=2012&type=Journal+Article&rows=5&q={ISSN} 19,868 ISSNs, 96,751 files. Numbers given are number of ISSNs with that meta[name][content] (i.e. maximum is 19,868). Caveat: some of …
[citation_title] => 10193
[citation_journal_title] => 10171
[citation_volume] => 9878
[citation_pdf_url] => 9671
[citation_issue] => 9560
[citation_issn] => 9483
[citation_firstpage] => 9376
[citation_doi] => 9324
[robots] => 8939
[citation_abstract_html_url] => 8906
prefix publisher journals dois
10.12679 0 0
10.7579 123Doc Education 0 0
10.3731 21st Century COE Program (Toplogical Science and Technology) 1 40
10.5775 A. I. Rosu Cultural Scientific Foundation Fundatia cultural-stiintifica A. I. Rosu 1 80
10.4037 AACN Publishing 2 766
10.1306 AAPG/Datapages 4 21817
10.3183 AB Svensk Papperstidning 1 1550
10.5769 ABEAT - Associacao Brasileira de Especialistas em Alta Tecnologia 1 57
10.7597 ACOPIOS - Revista Iberica de Mineralogia 1 9
@emeeks
emeeks / README.md
Last active March 25, 2024 07:56 — forked from mbostock/.block
An online tool for interactive teaching of network visualization and representation principles.

The range sliders at the top change the values for the force-directed algorithm and the buttons load new graphs and apply various techniques. This will hopefully serve as a tool for teaching network analysis and visualization principles during my Gephi courses and general Networks in the Humanities presentations.

Notice this includes a pretty straightforward way to load CSV node and edge lists as exported from Gephi.

It also includes a pathfinding algorithm built for the standard data structure of force-directed networks in D3. This requires the addition of .id attributes for the nodes, however.

Now with Clustering Coefficients!

Also, it loads images for nodes but the images are not in the gist. The code also refers to different network types but the data files on Gist only refer to the transportation network.