Configure a remote for a fork
1. List configured current repository
git remote -v
> origin https://github.com/YOUR_USERNAME/YOUR_FORK.git (fetch)
> origin https://github.com/YOUR_USERNAME/YOUR_FORK.git (push)
2. Configuring remote for a fork
Configure a remote for a fork
1. List configured current repository
git remote -v
> origin https://github.com/YOUR_USERNAME/YOUR_FORK.git (fetch)
> origin https://github.com/YOUR_USERNAME/YOUR_FORK.git (push)
2. Configuring remote for a fork
import pandas as pd | |
import numpy as np | |
import sys, os | |
# Our SLAC! | |
lat, lon, year = 37.420191, -122.204551, 2015 | |
# NSRDB API KEY | |
api_key = <API KEY> | |
# Set the attributes to extract (e.g., dhi, ghi, etc.), separated by commas. |
https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-on-ubuntu-16-04
docker --version
docker container --help
Connect to the remote VM
gcloud compute --project "<Project-Name>" ssh --zone "us-central1-a" "<Instance-Name>"
Copy a file from local to remote VM
gcloud compute scp ~/Desktop/test.csv datacommons:~/REMOTE-DIR --zone us-central1-a
Copy a folder from local to remote VM
gcloud compute scp --recurse ~/test :~/ --zone us-central1-a
Install Anaconda Link: https://www.continuum.io/downloads
Check/List installed packages:
Conda list
Upgrade Conda packages:
conda upgrade conda conda upgrade --all
#Access S3 from AWS CLI
##Pre-Requisite : Install AWS CLI and Configure AWS https://gist.github.com/supriya-premkumar/f51b4c61ac984c93934381dfa3d78454
1. Create S3 Bucket:
aws s3 mb s3://your-bucket-name
#Install AWS CLI on MAC
Open Terminal on MAC
Check for python version on your Mac
Run python --version
For Python 2 version: 2.6.5+