Skip to content

Instantly share code, notes, and snippets.

View iamjjanga-ouo's full-sized avatar
🐵
i can do this all day

LeeSihyung iamjjanga-ouo

🐵
i can do this all day
View GitHub Profile
@iamjjanga-ouo
iamjjanga-ouo / cheatsheat.md
Last active July 16, 2024 13:51 — forked from worldofprasanna/terminal-capture.md
[linux/tool/tmux]

Commands Reference

  1. Start a new tmux named session tmux new -s terminal-capture
  2. Split the screen using these commands,
  • vertical split <C-b>"
  • horizontal split <C-b>%
  1. To navigate between the panes,
  • To goto Left pane <C-b> left-key
  • To goto Right pane <C-b> right-key
  • To goto Top pane up-key
@iamjjanga-ouo
iamjjanga-ouo / Vagrant-M1-Install.bash
Last active July 16, 2024 14:00 — forked from beauwilliams/Vagrant-M1-Install.bash
[tool/vagrant] Run x86 VM's on Mac M1 arm using vagrant with qemu hypervisor #vagrant
brew install vagrant qemu
#Due to dependency errors, we must install vbguest first..
vagrant plugin install vagrant-vbguest
vagrant plugin install vagrant-qemu
#cd to working dir you like to keep your vagrant files
cd ~/VM-and-containers/VagrantMachines/M1-vagrantfiles/ubuntu18-generic-64/
#Create a vagrant file
$EDITOR Vagrantfile
@iamjjanga-ouo
iamjjanga-ouo / aws_login.yml
Last active July 16, 2024 13:59 — forked from tedivm/aws_login.yml
[github/github-action/aws-ecr-oidc] AWS ECR Github Actions OIDC #github-action
jobs:
deploy:
name: Push to ECR
runs-on: ubuntu-latest
# These permissions are needed to interact with GitHub's OIDC Token endpoint.
permissions:
id-token: write
contents: read
@iamjjanga-ouo
iamjjanga-ouo / create-aws-ecr-authentication-cronjob.md
Last active July 16, 2024 13:58 — forked from tuantranf/create-aws-ecr-authentication-cronjob.md
[kubernetes/aws/ecr] A Kubernetes cronjob to refresh ECR authentication #kubernetes #aws/ecr

A Kubernetes cronjob to refresh ECR authentication

Create AWS secret

kubectl create secret generic aws-secret --from-literal=AWS_ACCOUNT= --from-literal=AWS_ACCESS_KEY_ID= --from-literal=AWS_SECRET_ACCESS_KEY= --from-literal=AWS_DEFAULT_REGION= --from-literal=AWS_REGION=

Create cronjob