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
using System; | |
using System.Text; | |
using System.Threading; | |
class Program | |
{ | |
static void Main() | |
{ | |
Console.OutputEncoding = Encoding.UTF8; // Ensure proper encoding for ANSI colors | |
Console.CursorVisible = false; // Hide the cursor for better visual effect |
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 = [email protected] | |
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 | |
} |
NewerOlder