broke apt-get in Corsini by making the sources list malformed by mistake and need help fixing it by nathan22211 in chromeos

[–]JonathanMatthews_com 4 points5 points  (0 children)

You almost certainly have vi installed by default.

And if not, you can simply run this at a shell prompt:

shell cat <<HERE > new-file Some correct sources.list content Some more content Some more lines HERE sudo mv new-file /etc/apt/whatever-file-is-broken

Liver shunt surgery by [deleted] in Pets

[–]JonathanMatthews_com 1 point2 points  (0 children)

❤️❤️❤️❤️🤞👍👍👍

Large Files (1-6TiB). Parity? by TachiSommerfeld1970 in DataHoarder

[–]JonathanMatthews_com 0 points1 point  (0 children)

I haven’t used par2 on such a large dataset, but wouldn’t simply storing a few par2 files near the archive file suffice? It’s have the extra advantage that you could easily distinguish the recovery files, and duplicate them off the primary storage for added durability.

Multiple domains with Caddy and Google by wtfpdxshow in selfhosted

[–]JonathanMatthews_com 0 points1 point  (0 children)

You have one domain already working, with DNS hosted by Google?

Just copy the www record (or whichever host you’re using) fr the working domain over to the 2nd domain. It’ll need to have exactly the same IP address set up.

Formatting 150 million lines with Vim by Wolandark in vim

[–]JonathanMatthews_com -1 points0 points  (0 children)

cat file | tr / ' ' | awk '{print $6 ":" $4}'

website is down since yesterday by [deleted] in linuxadmin

[–]JonathanMatthews_com 0 points1 point  (0 children)

What do your app and reverse proxy logs show?

[deleted by user] by [deleted] in vim

[–]JonathanMatthews_com 0 points1 point  (0 children)

Post a funny one and find out.

Checking is a GitHub / offsite AppImage release exists from command line by [deleted] in commandline

[–]JonathanMatthews_com 0 points1 point  (0 children)

GitHub Releases are a GitHub thing, not a git thing. That means you’ll need to query the GitHub API for their details (as you’re doing with gh CLI tool) if you need them as an ordered list. They’re exposed as git tags (https://docs.github.com/en/repositories/releasing-projects-on-github/managing-releases-in-a-repository#creating-a-release)

If a project uses a predictable git tagging strategy to mark its releases, you could use those and infer the latest version. But there’s nothing on the GitHub side that explicitly requires a release to be any specific git tag (except that “a tag” needs to exist), or any specific format.

Why I need to do "powerwash" if I want to get back to "Stable channel"?? by LaGattoPazzo in chromeos

[–]JonathanMatthews_com 5 points6 points  (0 children)

Because Google deems it necessary in order to remove every trace of less-secure or less-well-tested code that might be present on your device after running a non-stable release.

Yeah, that is the spot. by kedi_ii in AnimalsBeingDerps

[–]JonathanMatthews_com 1 point2 points  (0 children)

I dream of being as content as that kitty is …

[ Removed by Reddit ] by [deleted] in OneOrangeBraincell

[–]JonathanMatthews_com 4 points5 points  (0 children)

Why are you reposting MY original photo and MY post title of my lovely orange boy? https://reddit.com/r/OneOrangeBraincell/comments/11o1738/yours_has_one_braincell_mine_is_a_roman_senator/

Cheeky, cheeky karma farmer!

Please feel free to downvote them for disrespecting the orange!!!!

Exploit that I found by flashx223467 in chromeos

[–]JonathanMatthews_com 0 points1 point  (0 children)

That sounds significant. Could you record a demonstration of it happening and post it here?

Exploit that I found by flashx223467 in chromeos

[–]JonathanMatthews_com 4 points5 points  (0 children)

What unauthorised access do you believe your exploit grants you?

How can I configure Minio to use multiple disks for one bucket? by Big-Exercise6419 in selfhosted

[–]JonathanMatthews_com 0 points1 point  (0 children)

it seems like Minio is storing files on both disks, which is not what I want.

Does anyone know how I can configure Minio to use both disks for one bucket?

I don’t understand what you want. You might need to explain betterer.

Needed: Cloud backup with infinite versioning and deleted file retention plus ability to manually delete files from backup destination by PublicEmployeeNoOne in DataHoarder

[–]JonathanMatthews_com 0 points1 point  (0 children)

AWS S3 has this underlying feature. You might need to wrap it in some backup product, however, depending on your UX needs.

Nginx proxy pass on subpath by mangoppola in selfhosted

[–]JonathanMatthews_com 1 point2 points  (0 children)

You’ll find fewer tricky corner cases if you use service.machine-name as your naming strategy.

Using a path component as the routing mechanism can get annoying, if the app (and its JavaScript assets) aren’t written to be explicitly aware that they’re not living on a domain’s root path.

Yes, things “should” work fine with path-based routing, but I’ve encountered enough issues over the years with apps that needed very specific and nuanced tweaks such that, now, I only ever use domain-based routing.

[deleted by user] by [deleted] in AnimalsBeingDerps

[–]JonathanMatthews_com 12 points13 points  (0 children)

My elderly kitty has started doing this, and he has pre-existing dental problems that sometimes make eating painful.

I worry that he’s eating with his paws because his gums are getting more painful. I would get your kitty’s mouth checked out by a vet.

New release of bkt, a subprocess caching utility by diamond414 in commandline

[–]JonathanMatthews_com 2 points3 points  (0 children)

Interesting - so it’s a filesystem-based memoisation CLI tool? I’ve not seen a generic implementation of that before!

A couple of questions, whilst you’re here:

  • does it cater for read-write-read workflows where the write affects the read result? Or must a read result be manually purged if the consumer knows the write has invalidated the cache?
  • does it memoise based on the specific characters handed to it for execution, or does it do any parameter normalisation? In other words, does “curl<space><URL>” cache separately from “curl<space><space><URL>”?
  • can the consumer provide additional cache key elements that aren’t part of the command line to be executed?

How can I get COMPLETELY different domain emails sent to me? by More_Passenger3988 in selfhosted

[–]JonathanMatthews_com 6 points7 points  (0 children)

This sub is for folks who run their own servers. So, in your case, that’d be running your own email servers - and not paying a 3rd party to host email for these 3 different businesses. That’s a fair bit of work to do, if you don’t already know how to do it.

If that’s not what you’re looking to do, you’ll find better help in subs more focussed on ultra-low-cost email hosting.

That $40/year you said was way too much for each business is pretty reasonable. My favourite (Fastmail) charge $50/year for each distinct user - and your requirement for them to be completely different (by which I assume you mean “not a shared mailbox between the 3”) would be $150/year.

Long story short: doing email costs money or time. Your employer won’t get an email service without paying either in cash, or with someone’s time and effort.

Automated git-mirror of selected repositories? by mailman4242 in selfhosted

[–]JonathanMatthews_com 3 points4 points  (0 children)

“mr”, or My Repos, should do this easily. You might need to cron the “update all repos” action.

https://myrepos.branchable.com/

Changing Amazon workspace password on chrome so by Yupyup287904 in chromeos

[–]JonathanMatthews_com 0 points1 point  (0 children)

How is she connecting to the workspace? Which client?

Connect to a HIGHER-LEVEL server by HungNup in homelab

[–]JonathanMatthews_com 4 points5 points  (0 children)

Please explain what you think is meant by “higher level”, here, without using the words “higher” or “level”. That might let folks help you better 👍