Skip to content

Instantly share code, notes, and snippets.

View Tower450's full-sized avatar

JT Tower450

  • Montreal, QC Canada
View GitHub Profile
@michaellihs
michaellihs / tmux-cheat-sheet.md
Last active September 16, 2026 13:01
tmux Cheat Sheet
@mjkstra
mjkstra / arch_linux_installation_guide.md
Last active September 16, 2026 06:43
A modern, updated installation guide for Arch Linux with BTRFS on an UEFI system
@MohamedAlaa
MohamedAlaa / tmux-cheatsheet.markdown
Last active September 15, 2026 08:42
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@squarism
squarism / iterm2.md
Last active September 14, 2026 17:00
An iTerm2 Cheatsheet

In the below keyboard shortcuts, I use the capital letters for reading clarity but this does not imply shift, if shift is needed, I will say shift. So + D does not mean hold shift. + Shift + D does of course.

Tabs and Windows

Function Shortcut
New Tab + T
Close Tab or Window + W (same as many mac apps)
Go to Tab + Number Key (ie: ⌘2 is 2nd tab)
Go to Split Pane by Direction + Option + Arrow Key
@mdonkers
mdonkers / server.py
Last active September 9, 2026 16:40
Simple Python 3 HTTP server for logging all GET and POST requests
#!/usr/bin/env python3
"""
License: MIT License
Copyright (c) 2023 Miel Donkers
Very simple HTTP server in python for logging requests
Usage::
./server.py [<port>]
"""
from http.server import BaseHTTPRequestHandler, HTTPServer
@kevin-smets
kevin-smets / iterm2-solarized.md
Last active August 31, 2026 22:25
iTerm2 + Oh My Zsh + Solarized color scheme + Source Code Pro Powerline + Font Awesome + [Powerlevel10k] - (macOS)

Default

Default

Powerlevel10k

Powerlevel10k

@subfuzion
subfuzion / curl.md
Last active August 20, 2026 18:53
curl POST examples

Common Options

-#, --progress-bar Make curl display a simple progress bar instead of the more informational standard meter.

-b, --cookie <name=data> Supply cookie with request. If no =, then specifies the cookie file to use (see -c).

-c, --cookie-jar <file name> File to save response cookies to.

# Credit for this: Nicholas Swift
# as found at https://medium.com/@nicholas.w.swift/easy-a-star-pathfinding-7e6689c7f7b2
from warnings import warn
import heapq
class Node:
"""
A node class for A* Pathfinding
"""