Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »

Activity for Michael‭

Type On... Excerpt Status Date
Answer A: How do you remap mouse buttons?
Wayland, ideally If you are on Wayland, the blessed way is to use the configuration for your desktop environment (DE) to map mouse keys and other input devices, except for a couple well-known options (eg left-handed mode and middle mouse emulation). Wayland, via `hwdb` If your DE doesn't hav...
(more)
8 months ago
Comment Post #290163 Makes sense to me. It could save some poor sod from thinking you could pipe to `test` like this: ```sh false | test || echo 'False!' ! false | test && echo 'True!' ``` You're inverting the exit code of `test`, not inverting `false` as someone might imagine. (Is this contrived? Yes, very. Is ...
(more)
8 months ago
Comment Post #291099 From the question title, I thought you meant _syntax highlighting_ in the shell, which you can do with [`bat`](https://github.com/sharkdp/bat). Pipe your pretty (or existing) output to `bat` for colors.
(more)
8 months ago
Suggested Edit Post #284502 Suggested edit:
Fix Puppy link. Move all the links to a bibliography at the end.
(more)
helpful 8 months ago
Edit Post #290990 Post edited:
Links!
9 months ago
Comment Post #290987 You didn't ask for this, but there's also a tool I use for SSH: [`ssh-audit`](https://github.com/jtesta/ssh-audit). It's perhaps a little too opinionated about NIST curves and the NSA (but if you're concerned about the NSA, maybe that's important). Otherwise pretty helpful.
(more)
9 months ago
Edit Post #290990 Post edited:
Specifically mention crypto, because that's a main feature.
9 months ago
Edit Post #290990 Post edited:
Rearrange the chart. Editorialize.
9 months ago
Edit Post #290990 Post edited:
Table formatting on real site different from preview.
9 months ago
Edit Post #290990 Initial revision 9 months ago
Answer A: How do I diagnose TLS errors?
Over some period of time, I have used a couple tools for local TLS scans and diagnostics. One of them may include pointers for whatever situation you have. | Tool | Description | From | Current? | |------|-------------|------|----------| | `sslyze` | TLS analysis by protocol | | &check; | | `ci...
(more)
9 months ago
Edit Post #290475 Post edited:
Hey look, another one.
9 months ago
Edit Post #290797 Post edited:
Different run styles
9 months ago
Comment Post #290797 True. If your file was made with \*Nix-y tools, it probably has the trailing newline, though.
(more)
9 months ago
Edit Post #290108 Post edited:
Yet more ASCII chart tweaking
9 months ago
Edit Post #290108 Post edited:
Better ascii art
9 months ago
Edit Post #290797 Initial revision 9 months ago
Answer A: How to count the lines of a file?
I think the typical way to do this uses `wc` ("word count") with the `-l` ("lines") option. ```sh $ wc -l /path/to/file 47 /path/to/file $ wc -l </path/to/file 47 $ cat /path/to/file | wc -l 47 ``` `wc` with no options prints the number of lines, words, and bytes, but `-l` can li...
(more)
9 months ago
Edit Post #290544 Post edited:
11 months ago
Edit Post #290544 Initial revision 11 months ago
Answer A: How do I safely replace brew on Big Sur?
If you just want the minimal set of top-level packages to install on your new system, `brew leaves` is less verbose than CodeFarmer's `brew deps --installed`. You get a nice concise list of the packages that are not needed as dependencies by any other package. Edit: This is mentioned in the com...
(more)
11 months ago
Edit Post #290108 Post edited:
Diagram
11 months ago
Edit Post #290475 Post edited:
Add another
11 months ago
Edit Post #290475 Initial revision 11 months ago
Answer A: How to find your public IP address from command-line?
There are probably myriad services for echoing your IP back over HTTP. Here are a couple: ```sh curl https://api.ipify.org curl https://ip.me curl https://icanhazip.com ```
(more)
11 months ago
Edit Post #282493 Post edited:
Tag ssh
12 months ago
Edit Post #290108 Post edited:
Workshop the first sentence some more.
about 1 year ago
Edit Post #290108 Post edited:
Mention port forwarding, in case it's important to someone.
about 1 year ago
Edit Post #290108 Post edited:
Mention multiple hops.
about 1 year ago
Edit Post #290108 Post edited:
floating "them" -> actual concrete noun.
about 1 year ago
Edit Post #290108 Post edited:
Add version where ProxyJump was introduced
about 1 year ago
Edit Post #290108 Initial revision about 1 year ago
Answer A: How to forward SSH access of one machine, through another, to the rest of a network?
Grove's answer is likewise good, but OpenSSH introduced `ProxyJump` (`-J`) in 2016 with v7.3, making it even easier to chain SSH hosts together: ```bash ssh -J user@interstitial.example me@destination.example ``` "Real" port forwarding like Canina's answer still has important uses,[^1] but chai...
(more)
about 1 year ago
Suggested Edit Post #282493 Suggested edit:
Tag ssh
(more)
helpful about 1 year ago
Comment Post #289952 So you're just injecting the `-o` args on the next connection after a VPS reprovision? Not every time, yes?
(more)
about 1 year ago