- GitHub - rust-lang/log: Logging implementation for Rust
- GitHub - dtolnay/anyhow: Flexible concrete Error type built on std: :Error
- GitHub - sebasmagri/env_logger: A logging implementation for
log
which is configured via an environment variable. - GitHub - serde-rs/serde: Serialization framework for Rust
- GitHub - TeXitoi/structopt: Parse command line arguments by defining a struct.
- GitHub - seanmonstar/reqwest: An easy and powerful Rust HTTP Client
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
const crypto = require('crypto') | |
const fs = require('fs') | |
const readline = require('readline') | |
const rl = readline.createInterface({ input: process.stdin, output: process.stdout }) | |
const prompt = (query) => new Promise((resolve) => rl.question(query, resolve)) | |
void (async () => { | |
const args = process.argv.slice(2) |
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 -eu | |
# (C) Timothy Jones | |
# This function prints the usage | |
function usage { | |
{ | |
echo "Usage:" | |
echo " ${BASH_SOURCE[0]} <NAME> <VALUE> <KEY_ID>" | |
echo " NAME - the name of the SSM variable" |
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 the following in .zshrc: | |
... | |
plugins=(osx git zsh-autosuggestions zsh-syntax-highlighting zsh-nvm docker kubectl) | |
... | |
### Fix slowness of pastes with zsh-syntax-highlighting.zsh | |
pasteinit() { | |
OLD_SELF_INSERT=${${(s.:.)widgets[self-insert]}[2,3]} | |
zle -N self-insert url-quote-magic # I wonder if you'd need `.url-quote-magic`? |
FWIW: I (@rondy) am not the creator of the content shared here, which is an excerpt from Edmond Lau's book. I simply copied and pasted it from another location and saved it as a personal note, before it gained popularity on news.ycombinator.com. Unfortunately, I cannot recall the exact origin of the original source, nor was I able to find the author's name, so I am can't provide the appropriate credits.
- By Edmond Lau
- Highly Recommended 👍
- http://www.theeffectiveengineer.com/