Skip to content

Instantly share code, notes, and snippets.


Marcus Ramberg marcusramberg

View GitHub Profile
View hoho
merrily around the mistletoe
Merrily we go.. Around and around we are spinning, faster and faster as the years go by
View gist:9024518
while i <= blogs_count
feeds << blogs[i]
View gist:9032876
wirc@wirc:~/convos$ CONVOS_REDIS_URL=redis:// MOJO_MODE=production ./vendor/bin/carton exec -- hypnotoad -f script/convos
Server available at
Mojo::Reactor::EV: Timer 70c90200485c62b61b8b2f7b8cdb3f64 failed: Mojo::IOLoop::Delay: Can't call method "req" on an undefined value at /home/wirc/convos/local/lib/perl5/Mojolicious/ line 261.
256: }
257: $self->tx->resume;
258: return $self;
259: }
261: sub req { shift->tx->req }
262: sub res { shift->tx->res }
View gist:9039077
Call for papers / Call for speakers - Mojoconf 2014
* CfP Mojoconf 2012
* Date: 2014-03-24
* Deadline: 2014-03-15
* Submit 20min/40min talks:
As previously announced the first Mojolicious related conference ever, Mojoconf 2014, will be hosted by in Oslo, Norway during the weekend of May 23rd to 25th.
View gist:9266063
npm http GET
npm http GET
npm http GET
npm http GET
npm http GET
npm http GET
npm http GET
npm http GET
npm http 304
View gist:9388398
You CHOSE Hoefler Text italic
#<struct Font::BuiltinFont name="Hoefler Text", style="regular", postscript_name="HoeflerText-Regular">
You CHOSE Avenir Condensed bold
#<struct Font::BuiltinFont name="Avenir Condensed", style="bold", postscript_name="AvenirNextCondensed-DemiBold">
You CHOSE Hoefler Text bold-italic
#<struct Font::BuiltinFont name="Hoefler Text", style="bold-italic", postscript_name="HoeflerText-BlackItalic">
You CHOSE Didot bold-italic
#<struct Font::BuiltinFont name="Didot", style="regular", postscript_name="Didot">
View gist:9932568
> ssh -vvv stagolee
OpenSSH_6.2p2, OSSLShim 0.9.8r 8 Dec 2011
debug1: Reading configuration data /Users/marcus/.ssh/config
debug1: /Users/marcus/.ssh/config line 1: Applying options for *
debug1: /Users/marcus/.ssh/config line 36: Applying options for stagolee
debug1: Reading configuration data /etc/ssh_config
debug1: /etc/ssh_config line 20: Applying options for *
debug1: /etc/ssh_config line 53: Applying options for *
debug2: ssh_connect: needpriv 0
debug1: Executing proxy command: exec ssh -W stagolee:22
View gist:9950312
var factor = container.width() / alignment.cropW;
var img = headerImage.find('img');
var croppedCss = {
top: 0-Math.floor(alignment.cropY*factor),
left: 0-Math.floor(alignment.cropX*factor),
position: 'relative'
View gist:9988494
### Keybase proof
I hereby claim:
* I am marcusramberg on github.
* I am marcus ( on keybase.
* I have a public key whose fingerprint is 952A AFAF 7BDD 5C91 978F 971B 97CE F137 E11E 2F92
To claim this, I am signing this object:
View gist:11245478
Fetching gem metadata from
Fetching additional metadata from
Using rake 10.1.1
Using i18n 0.6.9
Using multi_json 1.8.4
Using activesupport 3.2.16
Using builder 3.0.4
Using activemodel 3.2.16
Using airbrake 3.1.15
Using json 1.8.1