Skip to content

Instantly share code, notes, and snippets.

Avatar

Eamon Woortman eamonwoortman

  • The Netherlands
View GitHub Profile
@eamonwoortman
eamonwoortman / algorith-visualizer-intervaltree-insert-range.js
Last active Apr 9, 2021
algorith-visualizer-intervaltree-insert-range
View algorith-visualizer-intervaltree-insert-range.js
// import visualization libraries {
const { Tracer, LogTracer, Array1DTracer, Randomize, Layout, VerticalLayout } = require('algorithm-visualizer');
// }
// define tracer variables {
const arrayTracer = new Array1DTracer('Array');
const logTracer = new LogTracer("LogTracer");
const insertArrayTracer = new Array1DTracer('InsertArray');
Layout.setRoot(new VerticalLayout([arrayTracer, insertArrayTracer, logTracer]));
// }
@eamonwoortman
eamonwoortman / electron.ts
Created Mar 14, 2021
Serving static folder with electron-forge - workaround
View electron.ts
import { app, BrowserWindow } from 'electron';
declare const MAIN_WINDOW_WEBPACK_ENTRY: any;
// Handle creating/removing shortcuts on Windows when installing/uninstalling.
if (require('electron-squirrel-startup')) { // eslint-disable-line global-require
app.quit();
}
// logging
import log from 'electron-log';
View keybase.md

Keybase proof

I hereby claim:

  • I am eamonwoortman on github.
  • I am eawo (https://keybase.io/eawo) on keybase.
  • I have a public key ASBuczlufLFTWm-mMdmLxlIOuXur8k429fmQXgBjSCrsdwo

To claim this, I am signing this object: