Skip to content

Instantly share code, notes, and snippets.

View lukgri's full-sized avatar

Lukáš Grieger lukgri

View GitHub Profile
@lukgri
lukgri / History|-10484fb5|entries.json
Last active December 9, 2022 15:48
Visual Studio Code Settings Sync Gist
{"version":1,"resource":"file:///Users/lukas/Documents/proj/ppl/pipeliner-api/tests/entities/test_client.py","entries":[{"id":"4cxd.py","timestamp":1659624621308}]}
@lukgri
lukgri / dijkstra.js
Created December 31, 2015 11:57 — forked from coltrane/dijkstra.js
An implementation of Dijkstra's path-finding algorithm in javascript.
function node(name) {
if (node.all[name]) { return node.all[name]; }
if (!(this instanceof node)) { return new node(name); }
node.all[name] = this;
this.name = name;
this.links = [];
this.toString = function() { return name; }
}
node.all = {};