Skip to content

Instantly share code, notes, and snippets.

View strwbzzy's full-sized avatar
🎯
Focusing

chiyoko strwbzzy

🎯
Focusing
View GitHub Profile
@musale
musale / fix.md
Last active September 24, 2024 05:50
How to fix and recover a “corrupt history file” in zsh
# move to home directory
cd ~

# move the .zsh_history file into another .zsh_history_bad file
mv .zsh_history .zsh_history_bad

# write all printable strings into a new .zsh_history file
strings .zsh_history_bad > .zsh_history
@kirinelf
kirinelf / clock.html
Last active November 12, 2024 09:39 — forked from sam0737/clock.html
OBS Studio: A HTML page for showing current date and time in the video
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>A simple clock</title>
</head>
<body translate="no" >