One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
| package main | |
| import ( | |
| "flag" | |
| "io" | |
| "log" | |
| "net" | |
| "net/http" | |
| "strings" | |
| ) |
| #!/bin/bash | |
| # -------------------------------- | |
| # Totally Simple Web Server (TSWS) | |
| # -------------------------------- | |
| # | |
| # (c) 2015 Dave Fletcher | |
| # All Rights Reserved | |
| # | |
| # This is free and unencumbered software released into the public domain. |
Недостаточно просто описать задачу в тезисах. Довольно часто бывает так, что заинтересованные слушатели могут это сделать не хуже докладчика. Хорошие же тезисы отличает конкретика: конкретные названия, конкретные числовые показатели (последнее особенно важно для Highload++).
Главное — приоткрыть суть вашего доклада, оставаясь при этом в рамках сжатых тезисов.
И это не так сложно. При подготовке доклада и его тезисов нужно сделать всего лишь три шага.
| wget -nc http://ftp.debian.org/debian/dists/jessie/main/installer-amd64/current/images/netboot/debian-installer/amd64/linux | |
| wget -nc http://ftp.debian.org/debian/dists/jessie/main/installer-amd64/current/images/netboot/debian-installer/amd64/initrd.gz | |
| cp -nv ~/.ssh/id_rsa.pub . | |
| qemu-system-x86_64 -machine accel=kvm -kernel linux -initrd initrd.gz -m 1G -smp 2 -append "blacklist=vga16fb fb=false video=false vga=normal auto=true url=http://10.0.2.10:8080/debian-preseed.txt hostname=otto domain=" -net user,guestfwd=:10.0.2.10:8080-cmd:"/bin/busybox httpd -i" -hda /dev/shm/deb.img -net nic -display none |
| # -*- mode: ruby -*- | |
| # vi: set ft=ruby : | |
| require 'yaml' | |
| config_yml = YAML.load_file(File.open(File.expand_path(File.dirname(__FILE__)) + "/vagrant-config.yml")) | |
| # All Vagrant configuration is done below. The "2" in Vagrant.configure | |
| # configures the configuration version (we support older styles for | |
| # backwards compatibility). Please don't change it unless you know what |
| package main | |
| import ( | |
| "net/http" | |
| "net/http/httputil" | |
| "net/url" | |
| "github.com/gorilla/mux" | |
| ) |
| # Encrypt the repository | |
| # Remove/modify this line if the repository is meant to be open-source | |
| *.* filter=git-crypt diff=git-crypt | |
| .gitattributes !filter !diff | |
| # These files are text and should be normalized (Convert crlf => lf) | |
| *.php text | |
| *.css text | |
| *.js text | |
| *.htm text |
| docker images | tail -n +2 | grep -v "none" | awk '{printf("%s:%s\n", $1, $2)}' | while read IMAGE; do | |
| echo $IMAGE | |
| filename="${IMAGE//\//-}" | |
| filename="${filename//:/-}.docker-image.gz" | |
| docker save ${IMAGE} | pigz --stdout --best > $filename | |
| done |
| #!/bin/sh | |
| # set hostname | |
| echo <%= hostname %> > /etc/hostname | |
| /etc/init.d/hostname.sh | |
| # Set up networking | |
| cat > /etc/network/interfaces << EOF | |
| # The loopback network interface | |
| auto lo |