- https://docs.docker.com/installation/amazon/
- allow all inbound traffic
- allow all outbound traffic
- A record at public address (for example flynn.mycompany.com)
- wildcard CNAME at A record (for example *.flynn.mycompany.com)
- https://github.com/flynn/flynn#manual-ubuntu-deployment
- check /etc/init/flynn-host.conf (depending on eth0 is WRONG)
- before starting flynn-host ensure /tmp/ is empty
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
gem('mysql2') | |
gem('compass') | |
gem('zurb-foundation') | |
gem('puma') | |
gem('dalli') | |
gem('omniauth') | |
gem('omniauth-twitter') | |
gem('health_check') | |
gem('kaminari') | |
gem('newrelic_rpm') |
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
result = case value | |
when nil,"" | |
nil | |
when /^\d{1,2}-\d{1,2}-\d{2}$/ | |
Date.strptime(value, $DEFAULT_DATE_FORMAT.downcase) | |
else | |
Date.strptime(value, $DEFAULT_DATE_FORMAT) | |
end |
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
apt-get install python-software-properties -y | |
apt-add-repository ppa:brightbox/ruby-ng | |
apt-get update | |
apt-get install ruby rubygems ruby-switch ruby2.1 ruby2.1-dev -y | |
gem2.1 install bundler | |
ruby-switch --set ruby2.1 |
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
mkdir /etc/logstash/private | |
mkdir /etc/logstash/certs | |
openssl req -x509 -batch -nodes -newkey rsa:2048 -keyout /etc/logstash/private/server.key -out /etc/logstash/certs/server.crt |
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
<w:p w14:paraId="5EC6E836" w14:textId="77777777" w:rsidR="006E12F9" w:rsidRDefault="006E12F9"> | |
<w:fldSimple w:instr=" MERGEFIELD TITLE \* MERGEFORMAT "> | |
<w:r w:rsidRPr="006E12F9"><w:rPr><w:b/><w:noProof/> | |
</w:rPr><w:t>«TI</w:t></w:r><w:bookmarkStart w:id="0" w:name="_GoBack"/> | |
<w:bookmarkEnd w:id="0"/><w:r w:rsidRPr="006E12F9"><w:rPr><w:b/><w:noProof/></w:rPr> | |
<w:t>TLE»</w:t></w:r></w:fldSimple></w:p> |
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
<w:fldChar w:fldCharType="begin"><w:ffData><w:name w:val="Name"/><w:enabled/><w:calcOnExit w:val="0"/><w:textInput><w:default w:val="Name"/></w:textInput></w:ffData></w:fldChar></w:r><w:bookmarkStart w:id="1" w:name="Name"/><w:r><w:instrText xml:space="preserve"> FORMTEXT </w:instrText></w:r><w:r><w:fldChar w:fldCharType="separate"/></w:r><w:r><w:rPr><w:noProof/></w:rPr><w:t>Name</w:t></w:r><w:r><w:fldChar w:fldCharType="end"/></w:r><w:bookmarkEnd w:id="1"/><w:bookmarkEnd w:id="0"/> |
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
gem 'haml-rails' | |
gem 'puma' | |
gem 'simple_form' | |
gem 'sidekiq' | |
gem 'nokogiri' | |
gem 'carrierwave' | |
gem 'kaminari' | |
gem 'dotenv-rails' | |
gem 'searchkick' |
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
# /etc/init/sidekiq.conf - Sidekiq config | |
# This example config should work with Ubuntu 12.04+. It | |
# allows you to manage multiple Sidekiq instances with | |
# Upstart, Ubuntu's native service management tool. | |
# | |
# See workers.conf for how to manage all Sidekiq instances at once. | |
# | |
# Save this config as /etc/init/sidekiq.conf then mange sidekiq with: | |
# sudo start sidekiq app=/path/to/app index=0 |
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
aescrypt apple-gcc42 autoconf automake cloc cmake cscope ctags docker | |
ec2-ami-tools ec2-api-tools elasticsearch enca freetds freetype gdbm git git-flow | |
graphviz heroku-toolbelt hub imagemagick jmeter jpeg libevent libpng libtool libyaml | |
lua luajit macvim mtr mysql node openssl ossp-uuid pcre phantomjs pkg-config postgresql | |
pwgen qt rbenv readline reattach-to-user-namespace redis ruby-build ruby-install scala | |
the_silver_searcher tmux wget xz zsh |
OlderNewer