Skip to content

Instantly share code, notes, and snippets.

View sanderhouttekier's full-sized avatar

Sander Houttekier sanderhouttekier

View GitHub Profile
{:meta/version 1
;; Currently, we support either "Markdown" or "Org".
;; This can overwrite your global preference so that
;; maybe your personal preferred format is Org but you'd
;; need to use Markdown for some projects.
;; :preferred-format ""
;; Preferred workflow style.
;; Value is either ":now" for NOW/LATER style,
@sanderhouttekier
sanderhouttekier / install_robomongo.sh
Created April 28, 2014 06:13
This file installs robomongo on your ubuntu / mint linux install
#!/bin/bash -e
# Script for installing Robomongo on Ubuntu.
# Copyright 2013 Binary Birch Tree
# http://www.binarybirchtree.com
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
@sanderhouttekier
sanderhouttekier / .gitignore
Created April 11, 2013 15:35
gitignore file to ignore following patterns on committing to a git repository #snippet
# node js development
lib-cov
*.seed
*.log
*.csv
*.dat
*.out
*.pid
*.gz
@sanderhouttekier
sanderhouttekier / name.sublime-project
Last active September 26, 2016 21:07
Sublime Project File #snippet #sublimetext
{
"folders":
[
// add paths per directory you want to show
{
// relative paths to the root
"path": "/",
// optionally give it a different name
"name": "My Project",
// possible folders to exclude
@sanderhouttekier
sanderhouttekier / js_hint_config.js
Created March 8, 2013 14:10
js hint config #snippet #jshintrc
{
"passfail" : false,
"maxerr" : 10000,
"browser" : true,
"node" : false,
"rhino" : false,
"couch" : false,
"wsh" : false,
@sanderhouttekier
sanderhouttekier / js_hint_config_commented.js
Last active December 14, 2015 15:49 — forked from voidfiles/js_hint_conf.js
js hint config #snippet
{
// Settings
"passfail" : false, // Stop on first error.
"maxerr" : 10000, // Maximum error before stopping.
// Predefined globals whom JSHint will ignore.
"browser" : true, // Standard browser globals e.g. `window`, `document`.
"node" : false,
/**
* @author Louis Stowasser <louisstow@gmail.com>
* License: MIT
*/
function generateTOC (rootNode, startLevel) {
var lastLevel = 0;
startLevel = startLevel || 2; //which H# tag to start indexing.
var html = "<ul>";
//FightCode can only understand your robot
//if its class is called Robot
var Robot = function(robot){
robot.clone();
robot.turn(45);
this.offset = 1;
};
Robot.prototype.onIdle = function(ev) {