💾 Archived View for mischk.flounder.online › cli › cli.gmi captured on 2021-12-05 at 23:47:19. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2021-11-30)

➡️ Next capture (2024-06-20)

-=-=-=-=-=-=-

Run a web server on your local machine

sometimes I want to share some data in the local network. An easy way to do it is to run the python webserver in a directory to share its content:

python3 -m http.server 8000

starts the webserver in the working directory. If you point your browser to localhost:8000, you will see its content. If you on another machine you need the local IP of the serving computer.

cheat

the tool cheat shows a cheat sheet for shell commands. Its nice to have a condensed list rather than digging through the man page just to find how to detach a tmux session.

on Ubuntu one can install cheat via snap

 sudo snap install cheat

Ascii Art with aewan

with aewan you can make ascii art. Its a neat editor and you can "draw" with everything you can access with your keyboard + the boxes characters. I wish there where more options, but thats what it is.

Instead just saving txt, it saves the graphics in a binary format, what i consider uncommon for an ascii art editor. This way, its easier to copy/paste your work from the terminal window.

You get it from the Ubuntu/Debian software repositories via

 sudo apt install aewan

If you find a better ascii art editor for linux, let me know.