Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/env bash
# Install Nano (www.nano-editor.org) with syntax highlighting (MacOS)
# sh -c "$(curl -fsSL https://gist.github.com/reijovosu/8b031e583a35114e7627a60d834a63be/raw/b36d2766d70972610cfda8d8c4356340ee2ee998/install-nano.sh)"
VERSION="4.8"
NANO_SHORT="nano-$VERSION"
NANO_SRC="$NANO_SHORT.tar.gz"
NANO_URL="https://www.nano-editor.org/dist/v4"
NANO_EXTRA="https://github.com/scopatz/nanorc"
@reijovosu
reijovosu / rsync_parallel.sh
Last active August 28, 2021 15:03 — forked from rcoup/rsync_parallel.sh
Parallel-ise an rsync transfer when you want multiple concurrent transfers happening,
#!/bin/bash
set -e
# Usage:
# rsync_parallel.sh [--parallel=N] [rsync args...]
#
# Options:
# --parallel=N Use N parallel processes for transfer. Defaults to 10.
#
# Notes:
@reijovosu
reijovosu / install_zsh1.sh
Last active January 25, 2020 17:19
Install zsh
# Start by running:
# sh -c "$(curl -fsSL https://gist.githubusercontent.com/reijovosu/5a5c2bbf2e40c96baab94e6a0a91c80e/raw/7665456f94fa598301eb30e38a4ad0e67d41c816/install_zsh1.sh)"
sudo apt-get update && sudo apt-get upgrade
sudo apt-get install git zsh
chsh -s /bin/zsh
echo "Now reboot and run sh -c \"$(curl -fsSL https://gist.githubusercontent.com/reijovosu/5a5c2bbf2e40c96baab94e6a0a91c80e/raw/7665456f94fa598301eb30e38a4ad0e67d41c816/install_zsh2.sh)\""