Skip to content

Instantly share code, notes, and snippets.

Avatar
🔍
Exploring (code)

M. Lissandrini kuzeko

🔍
Exploring (code)
View GitHub Profile
@kuzeko
kuzeko / README.md
Last active Nov 17, 2020
Import DBpedia 2020 into Neo4j v4 with Neosemantics
View README.md

Import DBpedia 2020 into Neo4j v4 with Neosemantics

  1. Prerequisite: OpenJDK 11. If you run ubuntu with root you can use

    apt-get install default-jdk
    

    Otherwise, consider using docker : https://hub.docker.com/_/openjdk

@kuzeko
kuzeko / README.md
Last active Mar 28, 2021
Yago4 in Neo4j
View README.md

Import Yago4 into Neo4j v4 with Neosemantics

  1. Prerequisite: OpenJDK 11. If you run ubuntu with root you can use

    apt-get install default-jdk
    

    Otherwise, consider using docker : https://hub.docker.com/_/openjdk

@kuzeko
kuzeko / README.md
Last active Jul 9, 2020
Setup Virtuoso running in a Docker container: Load data and option for RAM disk
View README.md

A Docker container running Virtuoso

Lately I've been using Virtuoso for running some SPARQL. Here is my quick setup. (This has been posted also on my personal page)

Setup Docker container for virtuoso

    docker pull openlink/virtuoso-opensource-7:latest
View Zachary-GraphViz.dot
graph G {
node [shape=box, fixedsize=true, width=0.7, fontname="Arial"]
size="10,10";
edge[arrowhead="none"];
ratio=compress;
subgraph cluster_0 {
node [style="rounded,filled",color=lightblue];
style="";
9
@kuzeko
kuzeko / word-co-occurence-d3.js
Created Jun 10, 2017
Charting Word Co-occurences like a graph in D3.js
View word-co-occurence-d3.js
var customCss = 'svg{border:1px solid red;display:block;background:#fcfcff}'
+'.node circle{fill:#aaa;stroke:#fff;stroke-width:1px}.link{stroke:#335;stroke-width:1px}'
+'.red circle{fill:#439}.node text{pointer-events:none;font:12px sans-serif;fill:#338}';
document.write("<style>"+customCss+"</style>");
var head = document.getElementsByTagName('head')[0];
var s = document.createElement('style');
s.setAttribute('type', 'text/css');
if (s.styleSheet) { // IE
@kuzeko
kuzeko / EXCEL-VBA_Edit-Embedded-Chart-Link
Created May 2, 2017
VBA Script for Macro: Editing the Embedded Chart Link in a Powerpoint Presentation
View EXCEL-VBA_Edit-Embedded-Chart-Link
View keybase.md

Keybase proof

I hereby claim:

  • I am kuzeko on github.
  • I am kuzeko (https://keybase.io/kuzeko) on keybase.
  • I have a public key whose fingerprint is 9B42 DC62 FB5F 3F03 1FFA 07E4 68B2 E1BB DB1B F4EC

To claim this, I am signing this object:

View titles-extractor.js
var titles = [];
$('#bodyContent a[title], .toctext')
.not('[title*=":"]')
.each(function(){
if($(this).text().length > 2) {
titles.push($(this).text())
}
});
var rexp = new RegExp("\\\"(.+)\\\"", "g");