php debugging the really really hard way
If you’re ever in a situation where something is only happening intermittently, and only on a live server, and only…
If you’re ever in a situation where something is only happening intermittently, and only on a live server, and only…
This is a simplistic use of the pattern that I wrote about in my last post to wait on multiple…
You know that you can run something in the background in a bash script with ( command )&, but a…
This is something that has always annoyed me about bash scripts… The fact that it’s difficult to run /path/to/script.sh --foo=bar…
We use dirname() a lot in php to make relative paths work from multiple locations like so. The advantages are…
I’ve written a little something which is gaining some traction internally, and I always intended to share it with the…
I recently found that you can close bash file descriptors fairly easily, it goes like this: exec 0>&- # close…
Let us pretend for a moment that you have a critical system which can *just* handle the strain that it’s…
Sometimes it’s desirable to have a chain of commands backgrounded so that a multi-step process can be run in parallel.…