On January 24, 1984, Macintosh computers were introduced by Apple. Happy Birthday 🎂 Today, Mac is one of the few certified #Unix machines you can buy easily. Do you use a Mac?
Okay, so. I have a #PDF and a #DOCX file. And I’d like to compare them. And since I’m a programmer, I don’t want to compare them visually, but with a #diff. But how?
Like this.
alias pdfcat='gs -q -sDEVICE=txtwrite -o-'
alias doccat='pandoc -t plain'
pdfcat a.pdf > a.txt
doccat b.docx > b.txt
git diff --no-index --word-diff a.txt b.txt
And since we’re using --word-diff, it doesn’t matter that the two files use wildly different line wrapping.
Remembering Dennis Ritchie, born this day 1941. I had the great privilege of working with Dennis during my summer at Bell Labs. This is his "What am I doing in a suit?" photo. #UNIX#BellLabs
It's 1979, I have heard of #unix but my university has no machine to run it. Prof says "Moravian College (across town) has a PDP-11 that runs unix, go check it out."
There was no email, students did not have telephones, I just walked into their computer center. They were so thrilled someone was interested they encouraged me to stay and learn.
Here's a helpful tip for those using #Linux or #Unix web servers. Before you hit that reload command, it's always a good idea to test your server config file for syntax errors. You can do this easily as follows: