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
name: CI + CD | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
workflow_dispatch: | |
inputs: | |
manual_approval: |
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
variables: | |
# When using dind, it's wise to use the overlayfs driver for improved performance. | |
DOCKER_DRIVER: overlay2 | |
REPOSITORY_NAME: $ORGANIZATION/$CI_PROJECT_NAME | |
ECR_PROJECT_PATH: $ECR_URL/$ORGANIZATION/$CI_PROJECT_NAME | |
COMPOSE_STORAGE_ON_S3: concord-ci-build | |
DEPLOY_FILE_STORAGE_ON_S3: concord-ci-deploy | |
build: | |
stage: build |
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 | |
function __aws-login-as { | |
local account="$1" | |
aws-logout | |
echo >&2 "Logging in for $account account..." | |
local access_key_id="$(pass "aws/$account/access_key_id")" | |
local secret_access_key="$(pass "aws/$account/secret_access_key")" |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>ANSIBlackColor</key> | |
<data> | |
YnBsaXN0MDDUAQIDBAUGBwpYJHZlcnNpb25ZJGFyY2hpdmVyVCR0b3BYJG9iamVjdHMS | |
AAGGoF8QD05TS2V5ZWRBcmNoaXZlctEICVRyb290gAGjCwwTVSRudWxs0w0ODxARElVO | |
U1JHQlxOU0NvbG9yU3BhY2VWJGNsYXNzTxAnMC4xMTc2NDcwNTkzIDAuMTI5NDExNzcx | |
OSAwLjE1Mjk0MTE4MjMAEAGAAtIUFRYXWiRjbGFzc25hbWVYJGNsYXNzZXNXTlNDb2xv |
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
def tick_game args | |
args.outputs.background_color = [0,0,0] | |
args.grid.origin_center! | |
args.state.magnitude ||= 20 | |
args.state.angle_of_stars ||= 0 | |
args.state.stars ||= 750.map do | |
{ | |
w: 10, | |
h: 10, |
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
[user] | |
name = Justin Williams | |
email = justinjohnwilliams@gmail.com | |
signingkey = <yo momma> | |
[pull] | |
rebase = true | |
[alias] | |
exclude = !sh -c 'echo "$1" >> .git/info/exclude' - | |
lg = log --color --graph --abbrev-commit --pretty=format:'%C(magenta)%h%Creset -%C(yellow)%d%Creset %C(cyan)%s%Creset %Cgreen(%cr) %C(bold blue)<%an>%Creset' | |
commits = for-each-ref --count=30 --sort=-committerdate refs/heads/ --format='%(refname:short)' |
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
# Add more scroll history in the buffer | |
set -g history-limit 50000 | |
# Enable color support inside of tmux. | |
set -g default-terminal "screen-256color" | |
# Start windows and panes index at 1, not 0. | |
set -g base-index 1 | |
setw -g pane-base-index 1 |
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
g_LastCtrlKeyDownTime := 0 | |
g_AbortSendEsc := false | |
g_ControlRepeatDetected := false | |
*CapsLock:: | |
if (g_ControlRepeatDetected) | |
{ | |
return | |
} |
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
;******************************************************************************** | |
; Move Windows by 1/3 | |
;******************************************************************************** | |
MoveCycle(Add) { | |
static SizeCycle = 0 | |
SizeCycle := Mod(SizeCycle + Add, 7) | |
if (SizeCycle < 0) { | |
SizeCycle := SizeCycle + 7 | |
} |
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
Start by pressing <esc>, that will put you in "command" mode. Now press "j". | |
See what happend? You're on this line now. "j" means down. Now press "5j". | |
if you see DASHED lines press "zR", otherwise ignore | |
if you see DASHED lines press "zR", otherwise ignore | |
What you did just there is "move down 5". Press "j" | |
If you mess your cursor position during this tutorial press "gg" to take you back to the top, try that now, next time press "j" | |
Time to follow the ascii road. press "j", then press the key that's highlighted by the blinking cursor | |
j <---- press "j" because j is curently under your cursor |
NewerOlder