-
Archives
- February 2021
- January 2021
- November 2020
- June 2020
- May 2020
- April 2020
- January 2020
- November 2019
- September 2019
- August 2019
- July 2019
- June 2019
- May 2019
- April 2019
- May 2018
- April 2018
- January 2018
- November 2017
- July 2017
- June 2017
- May 2017
- April 2017
- February 2017
- November 2016
- July 2016
- June 2016
- May 2016
- March 2016
- January 2016
- October 2015
- September 2015
- August 2015
- July 2015
- June 2015
- May 2015
- April 2015
- March 2015
- February 2015
- December 2014
- November 2014
- August 2014
- July 2014
- June 2014
- March 2014
- February 2014
- November 2013
- October 2013
- August 2013
- May 2013
- April 2013
- March 2013
- January 2013
- December 2012
- November 2012
- October 2012
- September 2012
- August 2012
- July 2012
- June 2012
- May 2012
- April 2012
- March 2012
- February 2012
- January 2012
- December 2011
- November 2011
- October 2011
- September 2011
- August 2011
- July 2011
- June 2011
- May 2011
- April 2011
- March 2011
- February 2011
- January 2011
- December 2010
- November 2010
- October 2010
- September 2010
- August 2010
- July 2010
- June 2010
- May 2010
- April 2010
- March 2010
- February 2010
- January 2010
- December 2009
- November 2009
- October 2009
- August 2009
- June 2009
- May 2009
- April 2009
- March 2009
- February 2009
- January 2009
- December 2008
- November 2008
- October 2008
- September 2008
- August 2008
- July 2008
- June 2008
- May 2008
- April 2008
- February 2008
- January 2008
- December 2007
- November 2007
- October 2007
- September 2007
- August 2007
- July 2007
- June 2007
- May 2007
- April 2007
- March 2007
- February 2007
- January 2007
- December 2006
- November 2006
- October 2006
- September 2006
- August 2006
- July 2006
- June 2006
- May 2006
- April 2006
- March 2006
- February 2006
- January 2006
- December 2005
- November 2005
- October 2005
- July 2005
- June 2005
- March 2005
- January 2005
-
Meta
Monthly Archives: May 2020
colout
colout is an interesting tool: like grep but different. The idea is to highlight lines (or parts of lines) that match a particular pattern. Sadly, it won’t build in my environment, and I don’t understand python well enough to figure … Continue reading
Diff Tools, Redux
Some time ago, I mentioned here how I like to use colordiff. Well, on a Mac I actually prefer Apple’s FileMerge GUI diff tool, which is is part of the Xcode command line tools, and accessible from the command line … Continue reading
Posted in Technology
Tagged colordiff, comparison, diff, diffr, filemerge, merge, opendiff, software
Leave a comment
File renaming tools
Long ago, I wrote a utility (brename) that renames a set of files based on a supplied pattern. (Imagine you had an arbitrary set of JPEGs and you wanted to pretend they all came from a digital camera with names … Continue reading
Visidata
I stumbled onto visidata. I’ve got tons of csv files and the ability to view them quickly at the command line is a huge win. But this thing is amazing. Csv files are the tiny tip of a huge iceberg. … Continue reading
pipx
I’m not a python person. But some interesting CLI utilities are written in python, including eyeD3 and visidata. Enter pipx – it creates little (huge?) pip sandboxes for your different utilities, so you don’t have to worry about one breaking … Continue reading
Duff – duplicate file finder
I’ve got this folder called vast/todo/t.temp that’s got a 100 GB of stuff from old computers in it. Typically, I just copy stuff there and tell myself I’ll get back to it. There are 61,287 files, none less than a … Continue reading
Extracting Text from Word DOCX files using Pandoc
Back in the day, I would use antiword to extract the text from a Word .DOC file. But it only understands DOC. Over the years, more and more Word files have been using the “open” (ha ha) DOCX format, which … Continue reading
Posted in Technology
Tagged antiword, docx, docx2md, file format, markdown, pandoc, word
Leave a comment
Macports Cheatsheet
I used to use homebrew, but before that I used MacPorts. (And long, long, before that, fink.) The past year or two I’ve come back to MacPorts. But I forget what the commands are. (Honestly, I get them confused with … Continue reading
iTunes Misbehavior (Part 934)
I still use iTunes sync my iPhone periodically to my computer (mainly so I can retrieve photos off the phone). Every time I do, I get to watch this: It copies several hundred unchanged songs back onto my phone. This … Continue reading
Useful gems, 2020 edition
Since the gem ecosystem keeps changing, and since I don’t write new programs very often, here’s a list of my favorite gems for developing command-line interface tools. Option parsing gem: slop. (Since micro-optparse looks moribund; see here.) But (looking at … Continue reading
Posted in Technology
Tagged command line interface, gems, imagemagick, kramdown, optimist, optionparser, pericope, ruby, titleize, tty
Leave a comment