Tag: programming
-
Referencing a PHP variable by using another variable as part of the name
This is kind of a niche scenario, but when you Google making a variable from another variable php, most of the examples involve using a double dollar sign, which may not be what you want to do. Yes, whenever possible, it makes sense to use arrays instead of weirdly-constructed variable names, but that may depend…
-
How to read from and write to .plist files using Python
Python and Macs Python is a popular tool among Mac Admins. You can find a fairly comprehensive (and long) list of Python-based Mac Admin tools at Python Macadmin Tools, so it’s a handy thing to be able to throw together a Python script every now and then. .plist files A lot of settings in Mac…