Skip to content

Instantly share code, notes, and snippets.

View dotCipher's full-sized avatar
🏗️
Buildin' stuff

Cody Moore dotCipher

🏗️
Buildin' stuff
  • New York, NY, USA
  • 17:15 (UTC -05:00)
View GitHub Profile
@dotCipher
dotCipher / Raspberry_Pi_Notes.md
Created July 7, 2016 05:25
Notes for Raspberry Pi hacking

Raspberry Pi Notes

Reformatting SD Card

Get the list of devices:

sudo diskutil list

Find which is the SD card, then run:

@RobertoSchneiders
RobertoSchneiders / deploy_with_ebcli3_on_circleci.md
Last active October 29, 2024 19:38
Settings to deploy to AWS Elastic Beanstalk on CircleCi (EB Cli 3)

This is how I configured the deploy of my rails apps to AWS Elastic Beanstalk through CircleCI 1.0.

If you are using the Circle CI 2.0, take a look at this article from ryansimms

Configure Environments Variables

On Project Settings > Environment Variables add this keys:

  • AWS_ACCESS_KEY_ID
  • AWS_SECRET_ACCESS_KEY
    The aws user must have the right permissions. This can be hard, maybe, this can help you.
@dotCipher
dotCipher / Bash Color Code
Last active August 29, 2015 14:12
A quick snippet for displaying text in a certain color in bash
#!/bin/bash
BLACK='\033[0;30m'
DARK_GRAY='\033[1;30m'
BLUE='\033[0;34m'
LIGHT_BLUE='\033[1;34m'
GREEN='\033[0;32m'
LIGHT_GREEN='\033[1;32m'
CYAN='\033[0;36m'
LIGHT_CYAN='\033[1;36m'