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
ssh_authorized_keys: | |
- github:harrisonde | |
hostname: k3os-master | |
run_cmd: | |
- "echo hi from run command" | |
boot_cmd: | |
- "echo hi from boot command" | |
init_cmd: | |
- "echo hi from init command" | |
k3os: |
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
/** | |
* forward-query-strings.js | |
* | |
* Harrison DeStefano | |
* A utility to append query strings to a href value. | |
* December 05, 2016 | |
*/ | |
'use strict' |
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
# The following script will deploy a Laravel 5 applicaion on AWS Elastic Beanstalk. | |
# Add to .ebextensions at the root of your application and name your commands file (e.g., commands.config) | |
# -------------------------------- Commands ------------------------------------ | |
# Use "commands" key to execute commands on the EC2 instance. The commands are | |
# processed in alphabetical order by name, and they run before the application | |
# and web server are set up and the application version file is extracted. | |
# ------------------------------------------------------------------------------ | |
commands: | |
01updateComposer: |
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
# Configure EB env | |
$ eb init | |
# Build EB env | |
$ eb create | |
# If EB version of composer is out of date ... Hook /opt/elasticbeanstalk/hooks/appdeploy/pre/10_composer_install.sh failed | |
# Check eb logs and confirm, the fix is manually run. | |
$ eb logs | |
$ eb ssh | |
ec2-user$ sudo php /opt/elasticbeanstalk/support/composer.phar self-update | |
$ exit |
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
# Laravel 5.0, update script | |
php artisan down | |
php artisan clear-compiled | |
composer update --no-dev | |
php artisan optimize | |
php artisan up |
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
<style> | |
html,body { -moz-text-size-adjust: none; -ms-text-size-adjust: none; -webkit-text-size-adjust: none; text-size-adjust: none; } | |
@import url(https://fonts.googleapis.com/css?family=Merriweather:400,700,400italic,700italic|Open+Sans:300italic,400italic,600italic,700italic,400,300,600,700|Droid+Serif:400,700,400italic,700italic); | |
@media (max-width: 660px) { | |
/* @media only screen and (max-device-width: 600px) { */ | |
table.container1[style] { padding: 0; } | |
table.container1[style] { width: 100% !important; max-width: 600px; } |