Skip to content

Instantly share code, notes, and snippets.

Avatar

Sean Marquez capsulecorplab

View GitHub Profile
@capsulecorplab
capsulecorplab / install-dropbox.sh
Last active Nov 24, 2020
bash script for installing dropbox on 64bit Linux
View install-dropbox.sh
#!/usr/bin/env bash
# https://www.dropbox.com/install-linux
cd ~ && wget -O - "https://www.dropbox.com/download?plat=lnx.x86_64" | tar xzf -
@capsulecorplab
capsulecorplab / install-gt.sh
Last active Nov 24, 2020
bash script for installing glamorous toolkit
View install-gt.sh
#!/usr/bin/env bash
# install glamorous toolkit
# https://gtoolkit.com/download/
mkdir ~/gtoolkit
cd ~/gtoolkit
curl https://dl.feenk.com/scripts/linux.sh | bash
@capsulecorplab
capsulecorplab / install-chitubox.sh
Last active Nov 26, 2020
bash script for installing Chitubox
View install-chitubox.sh
#!/usr/bin/env bash
# Chitubox
if [ ! -r ~/CHITUBOX\ V1.7.0 ]; then
curl -L "https://sac.chitubox.com/software/download.do?softwareId=17839&softwareVersionId=v1.7.0&fileName=CHITUBOX_V1.7.0.tar.gz" -o ~/CHITUBOX_V1.7.0.tar.gz
tar -xvf ~/CHITUBOX_V1.7.0.tar.gz -C ~/
rm -rf ~/CHITUBOX_V1.7.0.tar.gz
fi
@capsulecorplab
capsulecorplab / install-signal.sh
Last active Dec 29, 2020
bash script for installing signal
View install-signal.sh
#!/usr/bin/env bash
# install Signal
# https://signal.org/en/download/#
# 1. Install our official public software signing key
wget -O- https://updates.signal.org/desktop/apt/keys.asc |\
sudo apt-key add -
# 2. Add our repository to your list of repositories
echo "deb [arch=amd64] https://updates.signal.org/desktop/apt xenial main" |\
sudo tee -a /etc/apt/sources.list.d/signal-xenial.list
@capsulecorplab
capsulecorplab / install-docker.sh
Last active Nov 24, 2020
bash script for installing docker
View install-docker.sh
#!/usr/bin/env bash
# install docker
# see https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-on-ubuntu-20-04
sudo apt install apt-transport-https ca-certificates curl software-properties-common -y
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu focal stable"
sudo apt update -y
apt-cache policy docker-ce
sudo apt install docker-ce -y
@capsulecorplab
capsulecorplab / install-plantuml.sh
Last active Jan 7, 2021
bash script for installing PlantUML
View install-plantuml.sh
#!/usr/bin/env bash
sudo apt update
sudo apt install -y default-jre graphviz
# plantuml
if [ ! -r ~/plantuml.jar ]; then
curl -L http://sourceforge.net/projects/plantuml/files/plantuml.1.2020.26.jar/download > ~/plantuml.1.2020.26.jar
ln -sv ~/plantuml.1.2020.26.jar ~/plantuml.jar
fi
@capsulecorplab
capsulecorplab / .gitignore
Last active Nov 1, 2020
bash scripts, such as for flashing & erasing micropython binaries to ESP32/8266.
@capsulecorplab
capsulecorplab / business-model-canvas.adoc
Last active Oct 6, 2020
Asciidoc template for generating a business model canvas
View business-model-canvas.adoc

Business Model Canvas - AsciiDoc Template

@capsulecorplab
capsulecorplab / primedirective.org
Last active Sep 20, 2020
Notes for debating the prime directive: for & against
View primedirective.org

Primary argument for prime directive

Anthropological argument:

The Prime directive establishes a baseline protocol by which Starfleet can scientifically & objectively observe/study new life and new civilizations intented to not corrupt the integrity of the scientific observation.

Rebuttal (to anthropological argument)

Impracticality argument:

  • The anthropological argument is impractical because it assumes it’s possible to observe without interfering
  • It’s poorly specified; why does it apply to pre-warp civilizations? It doesn’t consider the following nuances:
    • pre-warp-capable, but hasn’t yet made 1st contact
@capsulecorplab
capsulecorplab / .gitignore
Last active Jul 6, 2020
"Hello world" app running on Docker Compose. Full tutorial available at https://docs.docker.com/compose/gettingstarted/
View .gitignore
# Byte-compiled
__pycache__/