- https://coreos.com/blog/running-kubernetes-example-on-CoreOS-part-2/
- https://github.com/GoogleCloudPlatform/kubernetes/blob/master/examples/guestbook/README.md
- https://coreos.com/blog/introducing-rudder/
- https://github.com/coreos/flannel
#!/usr/bin/env python | |
"""Split large file into multiple pieces for upload to S3. | |
S3 only supports 5Gb files for uploading directly, so for larger CloudBioLinux | |
box images we need to use boto's multipart file support. | |
This parallelizes the task over available cores using multiprocessing. | |
Usage: | |
s3_multipart_upload.py <file_to_transfer> <bucket_name> [<s3_key_name>] |
package main | |
import ( | |
"fmt" | |
"time" | |
) | |
type Message struct { | |
Timestamp time.Time | |
Client *Client |
package main | |
import ( | |
"crypto/aes" | |
"crypto/cipher" | |
"fmt" | |
) | |
func EncryptAESCFB(dst, src, key, iv []byte) error { | |
aesBlockEncrypter, err := aes.NewCipher([]byte(key)) |
# Start the old vagrant | |
$ vagrant init centos-6.3 | |
$ vagrant up | |
# You should see a message like: | |
# [default] The guest additions on this VM do not match the install version of | |
# VirtualBox! This may cause things such as forwarded ports, shared | |
# folders, and more to not work properly. If any of those things fail on | |
# this machine, please update the guest additions and repackage the | |
# box. |
#!/bin/sh | |
# Update latest epel | |
wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm | |
sudo rpm -Uvh epel-release-6-8.noarch.rpm | |
# Download and build mosh | |
sudo yum -y install rpm-build rpmdevtools protobuf-compiler protobuf-devel libutempter-devel zlib-devel ncurses-devel openssh-clients perl-IO-Tty openssl-devel gcc gcc-c++ | |
rpmdev-setuptree | |
cd ~/rpmbuild/SOURCES |
Team behind Go: | |
- Ken Thompson | |
- Co-Creator of Unix | |
- Co-Creator of UTF-8 | |
- Creator of 'B', the direct predecessor to the 'C' programming language | |
- Rob Pike | |
- Co-Creator of Unix | |
- Co-Creator of UTF-8 | |
- Co-Authored Practice of Programming and The Unix Programming Environment with Brian Kernighan |
aptitude install -y build-essential | |
wget "http://downloads.sourceforge.net/project/e1000/ixgbevf stable/2.11.3/ixgbevf-2.11.3.tar.gz" | |
tar -zxf ./ixgbevf-* | |
cd ixgbevf*/src | |
make install | |
modprobe ixgbevf | |
sudo update-initramfs -c -k all | |
echo "options ixgbevf InterruptThrottleRate=1,1,1,1,1,1,1,1" > /etc/modprobe.d/ixgbevf.conf |
// This systemd runs iptables-restore on boot: | |
[Unit] | |
Description=Packet Filtering Framework | |
DefaultDependencies=no | |
After=systemd-sysctl.service | |
Before=sysinit.target | |
[Service] | |
Type=oneshot | |
ExecStart=/usr/sbin/iptables-restore /opt/docker/scripts/iptables/iptables.rules |
package main | |
import ( | |
"crypto/tls" | |
"crypto/x509" | |
"flag" | |
"io/ioutil" | |
"log" | |
"net/http" | |
) |