Skip to content

Instantly share code, notes, and snippets.

@Artefact2
Artefact2 / README.md
Last active May 3, 2025 14:35
GGUF quantizations overview
@RuolinZheng08
RuolinZheng08 / backtracking_template.py
Last active March 21, 2025 05:20
[Algo] Backtracking Template & N-Queens Solution
def is_valid_state(state):
# check if it is a valid solution
return True
def get_candidates(state):
return []
def search(state, solutions):
if is_valid_state(state):
solutions.append(state.copy())
@dnburgess
dnburgess / gist:5caf8ff10f65bdc2467d532f55753774
Last active October 14, 2023 21:29
DB Tech Pi-hole on Pi 4
---
version: 2
services:
pihole:
container_name: pihole
image: pihole/pihole:latest
ports:
- 53:53/tcp #DNS Port
- 53:53/udp #DNS Port
#- 67:67/udp #DHCP Port
  • repo -> repository

  • clone -> bring a repo down from the internet (remote repository like Github) to your local machine

  • add -> track your files and changes with Git

  • commit -> save your changes into Git

  • push -> push your changes to your remote repo on Github (or another website)

  • pull -> pull changes down from the remote repo to your local machine

  • status -> check to see which files are being tracked or need to be commited

  • init -> use this command inside of your project to turn it into a Git repository and start using Git with that codebase

@routeback
routeback / notes.md
Last active March 12, 2025 10:14
SEC487 Notes