People always sleep on script
. It's badass and let's you do goofy things like this while keeping standard terminal formatting: https://github.com/StaticRocket/dotfiles/blob/043e9a56cc9515060188ec4642e4048c0dd6c000/dot_bashrc#L79-L94
Linux
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
Inshellisense is teaching me a lot. :) It's an autocompleter.
https://github.com/microsoft/inshellisense
Also, Atuin for history.
+1 to caddy. There are some services that set safe headers following the recommendations outlined by Mozilla but others don't control headers as strictly. Caddy is the only web server that I found that supports loose default header values. These values will be selected unless the upstream application specifies their own values.
You can do something similar in nginx but it requires playing with maps and has a little more indirection than I'd like.
Just wish caddy was capable of starting as root and stepping down permissions like Nginx. I have certs being managed by other tools and have to make sure they are installed and chowned for caddy's use when they are cycled.
I just started the process of switching from nginx Proxy Manager to Caddy yesterday, and even before setting up a single rule, I'm enjoying it more than NPM. Really wish I would have heard about it sooner!
glances! Way better than top
and does a bazillion cool things!
I loved glances until I switched to btop
with Hot Purple Traffic Light theme, and I doubt I'll switch again. Check it out!
ia
: internetarchive https://archive.org/developers/internetarchive/cli.html cli tool, i only use it for downloads, it can a bit more than the eye meets first, like accepting a wildcard to download certain files or specify other stuff. I have an incomplete script to help me with that, which I want to share in the future. The only problem is, that the internetarchive at archive.org is often very slow at downloading.
I abused debfoster for years... it kept my machines running very, very clean.
Cool. I'd never heard of this and I've used Debian for years.
I really enjoy erdtree a ls replacement
I use node
as a calculator a lot. It can be dangerous, because it suffers from floating point errors, but it’s generally more powerful than a calculator if you know the Math lib well.