Better HN
topnewbestaskshowjobs
Log inSign up

granddave

86 karma · joined Apr 26, 2019 (7y ago) · 21 submissions

Submissions

1.

Ctrl+P in Docker Container(davidisaksson.dev ↗)

1 points · by granddave · 2y ago · discuss

comment 2y ago · link · parent

I've written a similar tool for the Aegis backup file that lets you fuzzy find entries, auto generation of codes and includes clipboard support.

https://github.com/Granddave/aegis-rs

3.

Aegis-rs – A CLI companion to the Aegis 2FA app(github.com ↗)

2 points · by granddave · 2y ago · discuss

comment 3y ago · link · parent

That's true! Self hosting opens up possibilities for a better backup system.

comment 3y ago · link · parent

Yes, that's correct. The script takes the output from bw-cli and pipes it directly (sort of since we also store it in a variable to calculate the number of rows) to gpg which then encrypts it.

The only secret we have in plain text here is the API token for Todoist which I'm OK with. It's always the balance between security and comfort.

6.

Back up your Bitwarden vault in a future-proof and secure way(davidisaksson.dev ↗)

11 points · by granddave · 3y ago · 6 comments

7.

Format JSON in Vim with Jq(davidisaksson.dev ↗)

3 points · by granddave · 3y ago · discuss

8.

Backup files quick with Bash's brace expansion(davidisaksson.dev ↗)

3 points · by granddave · 3y ago · discuss

comment 3y ago · link · parent

Check out autossh(1)!

10.

Closing a stale SSH connection(davidisaksson.dev ↗)

188 points · by granddave · 3y ago · 87 comments

11.

Downloading Jenkins Artifacts via the CLI(davidisaksson.dev ↗)

1 points · by granddave · 3y ago · discuss

comment 3y ago · link · parent

This is where 2FA comes in to play.

comment 4y ago · link · parent

This is a really nice service and I have used it for quite some time. Just a small reminder; to relieve the wttr servers, please cache the results on disk if you for example want to have a higher refresh rate on your tmux status bar.

See my dotfiles repo [1] if you're interested in such implementation

[1] https://github.com/Granddave/dotfiles/tree/master/tmux

comment 4y ago · link · parent

1) Never experienced that

2) The older versions are available online if you click on the number to the right of "Password History"

3) Agree, that can use some polish

comment 4y ago · link · parent

This is a great piece of software that's installed on all my machines!