Category: How To
-
Scripting a dynamic IP address change notifier
This blog is hosted on a small, Ubuntu Linux-based server in my home. Given that we have a typical, residential Internet connection, our router’s IP address is subject to change at any time (this can make it challenging to provide you, the reader, reliable access to blog.chrisjscott.net). My domain was, until recently, managed by Google’s…
-
grep search for lines that do NOT contain certain words
Of course, all it took was a little Google searching to find the answer to this, but I never bothered to do it until today – this is a lifesaver: ^((?!hede).)*$ The regex above will match any string, or line without a line break, not containing the (sub)string ‘hede’. Thanks to this post for this gem.
-
Hiding a user’s posts in Slack
Needless to say, I haven’t been updating this blog for a while now – I’ve been pre-occupied with my new job for the past year and am now getting to a point to where I feel like I have my feet on the ground again, so I’m looking forward to posting some new tips here…