I hereby claim:
- I am paulojeronimo on github.
- I am paulojeronimo (https://keybase.io/paulojeronimo) on keybase.
- I have a public key ASBCJ16fy6V052sD0-0Q6mAbchT7rS8UmXjEngLFFV-LsAo
To claim this, I am signing this object:
| diff --git a/README.md b/README.md | |
| index 70b2193..207f5f5 100644 | |
| --- a/README.md | |
| +++ b/README.md | |
| @@ -17,8 +17,9 @@ A terminal-based cryptocurrency price graph generator that displays historical p | |
| ## Requirements | |
| -- Python 3.7+ | |
| +- Python 3.8+ (Textual UI requires Python 3.8 or newer) |
| #!/usr/bin/env bash | |
| set -eou pipefail | |
| cursor_dir=${cursor_dir:-~/Downloads} | |
| cursor_prefix=cursor- | |
| cursor_suffix=.AppImage | |
| cursor_files=($(echo $cursor_dir/$cursor_prefix*$cursor_suffix)) | |
| log() { | |
| local level=${level:-INFO} |
| npub1hq6d29kfunp3nhmtd06lvrnfqwylkp25zjgnjk0rupcp9fdtyycqvmwcy7 |
| #!/usr/bin/env bash | |
| cat <<'EOF' | |
| If we divide 1 by 998001 we get the number ".000 001 002 003 ... 997 999 ...". | |
| Look how curious: the 998 simply disappears! | |
| Want proof? Read the code of this script! | |
| Read more: https://www.linkedin.com/feed/update/urn:li:activity:6954872558508732416/ | |
| EOF |
I hereby claim:
To claim this, I am signing this object:
Using Node.js (and the package serve)
$ serve -s .
Using Python 3
$ python3 -m http.server 3000
| #!/usr/bin/env bash | |
| BUILD_DIR=${BUILD_DIR:-build} | |
| ADOC=${ADOC:-README.adoc} | |
| REMOTE_REPO=${REMOTE_REPO:-`git config --get remote.origin.url`} || : | |
| GENERATE_PDF=${GENERATE_PDF:-false} | |
| HTML_NAME=${HTML_NAME:-index.html} | |
| PDF_NAME=${PDF_NAME:-`basename "$BASE_DIR".pdf`} | |
| SERVE_PORT=${SERVE_PORT:-5001} | |
| MAIN_BRANCH=${MAIN_BRANCH:-main} |
| #!/usr/bin/env bash | |
| set -eou pipefail | |
| ! [[ `uname` = Darwin ]] || { | |
| command -v greadlink &> /dev/null || { | |
| echo "Install greadlink! ($ brew install coreutils)" | |
| exit 1 | |
| } | |
| readlink() { greadlink "${@:-}"; } | |
| } |
All your notes, scripts, config files and snippets deserve version control and tagging!
gist is a simple bash script for gist management.
It is light and dependency-free! Helps you to boost coding workflow.
| vm-mount |