Install pfring and pfring-dkms packages.
Install docker
Install go 1.7.1
https://launchpad.net/~jonathonf/+archive/ubuntu/golang
# add-apt-repository ppa:jonathonf/golang
| #!/usr/bin/env ruby | |
| require 'net/http' | |
| require 'ipaddr' | |
| require 'json' | |
| url = 'https://ip-ranges.amazonaws.com/ip-ranges.json' | |
| uri = URI(url) | |
| response = Net::HTTP.get(uri) | |
| aws_ranges = JSON.parse(response) |
Install pfring and pfring-dkms packages.
Install docker
Install go 1.7.1
https://launchpad.net/~jonathonf/+archive/ubuntu/golang
# add-apt-repository ppa:jonathonf/golang
| Index: services/outside_network.c | |
| =================================================================== | |
| --- services/outside_network.c (revision 3866) | |
| +++ services/outside_network.c (working copy) | |
| @@ -1879,7 +1879,7 @@ | |
| return 0; | |
| } | |
| #ifdef USE_DNSTAP | |
| - if(outnet->dtenv && | |
| + if(error == NETEVENT_NOERROR && outnet->dtenv && |
| -- A simple Lua script which serves up the HAProxy config md5 | |
| -- ubuntu install the lua-md5 package | |
| -- ripped from https://github.com/mesosphere/marathon-lb/blob/master/getconfig.lua | |
| md5 = require 'md5' | |
| function read_config_file(cmdline) | |
| local found = false | |
| local filename = '' | |
| for s in string.gmatch(cmdline, '%g+') do |
‣ tree
.
├── Dockerfile
└── foo
└── bar
└── gendata
2 directories, 2 files
‣ cat foo/bar/gendata
| " Settings | |
| set noautofocus | |
| set cncpcompletion | |
| set nosmoothscroll | |
| set nohud | |
| set autohidecursor | |
| set typelinkhints | |
| let scrollduration = 10 | |
| let searchlimit = 40 |
| package main | |
| import ( | |
| "fmt" | |
| "github.com/xaviershay/erg" | |
| "io" | |
| "log" | |
| ) | |
| func main() { |
I hereby claim:
To claim this, I am signing this object:
| package main | |
| import ( | |
| "fmt" | |
| "github.com/ghthor/gowol" | |
| "os" | |
| ) | |
| func main() { |
| #!/usr/bin/ruby | |
| require 'logger' | |
| require 'optparse' | |
| require 'net/http' | |
| require 'uri' | |
| class ACTLogin | |
| @@logger = Logger.new(STDOUT) |