News for hackers. Stuff that matters.

dnsfr

Re:Generate multiple mind maps from indented text on Tuesday November 24, 2020 @03:10PM (#25202501)
And here is a blog post about it: https://denisidoro.github.io/posts/mind-maps/
Re:Mind Maps from Indented Text on Tuesday November 17, 2020 @03:22PM (#25129253)
Here's the URL for the web app: https://denisidoro.github.io/move-reminder/
Re:Interactive Cheatsheets from Tldr and Cheat.sh on Tuesday September 01, 2020 @03:28PM (#24345936)
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.

Re:Remacro: Markdown with Steroids on Friday July 24, 2020 @06:22PM (#23945101)
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.

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.

Re:An interactive cheatsheet tool for the command-line on Saturday September 21, 2019 @07:47PM (#21038665)
I'll add it to the "alternatives" section
Re:An interactive cheatsheet tool for the command-line on Saturday September 21, 2019 @07:47PM (#21038660)
I'll add it to the "alternatives" section
Re:An interactive cheatsheet tool for the command-line on Saturday September 21, 2019 @07:46PM (#21038656)
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!

Re:An interactive cheatsheet tool for the command-line on Saturday September 21, 2019 @07:44PM (#21038643)
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?

Re:An interactive cheatsheet tool for the command-line on Saturday September 21, 2019 @07:41PM (#21038633)
I think it should work out of the box. Did you get any error?
Re:An interactive cheatsheet tool for the command-line on Saturday September 21, 2019 @07:38PM (#21038625)
Thanks! Actually it's written in bash because it started as a 25-line script. If it gets bigger, I'll consider rust.
Re:An interactive cheatsheet tool for the command-line on Saturday September 21, 2019 @07:37PM (#21038617)
I didn't know it requires a login. Do you know any online free platform that can launch a given docker image?
Re:An interactive cheatsheet tool for the command-line on Saturday September 21, 2019 @07:35PM (#21038615)
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?
Re:An interactive cheatsheet tool for the command-line on Saturday September 21, 2019 @07:32PM (#21038596)
Based on your input, the latest version has a preview window: https://user-images.githubusercontent.com/3226564/65380182-6...

I hope you like it!

Re:An interactive cheatsheet tool for the command-line on Friday September 20, 2019 @06:57PM (#21032138)
navi allows you to browse through cheatsheets (that you may write yourself or download from maintainers) and execute commands, prompting for argument values.