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 / rich-text-html-editors.md
Created June 2, 2025 03:59 — forked from manigandham/rich-text-html-editors.md
Rich text / HTML editors and frameworks

Strictly Frameworks

Abstracted Editors

These use separate document structures instead of HTML, some are more modular libraries than full editors

@jcanfield
jcanfield / .aliases
Last active May 23, 2025 18:47
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
@jcanfield
jcanfield / _mobile.scss
Created February 11, 2025 22:30
Older BlueprintCSS mobile.scss addon
<!-- Add to screen.scss -->
@media only screen and (max-width: 767px) {
.container {
}
}
@media only screen and (max-width: 479px) {
.container {}
}
@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:
#################################
@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
@jcanfield
jcanfield / docker-compose.yml
Last active February 21, 2023 23:26
creativeboulder-com_testing
version: '3'
services:
app:
image: 'jc21/nginx-proxy-manager:latest'
restart: unless-stopped
ports:
- '80:80'
- '81:81'
- '443:443'
volumes:
@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:

195.114.173.153 # ns1.internetia.pl - Netia
195.116.55.69 # ns2.internetia.pl - Netia
8.8.8.8 # google-public-dns-a.google.com - Google
8.8.4.4 # google-public-dns-b.google.com - Google
208.67.222.222 # resolver1.opendns.com - OpenDNS
208.67.220.220 # resolver2.opendns.com - OpenDNS
208.67.222.220 # resolver3.opendns.com - OpenDNS
208.67.220.222 # resolver4.opendns.com - OpenDNS
149.156.1.3 # nms.cyf-kr.edu.pl
149.156.4.11 # info.cyf-kr.edu.pl
@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