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
| Apple | |
| Apricot | |
| Avocado | |
| Banana | |
| Bilberry | |
| Blackberry | |
| Blackcurrant | |
| Blueberry | |
| Boysenberry | |
| Currant |
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 initial version | |
| if [ ! -f .env ] | |
| then | |
| export $(cat .env | xargs) | |
| fi | |
| # My favorite from the comments. Thanks @richarddewit & others! | |
| set -a && source .env && set +a |
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
| #!/bin/bash | |
| yum update -y | |
| yum install -y httpd | |
| echo '<h1>Hello World</h1>' > /var/www/html/index.html | |
| systemctl start httpd | |
| systemctl enable httpd |
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
| #!/bin/bash | |
| az appservice plan create \ | |
| -g webapps-dev-rg \ | |
| -n gm-asp-dev-02 \ | |
| --is-linux \ | |
| --number-of-workers 1 \ | |
| --sku S1 | |
| az webapp create \ |
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
| #!/bin/bash | |
| yum update -y | |
| yum install -y httpd | |
| instanceId=$(curl http://169.254.169.254/latest/meta-data/instance-id) | |
| echo "<h1>Hello World from $instanceId</h1>" > /var/www/html/index.html | |
| systemctl start httpd | |
| systemctl enable httpd |
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
| sudo amazon-linux-extras install epel -y | |
| sudo yum install stress -y |
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
| #!/bin/zsh | |
| plugins=( | |
| git | |
| github | |
| gitfast | |
| heroku | |
| node | |
| react-native | |
| brew |
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
| # Install via homebrew | |
| brew install postgresql@9.6 | |
| # Verify version information | |
| brew info postgresql@9.6 | |
| # Verify service has not started | |
| brew services list | |
| # Ensure verify is linked with | |
| brew link postgresql@9.6 --overwrite --force | |
| # Add version to PATH | |
| export PATH="/usr/local/opt/postgresql@9.6/bin:$PATH" |
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
| # Install with mysql@5.7 | |
| brew install mysql@5.7 | |
| # Verify the installed version with | |
| brew info mysql@5.7 | |
| # Make sure it can be reached | |
| brew link --overwrite --force mysql@5.7 | |
| # Follow instruction to add it to PATH | |
| export PATH="/usr/local/opt/mysql@5.7/bin:$PATH" | |
| # Verify version | |
| mysql -V |
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
| # Install Hadoop with Native Libraries on Max OS X | |
| ## Pre-requisites | |
| * maven | |
| * gcc | |
| * GNU Autools Chain: autoconf, automake, libtool | |
| * cmake | |
| * snappy | |
| * gzip | |
| * bzip2 |
NewerOlder