Tags → PHP 
-
Programming graphics on the TI-99/4a
Back in 2019 I wrote about programming in TI-BASIC a little bit. I remembered going from graph paper to hex but the mechanics of drawing to the screen was not something I remembered. I did remember it was pretty tedious. But rewarding! Well, the other day I was inspired to create a chunk of code…
-
Finding earworms in last.fm data with PHP
Over the weekend I was prompted to think about the idea of an “earworm” — a song or piece of music that gets stuck in your mind. Some people find such “earworms” to be highly irritating. The idiom implies an actual worm in your actual ear which sounds positively *horrifying* to me. For me, an…
-
Resume View Tracker from 2010
Back in 2010 or so when I was looking for work. I wanted to track when recipients were looking at my portfolio, so I added some code to alert me whenever the page was loaded, by anyone. It seems more innocent than sinister to me now. Note how I had to alter it to filter…
-
Instalooter to WordPress
I’ve been importing my Instagram posts for my @artlung account using IFTTT for 7 years with good results. But there was a set of several hundred posts from 2011 and 2012 that I never bothered with. To be honest looking back at the posts, and thinking of that time, those were the two years after…
-
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…