Skip to content

Instantly share code, notes, and snippets.

@airbornelamb
airbornelamb / documentationoptions.md
Last active March 26, 2020 17:31
Documentation options

For paid options, process street is undoubtedly the best. For libre it depends on if you need PDF export and whatnot. If that is needed then Sphinx has all the bells and whistles and can be used with readthedocs if you want it hosted for free (publicly visible). The other options have to be hosted in some way on a VPS etc. For something light that doesn't need PDF export then docsify or mkdocs is probably the best. For something that outsiders can edit and that does pdf/epub export than gitbook is probably the best. I think ultimately gitbook is the best middle of the road for libre but you need a vps.

Process street https://www.process.st/ - Paid but very simple and has features none of the other ones have, like the ability to create a new instance of a process workflow and go through it (onboard a new student etc)

Slate https://github.com/lord/slate - more focused on coding development

Docusaurus https://docusaurus.io/ - pretty good. hooks in with algolia search which is very good for searching.

Booksta

@airbornelamb
airbornelamb / convertmultiplemarkdown.md
Last active October 9, 2023 13:50
Systematic way to convert multiple markdown files to html
@airbornelamb
airbornelamb / gitcheatsheet.md
Created October 20, 2017 14:42
Git cheat sheet

Clone a repo

git clone https://github.com/cooperka/emoji-commit-messages.git

Or initialize a repository locally

git init

Stage local changes

git add --all

title description author tags date_published
Running an NGINX Reverse Proxy with Docker and Let's Encrypt on Google Compute Engine
Learn to serve multiple websites simultaneously in a single Compute Engine instance with Docker and NGINX. Also, learn how to secure the sites with Let's Encrypt.
tswast
Compute Engine, NGINX, Docker, Let's Encrypt
2017-04-19

This tutorial will guide you through running multiple websites on a Google Compute Engine instance using Docker. You will secure the websites using free SSL/TLS certificates from Let's Encrypt.

@airbornelamb
airbornelamb / backup.ps1
Last active August 23, 2017 11:36 — forked from Fireforge/backup.ps1
Powershell backup script using Robocopy
#
# ROBOCOPY Script
#
# This script calls robocopy over a few folders, and then emails you when they're done
Param(
[Parameter(Mandatory=$true)]
[string]$basesrc, #"G:\",
[Parameter(Mandatory=$true)]
[string]$basedst, #
@airbornelamb
airbornelamb / kanbanlist.sh
Last active June 26, 2017 12:46
Setup and install kanban-list server
#!/bin/bash
# This script installs the kanban-list application created by https://github.com/volpe28v/kanban-list
whoitis=$(whoami)
# Install RVM
gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3
curl -sSL https://get.rvm.io -o rvm.sh
chmod +x rvm.sh
@airbornelamb
airbornelamb / ambarinstall.sh
Last active June 20, 2017 20:04
Installs docker, docker compose, and Ambar document search system
#!/bin/bash
# Docker
sudo apt-get install apt-transport-https ca-certificates curl software-properties-common python python-pip
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo apt-key fingerprint 0EBFCD88
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
sudo apt-get update
sudo apt-get install docker-ce
@airbornelamb
airbornelamb / flaruminstall.sh
Created May 19, 2017 01:54
Flarum install script for Ubuntu 14.04 or Debian 7.11
#!/bin/bash
flarum_install="/home/$USER/flarum"
webuser_group='www-data'
OS_version=$(lsb_release -a 2> /dev/null | grep Description | tr -d \\t | cut -f2 -d:)
sudo gpasswd -a $USER www-data
# Add repo and key for php5.6
# Support for Debian 7.10 and Ubuntu 14.04
if [ "$OS_version" == "Debian GNU/Linux 7.11 (wheezy)" ]
@airbornelamb
airbornelamb / nodestacks.sh
Created April 28, 2017 15:34
This is an extension of nodeserversetup.sh that allows you to install additional frameworks
#!/bin/bash
clear
echo "This script offers options to setup javascript frameworks for Ubuntu Xenial 16.04"
echo "YOU MUST RUN nodeserversetup.sh script FIRST to install node, mongodb, yarn"
clear
echo "Enter number of framework to install: "
options=("cloud9ide" "gitlab" "express" "meteor" "react" "feathers" "quit")
select opt in "${options[@]}"
@airbornelamb
airbornelamb / nodeserversetup.sh
Last active February 13, 2018 01:07
Server setup script installs official mongoDB and nodejs for Ubuntu Xenial 16.04 with options for cloud9, gitlab, and several popular Javascript Frameworks (express-generator meteor create-react-app feathers-cli)
#!/bin/bash
echo "This script installs the mongoDB and nodejs for Ubuntu Xenial 16.04"
echo "You then have options for express-generator, meteor, create-react-app, and feathers"
sleep 3
sudo apt-get update
sudo apt-get install -y git curl