This file contains hidden or 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 | |
| # Confirm tmux is installed | |
| sudo apt list tmux; | |
| # Confirm tmux source | |
| tmux source ~/.tmux.conf; | |
| # Change default shell to Bash | |
| sudo chsh -s /bin/bash; |
This file contains hidden or 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
| # Homebrew: install dependencies | |
| brew update; | |
| brew install autoconf automake cmake gcc git gmp libsigsegv libtool meson ninja pkg-config python2 openssl re2c; | |
| # Install Urbit packages | |
| mkdir -p ~/github/urbit/; | |
| cd ~/github/urbit/; | |
| git clone https://github.com/urbit/urbit.git; | |
| git clone https://github.com/urbit/arvo.git; |
This file contains hidden or 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 | |
| # Initial setup | |
| cd ~; | |
| # Initial APT packages update/upgrade | |
| sudo apt update; | |
| sudo apt upgrade --yes --allow-change-held-packages --allow-downgrades --allow-remove-essential; | |
| #! /bin/bash |
This file contains hidden or 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
| # Backup fora | |
| for node in {general,updates,answers,proposals,archive}; do cp -r ~/fora-ship-2/home/web/fora/$node/posts* ~/github/urbit/fora-posts/$node/; done; | |
| cd ~/github/urbit/fora-posts/; | |
| git status; | |
| git add -A; | |
| git -c user.name="Keaton Dunsford" -c user.email="keaton@tlon.io" -c "core.editor=nvim" commit -av; | |
| git push origin master; | |
This file contains hidden or 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
| # Functions | |
| function git_update_master () { | |
| git fetch --all; | |
| git checkout master &> /dev/null; | |
| git -c "core.editor=nvim" pull origin master; | |
| } | |
| # Update instance, one-liner | |
| sudo apt update; \ | |
| sudo apt upgrade -y; \ |
This file contains hidden or 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 | |
| tmux new-session -d -s urbit -n bash 'curl https://storage.googleapis.com/media.urbit.org/onboarding/ubuntu-18_04-lts.sh | bash' |
This file contains hidden or 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 | |
| # Initial setup | |
| cd ~; | |
| # Check user = ubuntu | |
| whoami; | |
| # Check successfully installed SSH public key | |
| cat ~/.ssh/authorized_keys; |
This file contains hidden or 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
| ~tonduc-mapped | |
| ~tontec-micrux | |
| ~tonweb-pilseb | |
| ~tonfyn-ponhep | |
| ~tonpex-hinnym | |
| ~tonsum-racdyl | |
| ~tonsev-hidrym | |
| ~tontug-ribnec | |
| ~tonfyr-tonbur | |
| ~tontus-ridren |
This file contains hidden or 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
| ~tonrun-siltyp | |
| ~tonmul-sornyr | |
| ~tonber-sogmex | |
| ~tonzod-satnyx | |
| ~tonlep-sittep | |
| ~tonreb-somleb | |
| ~tontyl-sabdel | |
| ~tonfes-sopsem | |
| ~tonlux-savfur | |
| ~tonpyl-sornut |
This file contains hidden or 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
| gsed -i '/^~ton/!d' ~/Downloads/marzod-planets-ton.txt |