Skip to content

Instantly share code, notes, and snippets.

<!DOCTYPE html>
<html>
<head>
<title>Genie Effect</title>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
import os
import pickle
import hashlib
import asyncio
class Cache:
def __init__(self, cache_file):
self.cache_file = cache_file
os.makedirs(os.path.dirname(cache_file), exist_ok=True)
if os.path.exists(cache_file):
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
#!/bin/bash
# Complete macOS and Shell Commands Reference
# ===== FINDING ALL COMMANDS =====
# To find ALL commands available in your PATH:
compgen -c | sort | less
# Or list executables in common directories:
# find /bin /usr/bin /usr/local/bin /sbin /usr/sbin -type f -executable | sort
# ===== FILE SYSTEM NAVIGATION AND MANIPULATION =====