Hacker News new | past | comments | ask | show | jobs | submit | mksybr's comments login

If you're trying to replace find, please add something equivalent to find's -print0/-ls to feed it's output into xargs. Otherwise it may not work correctly on unusually named files (not that I've tried it yet).

EDIT: seems to be a similar issue with fselect: https://github.com/jhspetersson/fselect/issues/150


Thanks, good point. I'll make sure to add it.


Feature requests happen in issues too, and this the source code for a book, so an example seems appropriate


KDE is reasonable and cohesive


I really like the hearty amount of configurability they make available thru the control panels. They're not afraid of giving you a lot of options, yet it's organized well, easy to use, and the defaults are sensible.


You can sign into Graph Explorer and get an access token there:

https://developer.microsoft.com/en-us/graph/graph-explorer

No clue how long it lasts.


Oh, that is cool!

But corporate IT has apparently blocked being able to use graph-explorer.

Thank you anyway! :)


You can also use the outlook COM API and extract the data from the running outlook instance [1]. See [2] for a python example that extracts a '.ics' file.

[1] https://learn.microsoft.com/en-us/office/vba/api/outlook.cal...

[2] https://github.com/TomSmeets/export-outlook-to-ics/blob/mast...


Guess it’s time to scrape your calendar from web?


You can put something like detect-secrets[1] in a commit hook.

  no_secrets=$(git diff --staged --name-only -z | xargs -0 detect-secrets-hook --baseline .secrets.baseline)
  test -z $no_secrets && exit $no_secrets
1: https://github.com/Yelp/detect-secrets


You can export from Authy, not exactly easily for non-technical users though: https://gist.github.com/gboudreau/94bb0c11a6209c82418d01a59d...


When the instructions begin with "Install Authy desktop app, version 2.2.3 (the more recent versions won't work)"... ok, good to know!


KeePassXC also has a cli interface suitably named keepassxc-cli, so for TOTP in the terminal its something like:

   keepassxc-cli show -q "$KEEPASS_DB_FILE" "$ENTRY_NAME" --totp
   <type password>
   <prints totp>
edit: doubly so specifically regarding Authy since theyre discontinuing it on the desktop in a few months.


The keepassxc CLI reopens the database separately; it's actually possible to use git-credential-keepassxc† to do the scripting instead because it acts more like a browser (so it interacts with the already running instance of KeepassXC).

https://github.com/frederick888/git-credential-keepassxc


They are discontinuing Authy Desktop in 3 weeks (March 19th), brought forward (!) from August. https://help.twilio.com/articles/19753631228315


Perhaps he only communicated as satoshi over Tor.


Perhaps they practiced near perfect opsec.

VPN, their own IP, stealing access, TOR, hacking the routers and APs and cleaning up…


TIL from another story on HN:

commit.verbose true This adds the whole commit diff in the text editor where you’re writing your commit message, to help you remember what you were doing.

https://jvns.ca/blog/2024/02/16/popular-git-config-options/#...


I think something like:

  Wants=network-online.target
  After=network-online.target
  Before=shutdown.target
  DefaultDependencies=no


Yeah it’s definitely expressable but non-obvious


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: