Skip to content

Instantly share code, notes, and snippets.

View AriRexouium's full-sized avatar
🎵
Just Vibing

Jarrett Aiken AriRexouium

🎵
Just Vibing
View GitHub Profile
@AriRexouium
AriRexouium / README.md
Last active January 28, 2024 18:29
NixOS Server Setup

NixOS Setup

#!/usr/bin/env bash
# -*- coding: utf-8 -*-
set -euo pipefail
# Version 2024/01/28 - Changelog: https://gist.github.com/AriRexouium/17dde617d245a6a7e91878974719d42c
# Iris Color Library
# This script sets all forground & background colors and graphic modifiers to variables.
# Based on: https://gist.github.com/fnky/458719343aabd01cfb17a3a4f7296797
#
@AriRexouium
AriRexouium / archivegithub.sh
Last active January 28, 2024 18:30
Archive GitHub Repositories Shellscript
#!/usr/bin/env bash
# -*- coding: utf-8 -*-
set -euo pipefail
# Version 2024/01/28 - Changelog: https://gist.github.com/AriRexouium/9cf8cc6e3ea66d4c67de38c6500391e4
# This script uses the GitHub API to retrieve the logged in user's repos and gists, downloads them, then archives them.
# Create a classic PAT with the 'repo', 'gist' & 'admin:public_key' scopes and update TOKEN for this script to work.
# https://github.com/settings/tokens
# repo: To clone private repositories.
@AriRexouium
AriRexouium / autoupdate.sh
Last active January 28, 2024 18:30
Self Updating Github Gist Shellscript
#!/usr/bin/env bash
# -*- coding: utf-8 -*-
set -euo pipefail
# Version 2024/01/28 - Changelog: https://gist.github.com/AriRexouium/4a1277a9e8405a5b357778f6ff0764ba
# This script checks for updates to a GitHub Gist and automatically updates if a new version is available.
#
# Usage: ./autoupdate.sh
#
@AriRexouium
AriRexouium / batchprotect.sh
Last active January 28, 2024 18:33
Batch-protecting Files with PAR2 & GPG Shellscript
#!/usr/bin/env bash
# -*- coding: utf-8 -*-
set -euo pipefail
# Version 2024/01/28 - Changelog: https://gist.github.com/AriRexouium/425d07d5e651b479069d0d56e4b5fa60
# This script provides a wrapper to batch protect your files with PAR2 and GPG.
#
# Usage: ./batchprotect.sh
#
@AriRexouium
AriRexouium / archive.sh
Last active January 28, 2024 18:27
File Archiving Shellscript
#!/usr/bin/env bash
# -*- coding: utf-8 -*-
set -euo pipefail
# Version 2024/01/28 - Changelog: https://gist.github.com/AriRexouium/0712ffed7cb066c4ddf5c221722d9337
# This script provides a wrapper to compress and extract files/directories using various algorithms.
# Supported algorithms include tar, bzip2, lzma, lzip, lzop, gzip, zstd, 7z, rar, and par2.
#
# Usage: ./archive.sh <command> <algorithm> <filename or directory>
@AriRexouium
AriRexouium / README.md
Last active July 7, 2022 18:41
Termux Notes
@AriRexouium
AriRexouium / README.md
Last active July 7, 2022 18:42
SD Card Notes

Keybase proof

I hereby claim:

  • I am aceheliflyer on github.
  • I am aceheliflyer (https://keybase.io/aceheliflyer) on keybase.
  • I have a public key ASCf3zP72fmAUdNuLF0611F8mv98EBCHx_IJ3Y5f6LzLqgo

To claim this, I am signing this object: