Abe requires Bash version 4+.
brew install bash
brew install autogen dejagnu coreutils gcc gawk git-new-workdir | #pragma once | |
| #include <iostream> | |
| #include <vector> | |
| #include <map> | |
| #include <string> | |
| #include <chrono> | |
| #include <cstdio> | |
| #include <unistd.h> |
| #!/usr/bin/env bash | |
| set -euo pipefail | |
| var_is_unset(){ | |
| declare -rn var=$1 | |
| test -z ${var+x} | |
| } | |
| while test $# -gt 0 ;do | |
| case $1 in |
| #!/usr/bin/env bash | |
| set -euo pipefail | |
| var_is_unset(){ | |
| declare -rn var=$1 | |
| test -z ${var+x} | |
| } | |
| while test $# -gt 0 ;do | |
| case $1 in |
| #include <iostream> | |
| using namespace std; | |
| int main() { | |
| int n; | |
| cout << "Enter Fibonacci index: "; | |
| cin >> n; | |
| if(n <= 1){ | |
| cout << n << endl; | |
| } |
| #include <iostream> | |
| #include <thread> | |
| #include <chrono> | |
| #include <condition_variable> | |
| using namespace std; | |
| using namespace std::chrono; | |
| using namespace std::chrono_literals; | |
| std::mutex expiration_thread_work_mutex_; |
| [alias] | |
| sta = status | |
| bra = branch | |
| co = checkout | |
| cos = checkout --recurse-submodule | |
| cosf = checkout --recurse-submodule --force | |
| root = rev-parse --show-toplevel | |
| toplevel = rev-parse --show-toplevel | |
| current-branch = rev-parse --abbrev-ref HEAD | |
| sub = submodule |
| #!/usr/bin/env bash | |
| set -euo pipefail | |
| --help(){ | |
| cat<<'END' | |
| make-workflows: | |
| This script expands '*.src.yml' from $1 (default: script's directory) | |
| to $2 (default:REPO_ROOT/.github/workflows) with corresponding name '*.yml' | |
| Main goal is to dereference YAML anchors. |