Journal from the Terminal
For years, I've employed a very simple log file to track upgrades and significant configuration changes to my server: one update per line, starting with the output from date(1).
For years, I've employed a very simple log file to track upgrades and significant configuration changes to my server: one update per line, starting with the output from date(1).
Mostly useful to passing PHP INI settings to wrapper scripts like phpcs and phpunit.
Archived here, for posterity: repeating the last command you typed into bash.
inotifywait is a Linux thang, but if you need similar functionality on Mac OS X, check out wait_on. Available via homebrew.
What does it look like when you try to mysqlhotcopy, but don't have a high enough open files ulimit?
Today I needed to run mysqlhotcopy, but it was failing "undefined symbol: mysql_init" in DBD::mysql. My Perl is rusty at best, and I finally resorted to reinstalling DBI and DBD::mysql using the local user.
I've had an ever-growing need to automate the minification and compression of CSS and JavaScript files on my web server, and while I'd written some rudimentary Makefiles in the past, I finally found time to write a kick-ass general purpose Makefile that can be applied to any project with very little modification.
Today I'm publishing appify, a shell script that turns any other non-interactive shell script into a double-clickable Mac OS X application bundle.
It would be difficult to not like bash's programmable completion. It's too bad I've had such a hard time wrapping my head around the programmable completion toolkit.
Google has added some search options to pages, including date-based searches, a variety of ways to find related information, and more options for displaying images with your results. Good stuff.
Three other people will find this useful.
And it all comes together.
Down, boy.
Quite handy, I say.
A time saver, for sure.
Seldom necessary, always difficult.
Hey, there it is.
I've updated the Subversion page on my wiki with instructions for ViewCVS.
Been blogging only lightly these past few days.
Server administration while you sleep.
Be nice to your users.
Where am I? Where are you?
Use them constantly.
Ever want to test command line arguments in bash, mixing arguments and execution options? I have. Here's one way to do it.
I did some scripting for work yesterday, and came up with this little snippet to ensure important scripts will run as root.