PHPnews.io

Overview for 'roballen'


BBEdit Hosts File Syntax Highlighting

Written by Rob Allen / Original link on Jun. 23, 2022

While editing my Hosts file in BBEdit, I wondered how hard it would be to create syntax highlighting for it. A quick google later, I discovered that I needed to create a Codeless Language Module and this is my first attempt: To install, download Hosts.plist and copy to your iCloud Drive's BBEdit/Ap…



2021 in Pictures

Written by Rob Allen / Original link on Dec. 31, 2021

2021 is over! A very strange year where I have been vaccinated against COVID-19, with an additional booster, yet I caught it and took months to recover. Fortunately, I continued to take a photo every day though my Project 365 which allows me to appreciate what happened during this year of my life.…


Add TouchID authentication to sudo

Written by Rob Allen / Original link on Nov. 17, 2021

Now that I have a TouchID enabled Mac, I want to be able use TouchID for sudo access. There's a pam module available, so it just needs enabling: Edit /etc/pam.d/sudo Add a new line under line 1 (which is a comment) containing: auth sufficient pam_tid.so(Leave all other lines in this file.) That's…


Quick script to (re)create my python virtualenv

Written by Rob Allen / Original link on Sep. 8, 2021

When working on rst2pdf, I use pyenv as I've written about before. Recently, I've found myself needing to recreate virtualenvs for various Python versions and then recreate them to easily reset the list of packages installed into them via pip. To my my life easier, I created a script that I can run…