Skip to content

Instantly share code, notes, and snippets.

@imjasonh
imjasonh / markdown.css
Last active May 24, 2024 22:56
Render Markdown as unrendered Markdown (see http://jsbin.com/huwosomawo)
* {
font-size: 12pt;
font-family: monospace;
font-weight: normal;
font-style: normal;
text-decoration: none;
color: black;
cursor: default;
}
@StephanHoyer
StephanHoyer / gist:bddccd9e159828867d2a
Last active March 29, 2022 11:46
Isomorphic applications with mithril

Attention

This post described how to create an application with mithril 0.2.x. Now that ver 1.0 is out, some things are a little differnent.

The example is updated with the current version of mithril, though.

Isomorphic applications with mithril

@willurd
willurd / web-servers.md
Last active July 12, 2024 11:21
Big list of http static server one-liners

Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.

Discussion on reddit.

Python 2.x

$ python -m SimpleHTTPServer 8000
@mrnugget
mrnugget / instructions.sh
Last active March 16, 2016 20:12
Installing Riak 1.2.1 on OS X Mountain Lion with Erlang R15B01
$ brew update
$ cd `brew --prefix`
# Use erlang formula for Erlang R15B01
$ git checkout 6b8d25f Library/Formula/erlang.rb
$ brew install erlang
# Reset formula
$ git reset HEAD Library/Formula/erlang.rb
$ git checkout -- Library/Formula/erlang.rb
@wr0ngway
wr0ngway / backup_sdb.rb
Created March 20, 2012 20:25
script to backup all simpledb tables from a given aws account
#!/usr/bin/env ruby
# Add your gems here
#
gemfile_contents = <<-EOF
source "http://rubygems.org"
gem "fog"
gem "yajl-ruby"
EOF
@schacon
schacon / gist:942899
Created April 26, 2011 19:19
delete all remote branches that have already been merged into master
$ git branch -r --merged |
grep origin |
grep -v '>' |
grep -v master |
xargs -L1 |
awk '{split($0,a,"/"); print a[2]}' |
xargs git push origin --delete
German Rubygems Mirror Project:
Mögliche Konfiguration bei hetzner:
one-time monthly
EQ8 149,- 89,- # Intel® Core™ i7-920 Quad-Core,24 GB DDR3 RAM, 2x 1.5TB SATA
Gbit-Port 39,- # inkl 10 TB traffic
FlexPack 15,- # nicht sicher ob notwendig für Gbit-Port
=======================================
149,- 143,- (Eur)