Better HN
topnewbestaskshowjobs
Log inSign up

amcpu

25 karma · joined Oct 21, 2013 (13y ago) · 10 submissions

Submissions

comment 1y ago · link · parent

Nuts!

comment 2y ago · link · parent

I use a locally hosted YaCy instance with cached results to work around this scenario. Much of the content I am interested in is kept locally, so it’s good enough. When I have a bunch of “read later” tabs that pile up, I copy all their URLs into the crawler form with “Store to Web Cache” checked and it accomplishes what I described. Just another option to consider.

comment 2y ago · link · parent

The dive utility helps tremendously for exploring the filesystem contents of a container image. Combine that with the output of `docker inspect` to look at the metadata and you should be able to have a good understanding of what it will do when running as a container.

comment 2y ago · link · parent

Came here to scan the comments for someone else who would have posted that reference. So glad I found it! :)

comment 3y ago · link · parent

You could also use the vim :%!python3 your_script.py (where your_script.py does the work to format the text) command that takes the text of the buffer as stdin to the script and replaces the buffer contents with stdout of the script. This can also be combined with visual mode linewise to only replace specific lines of the buffer (must work on entire lines selected).

comment 4y ago · link · parent

Sounds like something out of https://blog.codinghorror.com ! :)

comment 4y ago · link · parent

I’ve been having good success with _basic_ outlining functionality of Org Mode in VS Code using the “VS Code Org Mode” extension. No need for emacs for this use case. The built-in VS Code folding works really well and then combining with GitLab which has rendering support for Org Mode when committing/pushing commits. Plus, since everything I’m doing is already in Org Mode syntax, I can move to other editors later if desired. It’s a good solution for my needs, at least.

comment 4y ago · link · parent

Any, I was just curious. :)

comment 4y ago · link · parent

I honestly cannot remember ever typing sl instead of ls. Funny little “utility” in place there. It doesn’t appear to be part of a minimal Ubuntu installation, have you found it install “out of the box” with any Linux distros?

comment 4y ago · link · parent

> Eat corn while listening to Korn music while using the Korn shell. … to compile the kernel.