- Simple Brainfuck REPL interpreter in Python
- Here are some sample programs:
$ ./brainfuck_repl.py
$ ./brainfuck_repl.py
I was using rsync -e "ssh"
to transfer files between local and remote computer. If I want to transfer a file from remote to local, the command will be like rsync -av --delete -e "ssh" user@ip:/path/to/fileA /home/user/folder/
. One day, however, I thought I could transfer a remote folder /path/to/folderA/
to my home /home/user/
. After running the command, I found that it started erasing my home directory! Since Linux has disk encryption by default, I failed to rescue those files eventually ;(
My bash history was stored as ~/.bash_history
. One day, I was running a huge apt upgrade. It took me plenty of time, so I left it and went to sleep. However, I forgot that my laptop was in battery mode. So eventually, the battery ran out, and my computer experienced an abnormal power off, which resulted in me having a corrupted bash_history
. I have no backups, so I lost all my bash history ;(
I just learned how to use tee
to app
以下是我自己的逆向工程筆記!有錯還請多多指教XD
┌───────── ASCII ─────────┐
│ 30 0 20 SPACE │
│ 41 A 0d0a CRLF │
│ 61 a │
└─────────────────────────┘
+
to create windows, |
to split horizontally, Ctrl+C
to copy, End
to move to end-of-line)apt-get install tmux
.~/.tmux.conf
with the following contents.