HNHacker News
TopNewBestAskShowJobs

dnsfr

120 karma · joined September 20, 2019

submissionscomments
dnsfr··on Generate multiple mind maps from indented text
And here is a blog post about it: https://denisidoro.github.io/posts/mind-maps/
dnsfr··on Mind Maps from Indented Text
Here's the URL for the web app: https://denisidoro.github.io/move-reminder/
dnsfr··on Interactive Cheatsheets from Tldr and Cheat.sh
https://github.com/denisidoro/navi allows you to browse through cheatsheets (that you may write yourself or download from maintainers) and execute commands. Suggested values for arguments are dynamically displayed in a list.

The latest release (v2.10.0) introduces the ability to read cheatsheets from tldr and cheat.sh.

navi is originally best suited for custom, powerful cheatsheets tailored to your needs. This feature complements its usage by allowing you to check snippets for commands you don't use regularly.

dnsfr··on Remacro: Markdown with Steroids
https://github.com/denisidoro/remacro is a plain-text macro expander inspired by React.

With this tool it's possible to generate a superset of markdown so that you don't need to repeat yourself.

It also works for any plain-text content, so it's able to expand programming source codes as well.

dnsfr··on An abstraction over whatever package managers you have installed in your system
xpt is an abstraction over whatever package managers you have installed in your system. No need to run different commands based on the distro you're running anymore!

xpt can install software based on custom recipes. This allows you to add a custom behavior to a install script or to add a fallback in case no compatible package manager was found.

dnsfr··on An interactive cheatsheet tool for the command-line
I'll add it to the "alternatives" section
dnsfr··on An interactive cheatsheet tool for the command-line
I'll add it to the "alternatives" section
dnsfr··on An interactive cheatsheet tool for the command-line
Based on your input, the latest version has a preview window: https://user-images.githubusercontent.com/3226564/65380182-6....

Alternatively, you can use the --print option

I hope you like it!

dnsfr··on An interactive cheatsheet tool for the command-line
Cool! Will do it!

My only concern is that this way it would be impossible to add subcommands to navi

Let's say that in the future I want to add a command for removing a cheat (navi remove)

The way you described, it would look for snippets which contain "remove"

Any ideas?

dnsfr··on An interactive cheatsheet tool for the command-line
I think it should work out of the box. Did you get any error?
dnsfr··on An interactive cheatsheet tool for the command-line
Thanks! Actually it's written in bash because it started as a 25-line script. If it gets bigger, I'll consider rust.
dnsfr··on An interactive cheatsheet tool for the command-line
I didn't know it requires a login. Do you know any online free platform that can launch a given docker image?
dnsfr··on An interactive cheatsheet tool for the command-line
I could write a zsh/bash plug-in so that it fills the prompt instead of running the command, in the same manner as ctrl-r. What do you think?
dnsfr··on An interactive cheatsheet tool for the command-line
Based on your input, the latest version has a preview window: https://user-images.githubusercontent.com/3226564/65380182-6...

I hope you like it!

dnsfr··on An interactive cheatsheet tool for the command-line
navi allows you to browse through cheatsheets (that you may write yourself or download from maintainers) and execute commands, prompting for argument values.