Re:Ask HN: What are some small scripts you use daily?
by mod on Tuesday June 27, 2017 @04:51PM
(#14649313)
I was using a blog for this, but I hate maintaining a blog.
I'm going to use this instead!
Re:Ask HN: What are some small scripts you use daily?
by shincert on Tuesday June 27, 2017 @09:34PM
(#14651067)
How does it work?
Re:Ask HN: What are some small scripts you use daily?
by tmaly on Wednesday June 28, 2017 @11:32AM
(#14654971)
Its super simple 11 lines of code then lines for the topics and description.
I have a topics hash/dictionary.
If the helpme command is run without a topic argument, it prints out all the topic keys to the dictionary one per line.
If it is run with a topic argument, it just prints out the value for that topic.
by default it shows a list of topics. Then if you run it with the topic, it displays the details about the topic. I use it to remember how to do less frequent stuff at my day job.