I recently tried to install vagrant on a Mac OS X.11 (El Capitan) machine, but ran into trouble.
Continue reading post "Vagrant on Mac El Capitan problem"WWW posts page 13
Checking if WordPress post has more
WordPress offers the has_excerpt()
method to determine if you create a separate excerpt on a post, but does not seem to have a built in function to ask if it uses the special comment <!--more-->
for an excerpt coming from the beginning of the post content.
As if Amazon was celebrating my recent purchase of the domain <macn.me>, which reminded me of Mac and Me, they added the movie to Amazon Prime this month.
Continue reading post "#2684"I had to manually force renew the TLS certificate for my site (the thing that makes it encrypted over HTTPS) because of a bug in LetsEncrypt’s software.
Continue reading post "#2674"Short-domains bought
I finally made it happen: I bought a short “vanity” domain. Two, in fact: <macn.me> and <tobm.me>.
Continue reading post "Short-domains bought"Last night, I decided to finally take the plunge and buy a short vanity domain I had been considering for several years (2b1.me), only to find it had been purchased just 48 hours beforehand, at the very registrar I was planning to use (Porkbun).
Continue reading post "#2656"PHP: Fallback for old constructor style
In versions of PHP before 5, constructors were functions with the same name as their class. PHP 5 introduced the __construct()
unified name, and has deprecated the old style in PHP 7. Cogneato still has code remnants from long ago, with the old style. I recently worked on improving the compatibility of our old code with PHP 7.
Up way later than I wanted to be, fighting with Symfony’s framework bundle trapping PHP errors from getting to my Apache logs, and Apache’s ErrorLogFormat
not being able to display REQUEST_URI
. Gonna have to come back to these later.
Letsencrypt: Shared verification web-root for all domains
I use Letsencrypt with certbot for the HTTPS certificates of my personal sites. I use the certonly
method to allow full control over my server configuration. This means specifying one or more web-roots for each certificate.
Ansible: Share handlers between playbooks
A StackOverflow question showed me that Ansible handlers can be stored in their own YAML file and included into any playbook to avoid repetition.
Continue reading post "Ansible: Share handlers between playbooks"