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).
Computers & Tech posts page 8
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"Color shell prompt for available colors
I wanted to make my command line shell prompt to be more noticeable and nicer with some color. I wanted to take advantage of 256 colors when available, but fall back to a simpler color scheme when only 8 colors are available, and to no colors if none are available.
Continue reading post "Color shell prompt for available colors"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"Midnight Commander
I discovered and played with the CLI text based file browser Midnight Commander this weekend.
Continue reading post "Midnight Commander"Vagrant on Mac El Capitan problem
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"Replacing text in PDF
I recently found myself needing to replace some text in a PDF for confidentiality reasons.
Continue reading post "Replacing text in PDF"I had a weird loss of a git commit when my battery died unexpectedly.
Continue reading post "#2520"I was able to get wi-fi working on my recent Ubuntu install, but not with the built in wi-fi.
Continue reading post "#2464"I installed Ubuntu on my Windows tablet this weekend.
Continue reading post "#2461"