Matchbox Released!

I’ve been toying around with the idea of a light box that didn’t us JS to center the image and finally got it all sorted out. Of course you know it’s got to be more than a basic light box, so I added a couple features and tried to make it as easy as possible to use.

First, in it’s default configuration, you can make any element trigger a lightbox by simply adding the attribute data-fullsize to it. If you want to do something a little different thats completely customizable, including using a function to get the larger version of the image.

It also have a few extra buttons in the lightbox view, the first of which is the open-in-new-window button in the top left which does exactly what you think it would, usefully for when the image is actually really large and there no way to see it all and see it at 100%.

On the side it has a couple arrows that light to navigate through all the images on the page that have the light box attached to them.  Simple and something I would except to see more of in light box plugins. Both the arrows and the new-window button can be disabled in the plugins settings.

You can see it in action here: https://rawgit.com/pgooch/Matchbox/master/index.html and see the code, forkit it, and all that good stuff here: https://github.com/pgooch/Matchbox.

Every wonder how much you would need to buy everything off the Steam Store?

Someone did, and they asked the subreddit /r/theydidthemath. I had never considered it before, but I have some experience scraping and playing with data so I decided to make a script that could tell me just that.

 
I was honestly expecting more both in number of items and in the overall sale amount, after the Steam Store is known for their sales. Anyways I have put the script up on github in case anybody wants to play around with it. The scraper is scraping more data that the stats are using, so if your looking for some specific information you might be able to get it out. It also supports loading old data sets to run comparisons against the big sales. Speaking of which there should be a Summer Sale any time now…

Missing updates

I updated Auto SEO today with a from-the-ground-up update that adds new features and improved the way it works. I’ll leave a post specifically about that, however this is more of a summation of the things I have not posted that I have updated. All of these will see at least a minor update in the future that will get proper posts (hopefully in the next couple weeks) explaining the features, and some need entire pages. If only updating wasn’t so tedious.

  • Critique Wordpress Plugin – Not even an update, a whole new plugin for adding reviews to your WordPress site.
  • GamepediaViewer – A little reverse engineering and you can view your GamePedia library anywhere on any device in a handy little web app, open source too.

And now for the things that may not see an update soon, but I should probably put a page up for (I should probably put a page up for, doesn’t mean I will).

  • dir – a directory that dynamically resizes and caches images with full retina support (well, to get technical, it’s pixel density independent support).
  • rgbaColorPicker – had an update that added support for forcing the output format.

And I have some projects in the works as I have time

  • Matchbox – a super simple jQuery lightbox plugin.
  • APE – an Ajax PHP Engine/Environment/Thingy, makes creating dynamic AJAX sites in PHP nice and simple, designed to be lean but feature full (meaning that it could be both leaner and more feature full if desired). Already in use in several projects, really just needs a bit more cleanup and documentation before release.
  • Form Fancier – a php library for making, checking, and possibly even updating forms automatically, works well with APE to provide nice ajax for submissions with inline error messages.
  • New Motivation Poster Gallery – website rework has begun again.

Plus new projects with my day job are going to be launching soon, what new things they may bring I don’t know, but if it can be open sourced then I’ll package it up and do that. Naturally given the work only small portions will make it out, but hey it’s better than nothing.

So, despite the fact that I rarely update I am still in fact working away.