Skip to content

Instantly share code, notes, and snippets.

Oh my zsh.

Oh My Zsh

Install ZSH.

sudo apt install zsh-autosuggestions zsh-syntax-highlighting zsh

Install Oh my ZSH.

@Rlyown
Rlyown / encoding_detector.py
Created March 24, 2023 18:41
A simple script to detect file encoding.
#!/opt/homebrew/bin/python3
# coding: utf-8
from chardet.universaldetector import UniversalDetector
import sys
def help():
print("Usage: python encoding_detector.py <file> ...")
if __name__ == "__main__":