sneakyninjapants

joined 1 year ago

having to do a firmware update on my soldering iron

You don't. It works perfectly fine OOTB. Can't speak for the Pinecil v2 with Bluetooth and the companion app but I have v1 and the software been stable and bug-free enough I've never even given a thought to updating the firmware on it

Here's one I have saved in my shell aliases.

nscript() {
    local name="${1:-nscript-$(printf '%s' $(echo "$RANDOM" | md5sum) | cut -c 1-10)}"
    echo -e "#!/usr/bin/env bash\n#set -Eeuxo pipefail\nset -e" > ./"$name".sh && chmod +x ./"$name".sh && hx ./"$name".sh
}
alias nsh='nscript'

Admittedly much more complicated than necessary, but it's pretty full featured. first line constructs a filename for the new script from a generated 10 character random hash and prepends "nscript" and a user provided name.

The second line writes out the shebang and a few oft used bash flags, makes the file executable and opens in in my editor (Helix in my case).

The third line is just a shortened alias for the function.

It's because the original image macro that this is based on was about piracy, saying something along the lines of "I bring a certain 'just torrent it' vibe to the conversion that the riaa just doesn't like."

Their reuse of the macro is indirectly an answer or a continuation of it that can be seen as acknowledging the original message.

Even if you need something just once, just install it and then uninstall it, takes like 10 seconds.

apt install foo && apt remove foo

That's essentially what nix-shell -p does. Not a special feature of nix, just nix's way of doing the above.

Actually using it though is pretty convenient; it disappears on its own when I exit the shell. I used it just the other day with nix-shell -p ventoy to install ventoy onto an ssd, I may not need that program again for years. Just used it with audible-cli to download my library and strip the DRM with ffmpeg. Probably won't be needing that for a while either.

The other thing to keep in mind is that since Nix is meant to be declarative, everything goes in a config file, which screams semi-permenant. Having to do that with ventoy and audible-cli would just be pretty inconvenient. That's why it exists; due to how Nix is, you need a subcommand for temporary one-off operations.

If you're ok with just file storage sftpgo has been solid for me for years now. Does sftp ftp and WebDAV (like nextcloud). Webui isn't as pretty but it's fast. Mobile apps will be various sync apps with sftp or WebDAV support. On Android folder sync pro is pretty good for keeping documents and pictures backed up

[–] sneakyninjapants@sh.itjust.works 1 points 1 year ago* (last edited 1 year ago)

I think ejabberd or another other xmpp server would have been my first choice for a service like this by a long shot. If only we had some good iOS clients to go to. While I'm on android, most of the family and some of the friends use iOS, so it was kind of a non-starter from that alone.

Edit: log -> long

[–] sneakyninjapants@sh.itjust.works 9 points 1 year ago* (last edited 1 year ago)

My long and mostly complete list:

  • Audiobookshelf (GH)
    • Using for audiobooks. Ebooks, comics, and podcast support in early stages.
  • Authelia (GH)
    • Using for two-factor authentication in front of all of my services. Critical infrastructure.
  • Bazarr (GH)
    • Using for automated subtitle management. Have not needed to rely on it much.
  • Code-Server (GH)
    • Using for a plethora of things. I could write an entire post on this alone.
  • Courier
    • Using (occasionally) for package-tracking from various carriers.
  • EmulatorJS
    • Using for retro-emulation.
  • Gitea (GH) x2
    • Using as a git repo server, package repository, and for CI/CD automation. Is critical infrastructure in my lab. Could also write an entire post on this one.
  • Headscale with Headscale-UI. Tailscale clients on various VMs LXCs, etc.
    • Using to securely network with my remote servers.
  • Homepage
    • Using as a "single-pane-of-glass" to get an overview of service health with links to the various services.
  • Invidious
    • Using in-place of YouTube.
  • IT-Tools (GH)
    • Using for the myriad of various useful tools it offers.
  • Jellyfin (GH)
    • My media player of choice. Using for movies and television, but supports music, ebooks, and photos in addition.
  • Kopia Server (GH)
    • Using for data backups to my Minio instance on local NAS and Wasabi. Simple, fast, and reliable.
  • Librespeed (GH)
    • Using for the occasional speedtest to my remote servers.
  • Matrix stack using Conduit back end and Element-Web front end
    • Federated Discord essentially. Using as a private instance for friends and family.
  • Minio
    • Using primarily as a gateway to storing backups, also serves git-lfs for Gitea.
  • N8N (GH)
    • Using for home-automation, backing up my Reddit saved posts to a database, deal-alerts, and part of a CI/CD pipeline.
  • NTFY (GH)
    • Using for infrastructure notifications mostly. Very simple and versatile alerting solution.
  • NZBGet
    • Using for getting "usenet articles".
  • Paperless-NGX
    • Using for document archival. Important receipts, documentation, letters, etc. live here.
  • Portainer (GH) with multiple agents on VM's LXCs and VPSs
    • High level management of my various docker containers.
  • Prowlarr
    • Using to provide torznab API to websites that dont natively have it. Integrates with Radarr and Sonarr
  • Radarr (GH)
    • Using for movie management.
  • Radicale
    • Using for contacts and calendar server.
  • Raneto (GH)
    • Using as a knowledge base. Lab documentation, lists, recipes, lots of things live here. Using with with code-server and Gitea.
  • Readarr (GH)
    • Using for book management
  • Recyclarr (GH)
    • Using for Radar and Sonarr to sync search terms for their automations. Very useful, hard to summarize.
  • Requestrr
    • Using (very rarely) as a requests bot for Radarr and Sonarr.
  • SFTP-Go
    • Using mostly in-place of Nextcloud. Used to back up phones mostly.
  • Shaarli (GH)
    • Using as a read-it-later service. Went through lots of these, and Shaarli has been good enough.
  • Singlefile-Archive
    • A hacky way of presenting pages saved with the singlefile browser extension. Not exactly happy with the solution, but for my ocasional use it does work.
  • Sonarr (GH)
    • Using as TV series manager
  • Speedtest-Tracker (GH)
    • Using to get periodic speedtests. Plan to automate results to blast my ISP if my service speed gets too low.
  • Traefik (GH) on each seperate host
    • Using as a web proxy in front of my various services. Critical infrastructure.
  • Transmission (GH)
    • Using to get "Linux ISOs"
  • Uptime Kuma (GH)
    • Using to monitor site and services status along with a few others. Integrated with NTFY for alerts.
  • Vaultwarden
    • Using as my password manager. Have been using for years, cannot recommend enough.
  • A handful of static websites served with NGINX
    • The old standby, its been reliable as a webserver.

These services are the result of years of development and administrating my lab and while there is still some cruft, it's mostly services that I think have real utility.

As far as hardware:

  • Running pfsense on a toughbook laptop as a router-firewall.

  • A SuperMicro 24 bay disk-shelf with Proxmox and ZFS for NAS duties and a couple services.

  • Lenovo Tiny boxes with a Proxmox cluster for the majority of my local services.

  • Dell managed switch

  • A few Raspberry-pi's with Raspbian for various things.

  • Linksys AP for wifi

Edit: Spelling is hard.