Skip to content

Instantly share code, notes, and snippets.

View mvlwn's full-sized avatar

Martijn van Leeuwen mvlwn

View GitHub Profile
@mvlwn
mvlwn / tweakers.css
Last active October 17, 2017 12:39
Tweakers TDS PriceComparator theme
/* Elements */
body {
min-width: 275px;
}
h1 {
display: none;
}
@mvlwn
mvlwn / docker-coreos-redis-setup.md
Last active March 14, 2016 19:39
CoreOS Redis net config

Cloud Config setup

write_files:
- path: "/etc/sysctl.d/net.conf"
  content: net.core.somaxconn=1024
- path: "/etc/sysctl.d/vm.conf"
  content: vm.overcommit_memory=1
coreos:
  units:
 - name: docker-tcp.socket
@mvlwn
mvlwn / game.rb
Last active August 29, 2015 14:09
Tijn's Game of Life
#!/usr/bin/env ruby
module Printer
def print(str)
puts str
end
end
class Game