#2e3136,#FFFFFF,#282b30,#FFFFFF,#FFFFFF,#6272A4,#44475A,#8BE9FD,#50FA7B,#E0B333,#FF5555,#ffffff,#ffffff,#333333,#F80,#fff2bb,#2389d7,#2f81b7,#26a970,#ffffff,github
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
. | |
. | |
. | |
. | |
"scripts": { | |
"start": "npm run build-css & npm run watch-scss & npm run start:dev-server", | |
"start:dev-server": "NODE_PATH=src react-scripts start", | |
"build": "NODE_PATH=src react-scripts build", | |
"test": "NODE_PATH=src react-scripts test --env=jsdom", | |
"build-css": "sassc -I ./src ./src/index.scss ./src/index.css", |
find . -maxdepth 1 \
-not -path . \
-not -path './.*' \
-not -path './test' \
-not -path './yarn*' \
-not -path './package.json' \
-not -path './output' \
-not -path '*.md' \
-exec tar czf output/archive.tgz --exclude='**/example-input/*' {} +
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
#!/bin/bash | |
name=$RANDOM | |
url='http://localhost:9093/api/v1/alerts' | |
echo "firing up alert $name" | |
# change url o | |
curl -XPOST $url -d "[{ | |
\"status\": \"firing\", |
hashicorp/terraform-provider-kubernetes#546
hashicorp/terraform-provider-kubernetes#546 (comment)
terraform state rm kubernetes_service_account.tiller \
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
function aws_profile_list { | |
cat ~/.aws/credentials| grep "\[" | sed 's/\(^.\)\(.*\)\(.$\)/\2/gi' | |
} | |
function aws_profile_switch { | |
selected="${1}" | |
if [[ -z $(aws_profile_list | grep "${selected}") ]]; then | |
echo "Selected profile [${selected}] doesn't exists." | |
return |