Verify Permissions
diskutil verifyPermissions /
Repair Permissions
diskutil repairPermissions /
Check out this Super User explanation of environment variables
We sometimes need to add folders containing programs to the PATH-variable to make them executable from the command line.
git clone [email protected]:YOUR-USERNAME/YOUR-FORKED-REPO.git
cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
| ## | |
| # Brewfile by Joel Parker Henderson and SixArm.com | |
| # | |
| # CAUTION: THIS IS A WORK IN PROGRESS. USE AT YOUR OWN RISK. | |
| # | |
| # We use this Brewfile for our teams and their developer laptops. | |
| # | |
| # This file installs many apps, including office suites, multimedia suites, | |
| # programming langauges and IDEs, unix utilities, and sysadmin tools. | |
| # |
| #to set the variable PATH to the value /bin:/sbin:/user/bin:/user/sbin:/system/Library/, you would enter the following command in a Terminal window: | |
| $ PATH=/bin:/sbin:/user/bin:/user/sbin:/system/Library/ export PATH | |
| #This modifies the environment variable PATH with the value assigned. | |
| #To view all environment variables, enter: | |
| $ env |
| import urllib.request | |
| import json | |
| import ftplib | |
| url = 'http://api.bloomsky.com/api/skydata/' | |
| api = '<insert your api from dashboard.bloomsky.com>' | |
| req = urllib.request.Request(url,headers={'Authorization':api}) | |
| response = urllib.request.urlopen(req) |