HTTP Status code: 200 Body: {"status_code": 500, "message": Internal Server Error"}



Commands


Created: 2024-01-01 | Modified: 2024-11-02

Handy commands i use on my Linux distro machines

Convert markdown to HTML

e.g. to preview a markdown file Reqires python-markdown

python3 -m markdown README.md > /tmp/README.html

To load extensions like code blocks:

python3 -m markdown -x fenced_code -x codehilite -x tables README.md > /tmp/README.html

List packages

Arch

pacman -Q

Debian

dpkg -l

List package files

Arch

pacman -Ql cowsay

Debian

dpkg -L cowsay

Check USB eject progress

The OS will lie, and tell you that it's done writing a file, while in reality it's not to flush this cache type:

sync

To monitor progress:

watch -n 0.5 grep 'Dirty' /proc/meminfo

Comments













(Will await approval before becoming public)