This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gimmedocker() { if [ $1 ]; then | |
docker-machine start $1 | |
docker-machine env $1 | |
eval $(docker-machine env $1) | |
docker ps -a | |
fi } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get update | |
sudo apt-get install unzip | |
sudo apt-get -y install git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get update | |
sudo apt-get -y install build-essential | |
sudo apt-get -y install tcl8.5 | |
# Download Redis | |
curl -O http://download.redis.io/releases/redis-stable.tar.gz | |
# Unzip Redis | |
tar xzf redis-stable.tar.gz | |
cd redis-stable |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Version": "2012-10-17", | |
"Statement": [ | |
{ | |
"Sid": "QueueAccess", | |
"Action": [ | |
"sqs:ChangeMessageVisibility", | |
"sqs:DeleteMessage", | |
"sqs:ReceiveMessage" | |
], |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Uninstall the previous version of #Golang > https://golang.org/doc/install#uninstall | |
curl -O https://storage.googleapis.com/golang/go1.8.linux-386.tar.gz | |
sudo tar -C /usr/local -zxf go1.8.linux-386.tar.gz | |
# You can run this with this script and also, don't forget to add it to the appropriate bash file. (~/.bashrc etc) | |
sudo tar -C /usr/local -zxf go1.8.linux-386.tar.gz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"github.com/satori/go.uuid" | |
) | |
func main() { | |
// Creating UUID Version 4 | |
u1 := uuid.NewV4() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"github.com/satori/go.uuid" | |
) | |
func main() { | |
// Creating UUID Version 1 | |
uuid1 := uuid.NewV1() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# THIS SHELL IS OUTDATED, PLEASE REFER TO https://gist.github.com/Adron/90863e51c8c5c0ad2049890bcd8abbfb FOR CURRENT INSTALLATION SCRIPT! | |
cd ~ | |
devopsToolsRoot="DevopsTools" | |
# Terraform Path & Info | |
hashiTerraform="terraform_0_6_16" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git config --global core.editor "subl -n -w" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[merge] | |
tool = intellij | |
[mergetool "intellij"] | |
cmd = /Applications/IntelliJ\ IDEA.app/Contents/MacOS/idea merge $(cd $(dirname "$LOCAL") && pwd)/$(basename "$LOCAL") $(cd $(dirname "$REMOTE") && pwd)/$(basename "$REMOTE") $(cd $(dirname "$BASE") && pwd)/$(basename "$BASE") $(cd $(dirname "$MERGED") && pwd)/$(basename "$MERGED") | |
trustExitCode = true | |
[diff] | |
tool = intellij | |
[difftool "intellij"] | |
cmd = /Applications/IntelliJ\ IDEA.app/Contents/MacOS/idea diff $(cd $(dirname "$LOCAL") && pwd)/$(basename "$LOCAL") $(cd $(dirname "$REMOTE") && pwd)/$(basename "$REMOTE") |
OlderNewer