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
packages: | |
yum: | |
git: [] | |
files: | |
/opt/elasticbeanstalk/hooks/appdeploy/pre/51install_meteor.sh: | |
mode: "000755" | |
user: root | |
group: root | |
encoding: plain |
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
# The goal will be to ultimately make a Capistrano deploy script that does | |
# what meteor.sh is doing, but in parallel. | |
# This assumes you're using an AMI with Node, NPM, Meteor, Forever and | |
# optionally Meteorite installed | |
set :application, "YOUR_APP_NAME" | |
set :repository, "git@YOUR_GIT_REPO.git" | |
set :scm, :git |
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
upstream haproxy { | |
server 127.0.0.1:9000; | |
} | |
upstream stats { | |
server 127.0.0.1:9999; | |
} | |
server { | |
listen 80; ## listen for ipv4; this line is default and implied |
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
global | |
daemon | |
defaults | |
mode http | |
timeout connect 86400000 | |
timeout server 86400000 | |
timeout client 86400000 | |
timeout check 5s |
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
# This deploy script takes a parameter to define the number of instances to deploy (default is 1) | |
# ex: cap deploy -s instances=3 | |
set :application, "YOUR_APP_NAME" | |
set :repository, "git@YOUR_GIT_REPOT.git" | |
set :scm, :git | |
set :deploy_via, :remote_cache | |
set :user, "deploy" | |
set :deploy_to, "/home/deploy/www/#{application}" |
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
<!doctype html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Media Queries!</title> | |
<meta name="viewport" content="initial-scale=1,width=device-width"> | |
<style> | |
/* Add your styles here */ | |
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
<!doctype html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>McFly Hoverboards</title> | |
<meta name="viewport" content=""> | |
<style> | |
/* Add your styles here */ | |
* { |
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
<!doctype html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Media Queries</title> | |
<meta name="viewport" content="initial-scale=1,width=device-width"> | |
<style> | |
html, body { | |
width: 100%; |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>HTML Fundamentals</title> | |
<link rel="stylesheet" href="styles.css"> | |
</head> | |
<body class="container"> | |
<header> | |
<h1>HTML Fundamentals</h1> |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Working with the Box Model</title> | |
<style> | |
.box { | |
width: 500px; | |
height: 300px; |
OlderNewer