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 / 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
/db
/plugins
/uploads
/logs
@jcanfield
jcanfield / aria2c_webUI.md
Created January 31, 2022 10:38 — forked from GAS85/aria2c_webUI.md
Aria2 + Ubuntu 18.04 + Apache2 + Web UI
OS: Ubuntu 18.04 Apache/2.4.18 1.0.2g-1ubuntu4.10
Aim: to install Aria2 with WebUI and secure Token.
IP Addr of your Aria2 server is 192.168.0.111
Your local IP network is 192.168.0.0/24

Aria 2

1. Installation

Install aria2 package:

@bmatthewshea
bmatthewshea / system_update.sh
Last active January 15, 2025 13:48
Ubuntu-Debian APT upgrade script
#!/bin/bash
# "system_update"
# Brady Shea
# Creation: 18SEP2020 - conversion of system_update alias to bash script
# Last update: 13DEC2024 - fixed distro string for debian, added uptime to info presented
# Original location: https://gist.github.com/bmatthewshea/6ef60db227d52f39200029312dd5446a
# Author Website: 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.
@w33ble
w33ble / docker-compose.advanced.yml
Last active May 28, 2024 23:13
Using jwilder/nginx-proxy with multiple compose files
version: '3'
services:
nginx-proxy:
image: nginx:alpine
container_name: proxy-nginx
environment:
- DEFAULT_HOST=hello.local
ports:
- 80:80
@AveYo
AveYo / .. MediaCreationTool.bat ..md
Last active April 24, 2025 13:43
Universal MediaCreationTool wrapper for all MCT Windows 10 versions - MOVED TO github.com/AveYo/MediaCreationTool.bat
@jcanfield
jcanfield / tmux-cheatsheet.markdown
Last active July 27, 2018 10:32 — forked from MohamedAlaa/tmux-cheatsheet.markdown
Cheatsheet for `tmux`

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@jcanfield
jcanfield / .bash_aliases
Created July 10, 2018 19:56 — forked from insane-dev/.bash_aliases
Commonly used bash aliases
#!/bin/bash
# Colors
RED='\033[0;31m'
BLACK='\033[0;30m'
DARK_GRAY='\033[1;30m'
LIGHT_RED='\033[1;31m'
GREEN='\033[0;32m'
LIGHT_GREEN='\033[1;32m'
BROWN_ORANGE='\033[0;33m'