This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 ===== |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Genie Effect</title> | |
<style> | |
* { | |
margin: 0; | |
padding: 0; | |
box-sizing: border-box; | |
} |