Skip to content

Instantly share code, notes, and snippets.

View Ochibobo's full-sized avatar

Ochibobo Ochibobo

View GitHub Profile
@RuolinZheng08
RuolinZheng08 / backtracking_template.py
Last active September 9, 2024 08:42
[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())
@bradtraversy
bradtraversy / ssh.md
Last active February 8, 2025 13:39
SSH & DevOps Crash Course Snippets

SSH Cheat Sheet

This sheet goes along with this SSH YouTube tutorial

Login via SSH with password (LOCAL SERVER)

$ ssh [email protected]

Create folder, file, install Apache (Just messing around)

$ mkdir test

$ cd test