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 [email protected] | |
| # Verify version information | |
| brew info [email protected] | |
| # Verify service has not started | |
| brew services list | |
| # Ensure verify is linked with | |
| brew link [email protected] --overwrite --force | |
| # Add version to PATH | |
| export PATH="/usr/local/opt/[email protected]/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 [email protected] | |
| brew install [email protected] | |
| # Verify the installed version with | |
| brew info [email protected] | |
| # Make sure it can be reached | |
| brew link --overwrite --force [email protected] | |
| # Follow instruction to add it to PATH | |
| export PATH="/usr/local/opt/[email protected]/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