- You need to have
TUN/TAPenabled
$ apt-get install openvpn easy-rsa| /** | |
| * @overview | |
| * | |
| * @author Caesar Chi | |
| * @blog clonn.blogspot.com | |
| * @version 2012/02/27 |
| # 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]; |
| # 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 |
| sudo docker run \ | |
| --name {{printf "%q" .Name}} \ | |
| {{- with .HostConfig}} | |
| {{- if .Privileged}} | |
| --privileged \ | |
| {{- end}} | |
| {{- if .AutoRemove}} | |
| --rm \ | |
| {{- end}} | |
| {{- if .Runtime}} |