Comment #1 posted on 2016-10-21 06:05:01 by b-yeezi
Love this Idea
Thanks for this show. I agree with your reasons for using markdown. It gets out of your way so you can write. I also find the idea of using git interesting, but I would be concerned about privacy. I guess you can host your own gitlab...
Can't wait for your next show.
Comment #2 posted on 2016-10-24 15:07:12 by Fin
Nice! Licence?
Nice show! Sweet script! Is it up on a public git repo somewhere?
TL;DR Would you mind adding a licence?
You might think of it as just a little, personal convenience script that doesn't mean much, that anyone can adapt if they please right? But, technically speaking, you've got the copyright (by default) and I can't legally use this code.
You may consider it open source by being on a web page that is covered by the CC-BY-SA licence but they advise against it's use for software as it doesn't explicitly cover distribution of source code (see https://creativecommons.org/faq/#can-i-apply-a-creative-commons-license-to-software).
I ask you to consider adding a licence to make it clear what people can do with your script. I'd sure love to use it but, if I make changes and want to share it, we're in a grey area ;)
Comment #3 posted on 2016-10-25 23:04:41 by norrist
Version with copyright notice
Thanks for the feedback. Here is a link to the script with an ISC license header.
https://norrist.devio.us/pub/todo.sh
Comment #4 posted on 2016-11-30 20:47:38 by Matt
question about the script
I love your script idea and will probably be copying lots of it. THANKS!
however, in the last "for" loop where you cat your files into the new "README" file, i don't understand this bit:
$(ls -r $DAILYPATH/2*md)
more specifically, the "2*/md" bit. Is this some kind of BASH specific notation? Is this a Mac thing?
OTW, great episode and very helpful!
cheers,
matt
Comment #5 posted on 2016-12-01 16:58:29 by norrist
"2*/md"
There isnt anything special about "2*/md". All the files that I want combined into the readme are named by date and have the md suffix. so "2*/md" matches 2016-12-01.md as well as all the other daily files. The only reason for "2*/md" to be there is incase I have some other files in the directory that I dont want included in the readme.
Comment #6 posted on 2016-12-04 00:08:05 by Matt
of course!
thanks... i wasn't thinking about dates starting with 2... duh
Cheers,
matt
Leave Comment
Note to Verbose Commenters
If you can't fit everything you want to say in the comment below then you really should record a response show instead.
Note to Spammers
All comments are moderated. All links are checked by humans. We strip out all html. Feel free to record a show about yourself, or your industry, or any other topic we may find interesting. We also check shows for spam :).