Author: Paul J. Martinez

  • Snippet Managers and Secure Input

    I use two different snippet managers, Alfred and Dash, and occasionally they stop working. I recently discovered that this is due to secure input being enabled by an app or the macOS loginwindow. Some snippet managers will show you a dialog box with a helpful error message, like the one below, but others do not.…

  • Suppress Catalina zsh Nag Notification

    Suppress Catalina zsh Nag Notification

    Found a simple way to suppress the macOS nag for zsh by adding the following line to my .bash_profile. export BASH_SILENCE_DEPRECATION_WARNING=1

  • Restore www and https:// in the Google Chrome Location Bar

    After Chrome 76, Google stopped displaying the following in the location bar. http:// https:// www. / (the trailing slash) For a little while there was a Chrome flag that would enable you to restore this important information, but now that’s been removed from Chrome as well. chrome://flags/#omnibox-ui-hide-steady-state-url-trivial-subdomains The best option I’ve found to restore this…

  • Google Chrome Remote Desktop

    Google Chrome Remote Desktop

  • Automating Certbot Renewals

    I was renewing my Let’s Encrypt certificates using the cron entry below, but this was problematic, as I was turning Apache off/on with each attempt, whether or not there was a certificate update available. 42 3 * * * root /usr/sbin/apache2ctl stop; /opt/certbot-auto renew >> /var/log/certbot-auto.log; /usr/sbin/apache2ctl start; After checking with a co-worker and reading…