Skip to content

Instantly share code, notes, and snippets.

@pomeo
pomeo / gist:74b27961092867fd1294
Created March 11, 2016 13:46 — forked from clintel/gist:1155906
Fenced code in bullet lists with GitHub-flavoured MarkDown??

Fenced code blocks inside ordered and unordered lists

  1. This is a numbered list.

  2. I'm going to include a fenced code block as part of this bullet:

    Code
    More Code
    
# Initialize Mechanize Agent
agent = Mechanize.new
# Visit a web page
agent.get 'http://localhost:3000/'
# get the url of the current page
agent.page.uri #=> http://localhost:3000
# agent remembers the scheme + host, so no need to supply it when navigating somewhere else
@pomeo
pomeo / README.md
Created August 14, 2014 13:58 — forked from schickling/README.md

Preconditions

  • You need to have TUN/TAP enabled

Install dependencies

$ apt-get install openvpn easy-rsa
# To check if this is up-to-date with the tax rates go to
# http://www.expatax.nl/tax-rates-2014.php and see if there's anything
# newer there.
use strict;
use warnings;
use Text::TabularDisplay;
use List::Util qw(sum);
my $start = 30_000 || $ARGV[0];
my $end = 100_000 || $ARGV[1];
/**
* @overview
*
* @author Caesar Chi
* @blog clonn.blogspot.com
* @version 2012/02/27