View poetry-pro-project.sh
This file contains 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
#!/usr/bin/bash | |
# DEPRECATED!!!!!!!!!!!! See https://github.com/mugendi/poetry-project-scaffold | |
# BASED ON | |
# 1. https://medium.com/mlearning-ai/how-to-start-any-professional-python-package-project-9f66538ebc2 | |
unameOut=$(uname -a) | |
case "${unameOut}" in | |
*Microsoft*) OS="WSL" ;; #must be first since Windows subsystem for linux will have Linux in the name too |
View Monit Config Creator for PM2 - Better!
This file contains 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 | |
# Some utility functions.... | |
trailing_slash () { | |
STR="${1}" | |
length=${#STR} | |
last_char=${STR:length-1:1} | |
[[ $last_char != "/" ]] && STR="$monitDir/"; | |
echo $STR; |
View Monit Config Creator for PM2
This file contains 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 | |
# Some utility functions.... | |
trailing_slash () { | |
STR="${1}" | |
length=${#STR} | |
last_char=${STR:length-1:1} | |
[[ $last_char != "/" ]] && STR="$monitDir/"; |
View pkglist.txt
This file contains 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
accountsservice install | |
acpid install | |
adduser install | |
amd64-microcode install | |
apparmor install | |
apt install | |
apt-utils install | |
aptitude install | |
aptitude-common install | |
base-files install |