Skip to content

Instantly share code, notes, and snippets.

View dmecke's full-sized avatar

Daniel Mecke dmecke

View GitHub Profile
@dmecke
dmecke / install_chrome_driver
Created September 28, 2017 06:17 — forked from thotmx/install_chrome_driver
Install chromedriver in Ubuntu (14.04)
$ sudo apt-get install chromium-chromedriver
$ sudo ln -s /usr/lib/chromium-browser/chromedriver /usr/bin/chromedriver
@dmecke
dmecke / Creep.ts
Last active November 29, 2016 06:36
The compiler complains about "property 'state' does not exist on type 'Creep'''. It seems main.ts knows about the interface, but not about the implementation. Or is it the other way around?
// src/Screeps/Creep.ts
Creep.prototype.role = function() {
return this.memory.role;
};

Whenever you are tempted to type something into a print statement or a debugger expression, write it as a test instead.

Martin Fowler

@dmecke
dmecke / gist:4666939
Last active December 11, 2015 22:08
Dynamic Tactics

Please scroll down for german, spanish and italian version!

@dmecke
dmecke / gist:4666790
Last active December 11, 2015 21:59
The Onlinetennis Matchengine

Please scroll down for a german and spanish version!