I upgraded my server from Ubuntu 18.04 to 20.04 this weekend.
Continue reading post "Server upgrade: Ubuntu 20.04"WWW posts page 12
Today I learned that PHP’s mkdir()
with the octal permission argument apparently doesn’t support any value other than 0
in the leftmost octal spot (where setuid, setgid, and sticky bit go).
Today at work, a feature I worked on went from fun and cool as I was building it to a stressful fix and recover operation after it unintentionally deleted important site files when deployed.
Continue reading post "#2820"FastCGI and “Primary Script Unknown”
If you’re routing requests for script file names through FastCGI, and don’t have some rule to catch requests for unknown scripts, you might find errors like:
Got error 'Primary script unknown\n'
in your error log.
Continue reading post "FastCGI and “Primary Script Unknown”"Homebrew install.sh without root
[Update]The following method no longer seems to work due to changes in the install.sh
script as well as locked down permissions in newer OS versions. Because of this and changes to my general setup, I have a new Homebrew setup that uses Homebrew’s untar anywhere method.[/Update]
I installed Homebrew, a Mac package manager, recently on my main computer.
Continue reading post "Homebrew install.sh without root"SSH tunnel as “poor mans” VPN
A few web servers that I’ve needed to access for work have blocked my connection when connecting via tethering to my phone internet (T-Mobile). To get around this, I used an SSH tunnel as a SOCKS proxy for my web traffic.
Continue reading post "SSH tunnel as “poor mans” VPN"I made it through the first week of working from home during this virus-caused lockdown.
Continue reading post "#2746"Cogneato to work from home due to COVID-19
Friday was the last day working at the Cogneato offices until this coronavirus blows over.
Continue reading post "Cogneato to work from home due to COVID-19"Short domain intro card
To make use of the short domain I bought recently (macn.me), I came up with the concept of a business card-like intro landing page.
Continue reading post "Short domain intro card"PHP zend_mm_heap corrupted error
We were getting errors on our server where certain pages or even sites would occasionally or frequently show errors for no apparent reason.
Continue reading post "PHP zend_mm_heap corrupted error"