artlung.

ArtLung posts tagged with “is_tag”


  • Updated Open Graph Protocol Tools Plugin

    I updated my Open Graph Protocol Tools plugin, on GitHub and on WordPress.org‘s SVN. It’s been a long time since I updated the plugin, shamefully long time actually. But hopefully I’ve addressed all the existing issues and if any new ones come up I can knock them out quickly.


  • Visualizing and Emerging Blog Content

    As I mentioned, I’ve been doing extensive reclamation of my blog archives in such a way that old headers get displayed. So you can see that in action for the Blog Archives from September 2002. The first row is is a set of buttons: back one year, back one month, archives for the current year,…


  • Random Affirmation

    Small project that, on click, loads new affirmations. A photo from Leah, some jQuery with AJAX, and voila. I like it. If anyone has suggestions for a “random thing of the day” type thing, please let me know. The JavaScript I code to attach the behavior is: $.ajax( {type: "POST" , url: "generate-affirmation.php" , beforeSend:…


  • “Fun” with Gallery 1.5.3, 1.5.10, 2, 3RC1; Leahpeah photos

    I mentioned moving Leah over to WordPress a few days ago, and that went well. I’ve been migrating over her prior content and deleting unused content a bit since then. In rooting through the site, I came across this: … which we put in place when there were folks deeplinking some larger images on her…


  • Blog Migration, Lura.net

    Speaking of blog migrations from Blogger to WordPress, here’s a successful one: Initially Lura was hosted under Windows and IIS. PHP was installed on her former server, but it did not really respond appropriately and the various IIS/WordPress/”mod_rewrite” hacks did not seem to work. So I advised her to move to PHP/Apache. Things went pretty…


  • WordPress Graphical Post Count Visualization

    I’m playing with a new theme for my blog, and wanted a better way to let people quickly scan for how many posts I had. So I used a background image of black, offset with background-position in css to let a graph “show through” to show the count. I’ve also posted the PHP and CSS…

  • Dead PHP3 Code

    People don’t write PHP like this anymore, or, if they do, they get hurt badly. This is old code of mine. Timestamp is January 29, 2002. Yeesh. <? $where_they_are = ‘http://’ . $SERVER_NAME . $REQUEST_URI; if ($HTTP_REFERER!=”) { $recipientlist=’joe@artlung.com’; $emailsubject=”visit to $SERVER_NAME via ” . $HTTP_REFERER; $emailbody=”someone came to $where_they_are via $HTTP_REFERER ip address: $REMOTE_ADDR…

  • Destructured Assignment in Ruby, PHP, and JavaScript

    Stupid code tricks in Ruby, PHP, and JavaScript

  • Turn off Magic Quotes in PHP via .htaccess

    #.htaccess SETTINGS TO TURN OFF # STUPID MAGIC QUOTES IN PHP # I HATE MAGIC QUOTES PROBLEMS php_flag magic_quotes_gpc off UPDATE: See Magic Quotes, and note: This feature has been DEPRECATED as of PHP 5.3.0 and REMOVED as of PHP 6.0.0. Relying on this feature is highly discouraged.

  • Trailing commas in an array OK in PHP

    I was editing some code today and saw what looked like an error to me, but nothing was broken on the code I was looking at it, so I was prompted to look it up. And indeed, in PHP: “Having a trailing comma after the last defined array entry, while unusual, is a valid syntax.”…


  • Site Launch: FireMapper

    This past week and today the finishing touches were put on: Space Instruments’ website– FireMapper.com. The site design was done by Benecke Creative, and I did the underlying html, CSS and JavaScript. It’s got some nifty stuff on it. I particularly am proud of some of the mouseovers in areas like the Oil Spill Mapper…

  • For PHP Geeks

    For PHP Geeks PDF Generation with PHP

  • Lines & Grauman’s & Unintended Consequences

    They’re lining up at Grauman’s Chinese For Star Wars 5, Er… Star Wars Episode II: Attack of the Clones. Which reminds me of my Super Simple Countdown in PHP and of course my ancient R2. Fun fact: I was living in Alhambra California in 1977 with my parents. My Mom was pregnant with my sister….

  • Referers Madness

    Last night and this morning I added a Referer tracker for the San Diego Bloggers page in PHP/MySQL. It’s cool to see how people are coming to that site. I’ll probably add something similar for my own blog as well. Any suggestions as to how to order the data? Other stuff to say, but not…

  • We neither have, nor need, any stinking badges.

    The San Diego Bloggers page has grown to 35 links. Some I found myself via daypop and google. Some were emailed to me from folks on various lists I’m on – I asked, and they provided! And some folks just found it randomly, and asked to be added. Today I created a San Diego blogger…

  • Quickies

    Joel strikes again! with great insights on what clients are looking at when they evaluate our software and web projects. As in lfe,we judge things based on surface aspects that are less important than their underpinnings. This is a great, funny, geeky cron anecdote. It made me laugh. (Requires some unix knowledge) I think I’m…

  • Search Engine Upgrade to ht://Dig

    Last night and this morning I installed htdig as the new search engine for this site internally. Back in August I mentioned that I would start using google because the solution I was trying had stopped working with any reliability. ht://Dig is open source and originated here in San Diego at SDSU. Total time for…

  • Some MacOSX Links of Note for Web Geeks

    Killer page of OSX Links It appears to be down at the moment. Google it and grab a mirror today! Apache-mySQL-PHP installation tutorial Apple’s OSX Downloads Building OpenSSH 2.5.2 on Mac OS X 10.0.1 Building Zope and Python on MacOS X Server Mac OS X / Mac OS X Server Resources MacNN’s OSX News MacOSX…