path/to/executable
- shell control keywords
- shell built-ins
- executables in the
PATH
This file contains hidden or 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
{ | |
... | |
"Image": { | |
"Name": "YOUR_AWS_ACCOUNT_ID.dkr.ecr.us-east-1.amazonaws.com/my-repository:latest", | |
"Update": "true" | |
}, | |
... | |
} |
This file contains hidden or 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
commands: | |
00_install_awscli: | |
command: "bash -c '[ -d awscli ] || { virtualenv awscli && source awscli/bin/activate && pip install awscli ; }'" | |
cwd: /var/local | |
01_login_ecr: | |
command: "bash -c 'source awscli/bin/activate && export AWS_DEFAULT_REGION=us-east-1 && eval \"$(aws ecr get-login)\"'" | |
cwd: /var/local |
This file contains hidden or 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": "2008-10-17", | |
"Statement": [ | |
{ | |
"Sid": "AllowEbAuth", | |
"Effect": "Allow", | |
"Action": [ | |
"ecr:GetAuthorizationToken" | |
], | |
"Resource": [ |
This file contains hidden or 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 | |
# Generate requests-per-minute (RPM) graphs with gnuplot from IIS access logs. | |
# Usage: iis-rpm-graph.sh DATE file1 [file2 ...] | |
# where DATE can be something like 2015-05-15 or 2015-05 or any other awk regex to match the start of line. | |
DATE="$1" | |
shift | |
for STATUS in all 200 500 ; do |
I hereby claim:
- I am bladealslayer on github.
- I am blade (https://keybase.io/blade) on keybase.
- I have a public key whose fingerprint is 11C1 EC35 2D20 D566 0258 F6E5 1A8F BBB6 E617 2970
To claim this, I am signing this object:
This file contains hidden or 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
# Fixes merge requests prior to gitlabhq 5.1 | |
# without losing the commits for closed merge requests | |
# (as the official migration script does). | |
# run this in Rails console | |
failed = [] | |
MergeRequest.all.each do |mr| | |
begin |