Skip to content

Instantly share code, notes, and snippets.

View kuzeko's full-sized avatar
🔍
Exploring (code)

M. Lissandrini kuzeko

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

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:

@kuzeko
kuzeko / EXCEL-VBA_Edit-Embedded-Chart-Link
Created May 2, 2017 13:52
VBA Script for Macro: Editing the Embedded Chart Link in a Powerpoint Presentation
@kuzeko
kuzeko / word-co-occurence-d3.js
Created June 10, 2017 16:39
Charting Word Co-occurences like a graph in 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 / Zachary-GraphViz.dot
Created February 7, 2018 11:40
GraphViz representation of [Zachary's karate club](https://en.wikipedia.org/wiki/Zachary's_karate_club)
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 / README.md
Last active July 9, 2020 07:47
Setup Virtuoso running in a Docker container: Load data and option for RAM disk

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
@kuzeko
kuzeko / README.md
Last active October 24, 2022 18:23
Import DBpedia 2020 into Neo4j v4 with Neosemantics

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 April 13, 2024 00:17
Yago4 in Neo4j

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