Skip to content

Instantly share code, notes, and snippets.

tmux cheatsheet

As configured in my dotfiles.

start new:

tmux

start new with session name:

curl -d "param1=value1&param2=value2" http://example.com/resource.cgi
curl -X POST http://example.com
curl -X GET http://sample.com
send an xml file
curl –header ‘content-type: text/xml’ –data @request.xml -X POST http://127.0.0.1
#!/usr/bin/env perl
use strict;
@atoomic
atoomic / gist:1401524
Created November 28, 2011 18:57 — forked from schwern/gist:896004
Benchmarking simple accessors, Moose vs Mouse vs Moo vs hand written vs a hash
#!/usr/bin/env perl
use strict;
use warnings;
use Carp;
BEGIN {
# uncomment to test pure Perl Mouse
# $ENV{MOUSE_PUREPERL} = 1;