Skip to content

Instantly share code, notes, and snippets.

View jcanfield's full-sized avatar
💭
If I do not respond quickly, try me on Twitter at @creativeboulder.

Joshua Canfield jcanfield

💭
If I do not respond quickly, try me on Twitter at @creativeboulder.
View GitHub Profile
@jcanfield
jcanfield / install-tools-win.ps1
Last active August 1, 2025 23:20
Linux & MacOS CLI tools for Windows
# 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
@jcanfield
jcanfield / .aliases
Last active August 2, 2025 01:17
Bash Aliases (.bash_aliases) for DEB based system
# 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
@jcanfield
jcanfield / fail2ban.md
Created May 22, 2025 19:20 — forked from pixelchrome/fail2ban.md
fail2ban - cheatsheet

fail2ban

Installation - Ubuntu / Debian

sudo apt-get update
sudo apt-get upgrade
sudo apt-get install fail2ban
@jhlmacedo
jhlmacedo / TechToolsList.md
Created June 8, 2023 19:19
A list of Windows repair tools, tweaks, and scanners
@proffapt
proffapt / azure-openvpn-setup.md
Last active July 23, 2025 14:23
Elaborated step by step guide to setup OpenVPN on Azure via student discount
@jcanfield
jcanfield / system_update.sh
Created February 14, 2023 02:44 — forked from bmatthewshea/system_update.sh
Ubuntu-Debian APT upgrade script
#!/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:
#################################
@camullen
camullen / installation.md
Created December 10, 2022 23:52
KDE Install on WSL2
@jcanfield
jcanfield / tmux-new.sh
Created September 11, 2022 18:55
Simple Bash Script to Create a New Session
#!/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
@shakahl
shakahl / profile.sh
Created September 8, 2022 06:35
SteamOS 3.0 holo (holoiso) scripts
# /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":*)
/db
/plugins
/uploads
/logs