Skip to content

Instantly share code, notes, and snippets.

View juniorbird's full-sized avatar

Wade Armstrong juniorbird

View GitHub Profile
@juniorbird
juniorbird / .bash_profile
Last active December 28, 2020 19:20
My setup process for a new machine
# What is the name of the machine I'm working on?
export MYMACHINENAME="Laptop"
# What color should I write this name in the prompt?
export MYMACHINECOLOR="38;5;36m"
# What color should I use for tmux?
export MYMACHINETMUX="colour36"
# Personal or Work machine?
export MYMACHINETYPE="Work"
if [ -f ~/dotfiles/bashrc ]; then
@juniorbird
juniorbird / sayings.md
Last active June 24, 2018 19:36
Sayings

Sayings worth remembering

On life

  • "He who quotes others is an idiot" - Thomas Jefferson
  • "Wine we need for health, and the health we need to drink vodka." - Viktor Chernomyrdin
  • "To answer before listening -- that is folly and shame." - Proverbs 18:13
  • "Some name it disappointment and become poorer, others name it experience and become richer" - Siegmund Warburg
  • "If we want to fully experience love and belonging, we must believe that we are worthy of love and belonging." - Brene Brown
  • In some ways suffering ceases to be suffering at the moment it finds a meaning, such as the meaning of a sacrifice." - Viktor Frankl
@rauchg
rauchg / README.md
Last active April 13, 2025 04:29
require-from-twitter
@yefim
yefim / Dockerrun.aws.json
Last active July 22, 2025 01:10
Build a Docker image, push it to AWS EC2 Container Registry, then deploy it to AWS Elastic Beanstalk
{
"AWSEBDockerrunVersion": "1",
"Image": {
"Name": "<AWS_ACCOUNT_ID>.dkr.ecr.us-east-1.amazonaws.com/<NAME>:<TAG>",
"Update": "true"
},
"Ports": [
{
"ContainerPort": "443"
}
@atoponce
atoponce / gist:07d8d4c833873be2f68c34f9afc5a78a
Last active August 11, 2025 13:19 — forked from tqbf/gist:be58d2d39690c3b366ad
Cryptographic Best Practices

Cryptographic Best Practices

Putting cryptographic primitives together is a lot like putting a jigsaw puzzle together, where all the pieces are cut exactly the same way, but there is only one correct solution. Thankfully, there are some projects out there that are working hard to make sure developers are getting it right.

The following advice comes from years of research from leading security researchers, developers, and cryptographers. This Gist was [forked from Thomas Ptacek's Gist][1] to be more readable. Additions have been added from

@mattmc3
mattmc3 / 1-setopts.zsh
Last active June 15, 2025 14:38
ZSH - options by framework
## ZSH Options
# http://zsh.sourceforge.net/Doc/Release/Options.html
# Changing Directories
# http://zsh.sourceforge.net/Doc/Release/Options.html#Changing-Directories
setopt auto_cd # if a command isn't valid, but is a directory, cd to that dir
setopt auto_pushd # make cd push the old directory onto the directory stack
setopt pushd_ignore_dups # don’t push multiple copies of the same directory onto the directory stack
setopt pushd_minus # exchanges the meanings of ‘+’ and ‘-’ when specifying a directory in the stack