Command-Line Fridays
So where have I been these days? In between my six jobs, I’ve decided that instead of updating this blog, I’d drink some beer. However, we’ve run out of beer, so here I am. Which is good for you, because I have a great big awesome announcement:
Command Line Fridays start today!
GUIs are great and all, and they certainly have their place, but for those of us nerds who love our keyboards (I’m the guy on the right), it doesn’t get any better than the old CLI. Read more
How To Use SSH Tunnels with HeidiSQL and Plink
Do you love HeidiSQL as much as I do? It’s really the best MySQL front-end I’ve found so far for Windows. Sure, MySQL Workbench has all kinds of super-fancy features and GUI tools and what-not. But, in Workbench, I find that it takes sixteen mouse clicks to perform the same task that you can do in five with HeidiSQL.
I use HeidiSQL for nearly everything, and only have had one major beef with it. I could never get SSH Tunnels to work with it until today I figured it out! I’m super-stoked. If you’re having problems with Heidi and SSH too, I’ll provide a step-by-step below (keep reading).
If you want to skip the background junk, and go right to the procedure, be my guest!
Read more
CodeIgniter on the Command-Line
So, yesterday, I spent a few hours trying to create a robust command-line interface for one of my CodeIgniter applications. I learned a lot about PHP-CLI. I also came to remember why it’s a bad idea to try and fit a round peg in a square hole.
The thing is, CodeIgniter is a great little web framework. See the key word in that sentence? Yes, you can hack some CLI functionality in, but if you want to start doing fancy stuff like adding multiple levels of interactive menus and such, then its time to rethink what you’re doing.
On the other hand, there are many reasons to create a simple CLI-interface to your web application. The main use would be for running of maintenance tasks and automated CRON scripts. For this kind of task, it’s very easy to create a CLI entry-point for your app.
I am an IT Professional in Tallahassee, Florida with a degree in Information Science.