A journaling experiment for week 12 of 2018
I am live-blogging my entire process and thought patterns around work this week. Follow along!
Posts:
- Fri at 22:19 - An audit of the node.js i18n groups
- Fri at 21:06 - Minor website updates
- Fri at 19:34 - Burning the midnight oil
- Wed at 15:18 - Administration done
- Tue at 10:21 - The Coffee and Code Meetup
- Mon at 21:52 - Monday post mortem
- Mon at 21:35 - Using Rake to publish a post
- Mon at 21:09 - Beginning again
All content CC-BY-NC © 2018 Richard Littauer.
Well, that was easier than I thought. I realized I didn’t have to make another rake task at all; I could just use my old rake post title="title"
command, and add a bit where it reads my draft’s contents into the new post, and then starts a commit for me. I didn’t know how to do this in Rake - five minutes of reading the manuals tells me it can include shell commands easily. So, that’s surprisingly easy. Done.
I’ve rigged it to commit my post, too. I’ll need to add a tool that automatically tweets it if I send a flag. Or I could use IFTTT. Or I could just tweet manually.