root@scw-01f953:~# curl -OL http://mirrors.evowise.com/linuxmint/stable/18.1/linuxmint-18.1-cinnamon-64bit.iso
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1726M 100 1726M 0 0 99.1M 0 0:00:17 0:00:17 --:--:-- 102M
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Image, ImageDraw | |
from random import randint | |
def draw_picture(output_filename): | |
print('drawing: {}'.format(output_filename)) | |
image = Image.new('RGB', (640, 480), 'black') | |
draw = ImageDraw.Draw(image) | |
for i in xrange(0, 640, 20): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash -e | |
#### | |
# based on http://www.clock.co.uk/blog/a-guide-on-how-to-cache-npm-install-with-docker | |
# | |
# Set's the last modified timestamp of a file to it's repositories commit timestamp. | |
# | |
# Particular useful with docker when building after a new git checkout has been made, | |
# can improve docker build times for composer, bower, npm, etc | |
# | |
# @see https://github.com/docker/docker/issues/3556 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Hello My Name is Holy Moose 5,5% | |
Five A.M. Red Ale 5% | |
Mahrs Bräu Der Weisse Bock 8,5 % | |
Hardcore IPA 9,2 % | |
Cocoa Psycho 10% | |
Mikkeller Black Moon 10,6% | |
Kinn Sjelefred 4,7 % | |
#Mash Tag 15 10% | |
Punk IPA 5,4% | |
Birrificio Italiano Tipopils 5,2 % |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package monitor | |
import ( | |
"net" | |
"net/http" | |
"sync" | |
"sync/atomic" | |
) | |
type NetworkMonitor struct { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
python-pip: | |
pkg.installed | |
boto: | |
pip.installed: | |
- name: boto >= 2.8.0 | |
- require: | |
- pkg: python-pip |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"encoding/hex" | |
"os" | |
"os/signal" | |
"syscall" | |
"github.com/chifflier/nfqueue-go/nfqueue" | |
"github.com/coreos/go-iptables/iptables" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ glide get github.com/docker/docker#^1.12.0 | |
[INFO] Preparing to install 1 package. | |
[INFO] Attempting to get package github.com/docker/docker | |
[INFO] --> Adding github.com/docker/docker to your configuration with the version ^1.12.0 | |
[INFO] Downloading dependencies. Please wait... | |
[INFO] --> Fetching updates for github.com/docker/docker. | |
[INFO] Resolving imports | |
[INFO] --> Detected semantic version. Setting version for github.com/docker/docker to v1.13.0. | |
[INFO] Downloading dependencies. Please wait... | |
[INFO] Exporting resolved dependencies... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ ./gollum -ll 2 -c config/http_recieve.conf | |
We be nice to them, if they be nice to us. (startup) | |
^CMaster betrayed us. Wicked. Tricksy, False. (signal) | |
Filthy little hobbites. They stole it from us. (shutdown) | |
It's the only way. Go in, or go back. (flushing) |