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 | |
# Function to retrieve and validate project ID | |
# | |
# Args: | |
# $1: The potential project ID to validate. | |
# | |
# Returns: | |
# A validated project ID on success, exits with an error message on failure. | |
get_project_id() { |
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
echo "blacklist nouveau | |
options nouveau modeset=0" >> /etc/modprobe.d/blacklist-nouveau.conf | |
update-initramfs -u | |
reboot |
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 apt-add-repository ppa:juju/stable | |
sudo apt-get update | |
sudo apt-get install juju-local | |
ju generate-config | |
juju switch local |
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 apt-get install libxml2-dev libxslt1-dev | |
sudo yum install libxml2-devel libxslt-devel | |
sudo yum install gcc python-setuptools python-devel postgresql-devel | |
sudo yum install libevent-devel | |
sudo yum -y install libffi-devel openssl-devel | |
sudo pip install psycopg2 | |
sudo pip install flask_bcrypt |
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 | |
# Install prerequisites | |
yum install -y gcc openssl-devel libyaml-devel libffi-devel readline-devel zlib-devel gdbm-devel ncurses-devel ruby-devel gcc-c++ jq git | |
# Import key | |
curl -sSL https://rvm.io/mpapis.asc | gpg2 --import - | |
# Install RVM | |
curl -sSL https://get.rvm.io | bash -s stable --ruby |
This file has been truncated, but you can view the full file.
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
"70175": "30.06, -89.93" | |
"11542": "40.86, -73.63" | |
"11547": "40.82, -73.63" | |
"11545": "40.84, -73.61" | |
"11548": "40.81, -73.62" | |
"11549": "40.7, -73.61" | |
"19399": "40.05, -75.41" | |
"19398": "40.05, -75.41" | |
"19397": "40.05, -75.41" |
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 pip install speedtest-cli | |
# Test w/ https | |
speedtest-cli --secure |