Just put archive.is/
in front of the URL, e.g. https://archive.is/https://www.wsj.com/world/u-s-unimpressed-with-ukraines-victory-plan-ahead-of-biden-zelensky-meeting-23e87bff
Just put archive.is/
in front of the URL, e.g. https://archive.is/https://www.wsj.com/world/u-s-unimpressed-with-ukraines-victory-plan-ahead-of-biden-zelensky-meeting-23e87bff
He has a neurological condition, spasmodic dysphonia (https://en.wikipedia.org/wiki/Spasmodic_dysphonia)
‘Multi-Account Containers’: https://support.mozilla.org/en-US/kb/containers
With it, you can open tabs in different ‘containers’, which have their own set of cookies, etc… So, for example, you can be logged into two accounts for the same website, just in different containers, or keep all your shopping accounts in one container (and set those sites to always open in that container) to reduce tracking and targeting.
People have already given direct answers, and the indirect answer of ‘set up regular automated backups’ (which everyone should set up right now if they haven’t already), but for the sake of throwing another option out there, people could take a look at ‘trash-cli’: https://github.com/andreafrancia/trash-cli
(P.S. I know OP might not have actually deleted the files with ‘rm’, but this addresses a broadly similar issue.)
I think it’s worth emphasising here: Don’t put it off!
There are millions who can tell you from experience that good intentions count for nothing when it comes to backups.
I’d recommend going and setting up Timeshift right now: https://github.com/linuxmint/timeshift
It’s easy to set up, it takes literally 10 minutes, and if you decide later you want to use something else, you can just uninstall Timeshift and delete its backups. But in the meantime you’ll be protected with backups.
It’s literally the first thing I install on a new system and it’s saved me multiple times from having to do a complete reinstall.
Is that unusual?
If you ask for cooking or cleaning advice and it hallucinates you’re still at square zero regardless.
Unless it tells you to mix bleach and ammonia 😆
There’s a nice list of this feature by language on the Wikipedia page for anyone interested: https://en.wikipedia.org/wiki/Null_coalescing_operator#Examples_by_languages
Yeah, you’re quite correct, it’s not exactly equivalent, I just went on auto-pilot because it’s used so much for that purpose 🤖
It’s much closer to being a true null-coalescing operator than ‘OR’ operators in other languages though, because there’s only two values that are falsy in Ruby: nil
and false
. Some other languages treat 0
and ""
(and no doubt other things), as falsy. So this is probably the reason Ruby has never added a true null-coalescing operator, there’s just much fewer cases where there’s a difference.
It’s going to drive me mad now I’ve seen it, though 😆 That’s usually the case with language features, though, you don’t know what you’re missing until you see it in some other language!
Ruby:
a || b
(no return
as last line is returned implicitly, no semicolon)
EDIT: As pointed out in the comments, this is not strictly equivalent, as it will return b
if a
is false
as well as if it’s nil
(these are the only two falsy values in Ruby).
Where, the U.S.? Seems like there’s gotta be other times and places that were more woman- and queer-friendly, right?
Yeah, antibiotics is a big one. Plus, some of my skills might actually still be useful in the 40s.
But life did suck in a lot of places for a lot of people in the 40s. WW2, the devastation left behind by WW2, and horrible social attitudes. Good luck in ‘the west’ if you’re not a straight white cis man.
You could probably memorise how to identify the right fungus and isolate penicillin, right?
Pretty decent, although the inclusion of the last paragraph without the following paragraphpointing out that this incident shows that’s not true is a little misleading if you’re not paying attention.
That is so much better 👍
ive just heard of an incident where students redirected their books codes to p**n. can i make sure that doesnt happen?
This is kind of confusing, or at least leaves a lot of detail out 😆 Did the domain lapse? Did their short-URL account get hacked? In any case, your QR code will just be encoding a URL. Ultimately, any URL can be redirected by someone out there; so it's just a matter of trusting that whoever has that access won't act maliciously, and that malicious actors can't gain access.
also, im using google to generate them, is there a foss alternative as im scared of tracking.
There absolutely are, just search and you should find plenty. Again, though, the QR code is just encoding a URL. Does Google use their own short-URL service for their generated QR codes? Just scan the QR code and look at the URL it encodes. If it's only the URL you want - not some Google short-URL that then redirects to the URL you entered - then there can't be any tracking done on it by Google.
lastly, can i make the qr code redirect to a specific page of a pdf
Covered by another commenter already, but for completeness: yes, you just add #page={n)
at the end of the URL, e.g. https://dagrs.berkeley.edu/sites/default/files/2020-01/sample.pdf#page=5
Yeah, #page={n)
works, e.g. https://dagrs.berkeley.edu/sites/default/files/2020-01/sample.pdf#page=5
The designation is particularly ridiculous considering it was the US that ran a campaign of terrorism against Cuba: https://en.wikipedia.org/wiki/Operation_Mongoose