Kalanand's March 2015 Log

   February 2015   
March 2015
SuMoTuWeThFrSa
1234567
891011121314
15161718192021
22232425262728
293031    
   April 2015   

March 13th

To delete a local branch:

  git branch -d <branchName>
To remove a remote branch (if you know what you are doing!)

  git push origin --delete <branchName>

March 19th

To copy a file from AWS S3, I first needed to install AWS Command Line Interface (AWS-CLI):

  pip install --upgrade --user awscli
Then include the install path in my .bash_profile:

  export PATH=~/Library/Python/2.7/bin:$PATH
  complete -C '~/Library/Python/2.7/bin/aws_completer' aws
To make sure everything is working:

$ aws --version
aws-cli/1.11.92 Python/2.7.10 Darwin/16.5.0 botocore/1.5.55
Next step is to configure AWS-CLI:

$ aws configure
I was prompted to type "AWS Access Key ID", "AWS Secret Access Key", "Default region name", and "Default output format" in that order.
The first two are needed, I left the last two blank.
These are saved in ".aws/config" and ".aws/credentials" files in my home directory.

Now I am ready to copy files!


$ aws s3 cp s3://<bucket_name>/<file_path> .

Up-to-date instructions related to AWS Command Line Interface can be found at:
http://docs.aws.amazon.com/cli/latest/userguide/cli-chap-welcome.html

Cyberduck is an open source GUI-based client to access AWS S3 files.
https://cyberduck.io

Go to February's log


Last modified: Thur Mar 19 14:06:36 PDT 2015