-
Ruby: Enumerable grep, grep_v
UPDATE: After I wrote this, I started finding myself doing a lot of caller.grep(/(project_directory|suspected_gem)/) to aid in debugging obscure interactions with internal gems and projects. In looking at a pull request and noticing some awkward “first” and “last” iteration detection which also required each_with_index, I started looking into what would be a cleaner way, and…
-
DKIM for Cloudflare and Fastmail
After creating the CNAME fm#._domainkey records in Cloudflare DNS Management, I was still getting “DKIM is not configured”. Initially I thought it was a TTL issue on the DNS records… After playing around with dig fm1._domainkey.DOMAINNAME TYPE CNAME I went back to check the settings on the CNAME records: I went in to edit those…
-
Ruby on Jets Webpacker errors and Invalid Configuration Object
Ruby on Jets webpacker compilation failed and invalid configuration object