KeyValueTextBlock is a PHP Class. I use it on systems where the function http_parse_headers() is not available. It takes a block of text, splits it into records, and splits each record into a key/value pair. After that, you can get a specific value, or all key/value pairs.
I finally broke down and decided to compile my own software. I’ve been avoiding this for a while for no particular reason. Maybe I just didn’t feel ready to cross that particular Rubicon. But the day has come, and the world will never be the same. In the process I upgraded my compiler, so my compiling process is not quite the same as what I read online. But it does work on Mac OSX 10.4, and that’s really all that matters to me. Here’s what I did…
I’ve just recently taken some interest in the AppleScript language. Even though the language itself is somewhat anemic, it gives access to scripting some really good software. Safari, iTunes, Photoshop, and Mail to name a couple.
As a web developer, I found myself testing out the shell scripting interface right away.
The old Suckerfish dropdown menus don’t work anymore. The problem is, of course, that IE7 has found a new way to be incompatible. Some of these menus “stick” now. A user will mouseover. The drop down will appear. The user will then mouseout and the menus do not go away. Here’s a solution that worked for me:
This comes in handy when performing a mass insert from a table without a primary key to a table with an AUTO_INCREMENT value. A common tecnique simply inserts blank values to the AUTO_INCREMENT column. Doing so generates a warning for each row. Generating a bunch of warnings makes it difficult to identify and address the other warnings that may occur. Using my tecnique to generate incremental values addresses this problem.
Recently I used MySQL Query Browser for some data import. I had a couple of spreadsheets and some word documents. It’s really not so tough to import data into a database, but I’d like a lightning fast GUI that opens CSV files and creates DB tables to match. Unfortunately, the MySQL GUI Tools don’t provide this convenience. I did, however run across the RegEx Text Importer and used it to parse a couple of text lists. I don’t do a ton of work with regular expressions. So I like to use the most obvious notation and keep notes.
Reclaim target="_blank" functionality in Textpattern. Use new non-deprecated markup: rel="external". Rely on core functionality – no plugins needed. Non technical authors can still use simple, elegant Textile markup.
The contents, design, and development of this site are all done by me, Ethan Kent.
The contents of my site, ethanmultimedia.com, are for general information only and provided strictly as is. I do my best to be truthful and accurate, but I must expressly disclaim any implied warranties of non-infringement, merchantability and fitness for a particular purpose. Browse this site at your own risk. If you’re looking for safety and assurance you should probably seek the advice of an appropriate professional.