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
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) |
#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 |
## | |
# 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. | |
# |
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
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.
brew install git bash-completion
Configure things:
git config --global user.name "Your Name"
git config --global user.email "[email protected]"
Custom recipe to get macOS 10.12 Sierra running from scratch, setup applications and developer environment. This is very similar (and currently mostly the same) as my 10.11 El Capitan setup recipe and 10.10 Yosemite setup recipe. I am currently tweaking this for 10.12 Sierra and expect to refine this gist over the next few weeks.
I use this gist to keep track of the important software and steps required to have a functioning system after a semi-annual fresh install. I generally reinstall each computer from scratch every 6 months, and I do not perform upgrades between releases.
This keeps the system performing at top speeds, clean of trojans, spyware, and ensures that I maintain good organizational practices for my content and backups. I highly recommend this.
You are encouraged to fork this and modify it to your heart's content to match your o
#!/usr/bin/env bash | |
(set -x; brew update;) | |
(set -x; brew cask update;) | |
(set -x; brew cleanup;) | |
(set -x; brew cask cleanup;) | |
red=`tput setaf 1` | |
green=`tput setaf 2` |