Skip to content

Instantly share code, notes, and snippets.

View shankfoo's full-sized avatar
🌮
impossible tacos

shankfoo

🌮
impossible tacos
View GitHub Profile
@shankfoo
shankfoo / docker-ce-win10-vscode.md
Last active March 31, 2022 08:34
Replace Docker Desktop with Docker CE on Windows 10 and use it in VSCode
@shankfoo
shankfoo / colima.md
Last active January 20, 2022 21:23
# Replace Docker Desktop with Colima on MacOS

Keybase proof

I hereby claim:

  • I am shankfoo on github.
  • I am shankfoo (https://keybase.io/shankfoo) on keybase.
  • I have a public key ASBho1ZSVPKZmQF8F-75CoLuIyB5dN9uaXWRCSamxFeTVQo

To claim this, I am signing this object:

@shankfoo
shankfoo / COE-Template.md
Last active October 13, 2022 13:28
COE - Correction of Error - document template

Correction Of Error (COE)

Incident:

[Incident Title]

Ticket: [Link to ops ticket]
Authors: [Names of CoE authors]
Escalations before response: [Number of team members the escalation went through before somebody accepted]
@shankfoo
shankfoo / diceware_passwd.sh
Created March 22, 2019 16:41 — forked from bhuvidya/diceware_passwd.sh
dice ware word generator
#!/bin/bash
# see https://blog.agilebits.com/2011/06/21/toward-better-master-passwords/
# and http://world.std.com/~reinhold/diceware.wordlist.asc
DICEWARE_STASH_FILE=~/tmp/diceware.txt
WORDS=$1
[[ "$WORDS" == "" ]] && WORDS=5
@shankfoo
shankfoo / chmod-400.cmd
Created March 22, 2019 15:29 — forked from jaskiratr/chmod-400.cmd
Set permission of file equivalent to chmod 400 on Windows.
# Source: https://stackoverflow.com/a/43317244
$path = ".\aws-ec2-key.pem"
# Reset to remove explict permissions
icacls.exe $path /reset
# Give current user explicit read-permission
icacls.exe $path /GRANT:R "$($env:USERNAME):(R)"
# Disable inheritance and remove inherited permissions
icacls.exe $path /inheritance:r