Ran into an amusing issue with Laravel today. Artisan uses glob for searching the filesystem and doesn’t escape paths. That means if you have a special character anywhere in your folder names, including folders above the project folder, glob will do strange things, fail, and otherwise go kablooey. In my case, a folder above the project had brackets in its name.
I acquired an old Drobo Gen2, but it’s a pretty slow device so I’d like to try using it as a networked Time Machine drive. Attaching a disk array to my home server seemed redundant, I’d rather that thing focus on streaming, and I want my macs to be able to sleep, so I figured I’d try out my ASUS RT-N16 router as a Time Capsule. It runs/can run linux-based firmware and most of the necessary tools are available through entware.
It turned out to not be the best idea in the world, but guides I could find on doing this were thin and full of holes, so I decided to write my own for anyone who doesn’t mind that it’s really slow and could shorten the life of your router.
On my Vagrant VMs, I wanted to be able to access a guest VM’s MySQL server from the host when the guest has a dynamic IP, but simply giving a MySQL user a wildcard host wouldn’t cut it so long as MySQL was bound to 127.0.0.1 by default in Ubuntu. I needed to bind MySQL to all interfaces (0.0.0.0) but augeas chokes on my.cnf for some reason, so out comes the hatchet: