This file contains 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
describe vs. context in rspec | |
http://lmws.net/describe-vs-context-in-rspec | |
In Rspec world, you often see people using both “describe” blocks and “context” blocks together, like this | |
describe "launch the rocket" do | |
context "all ready" do | |
end | |
context "not ready" do |
This file contains 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
# Sidekiq interaction and startup script | |
commands: | |
create_post_dir: | |
command: "mkdir -p /opt/elasticbeanstalk/hooks/appdeploy/post" | |
ignoreErrors: true | |
files: | |
"/opt/elasticbeanstalk/hooks/appdeploy/post/50_restart_sidekiq.sh": | |
mode: "000755" | |
owner: root | |
group: root |
This file contains 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
sudo apt-get update | |
sudo apt-get install libxcomposite-dev -y | |
sudo apt-get install libxcursor1 -y | |
sudo apt-get install libxi6 libgconf-2-4 -y | |
sudo apt-get install libxtst6 -y | |
sudo apt-get install libnss3-dev -y | |
sudo apt-get install libcups -y | |
sudo apt-get install libxss1 | |
sudo apt-get install libxrandr2 |