sudo apt-get update
sudo apt-get upgrade
sudo apt-get install fail2ban
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
# Install Linux and MacOS command-line tools | |
## Based off of the following list, https://medium.com/@pachoyan/suprising-list-of-linux-and-macos-command-line-tools-available-on-windows-29c20b2f4325 | |
## I have personally installed all options to use in testing envrinoments and they typically work as advertised | |
## Comment the following if you have already install Winget and scoop | |
# Installing scoop | |
# More info, https://scoop.sh/ | |
#Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser | |
#Invoke-RestMethod -Uri https://get.scoop.sh | Invoke-Expression |
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
# Zsh Aliases Configuration | |
# by @jcanfield | |
# ============================================================================= | |
# SHORTENED COMMANDS | |
# ============================================================================= | |
alias ll='ls -l' | |
alias la='ls -a' | |
alias lc='ls -CF' | |
alias l='exa -l' # Removed $1 parameter for better zsh compatibility |
Convert to .md - https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet- Organize programs into groups: Imaging, Repair, etc.
- Convert to other formats and test - https://www.browserling.com/tools/markdown-to-html
- (N) = Available through Ninite.com
- (D) = Discontinued/No longer receives updates
- (O) = Open source
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 | |
# | |
# Brady Shea - 18SEP2020 - conversion of system_update alias to bash script | |
# https://www.holylinux.net/ | |
# | |
# Place this script in "/usr/local/sbin/system_update" or similar location under your $PATH | |
# It needs root permissions (SUDO) to execute. | |
# | |
# Change these settings to your liking: | |
################################# |
Inspiration: https://www.most-useful.com/kde-plasma-on-wsl.html
- Update WSL
- In windows command prompt run:
wsl --update
- In windows command prompt run:
- Add systemd to ubuntu
- In ubuntu prompt run:
sudo nano /etc/wsl.conf
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 | |
# USAGE: ./tmux-new.sh SESSION_NAME | |
# | |
# Credit to Keon Woortman | |
# URL: https://koenwoortman.com/tmux-sessions-should-be-nested-with-care-unset-tmux-to-force/ | |
session_name="$1" | |
# 1. First you check if a tmux session exists with a given name. | |
tmux has-session -t=$session_name 2> /dev/null |
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
# /etc/profile | |
# Set our umask | |
umask 022 | |
# Append "$1" to $PATH when not already in. | |
# This function API is accessible to scripts in /etc/profile.d | |
append_path () { | |
case ":$PATH:" in | |
*:"$1":*) |
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
/db | |
/plugins | |
/uploads | |
/logs |
NewerOlder