Skip to content

Instantly share code, notes, and snippets.

Wiktor wisniewski94

Block or report user

Report or block wisniewski94

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
docker container ls # List containers
docker restart <container> # Restart container
docker stop $(docker ps -aq) # Stop all containers
docker rm $(docker ps -a -q) # Remove all containers
View generateTree.js
class Node {
constructor(parent, id) { = id;
this.child = [];
this.parent = parent;
setChild(child) {
wisniewski94 /
Created May 21, 2019 — forked from jtrefry/
Configuring Windows 10 (64-bit) for npm and node-gyp
  • Install Git for Windows
  • Install Node
  • Install Python 2.7.3
  • Install Microsoft Visual Studio 2015 Community
  • Open the command prompt as Administrator, run the following commands, then close the command prompt (a new prompt is required before the new environment variables will be available)
    • npm install -g npm
      • (Upgrades to npm v3, which no longer nests dependencies indefinitely. No more "maximum path length exceeded" errors due to the 260 character path limit in Windows, or needing to delete node_modules with rimraf.)
    • setx PYTHON C:\Python27\python.exe /m
      • (May need to change path to your custom install directory.)
  • Open a new command prompt and run the following commands. If these install without errors, you have bypasse
View canvas-delaunay-triangulation.html
<head><title>Canvas Delaunay Triangulation</title></head>
<script type="text/javascript">
var img = new Image();
img.onload = init;
img.src = './bg_10.jpg';
var display, source;
var points = [], drew = [];
You can’t perform that action at this time.