Scott Lewis

Developer. Iconographer. Writer.

Adobe Illustrator Contact Sheet JSX Plugin

I don’t like performing tedious, time-consuming tasks, especially when those tasks are non-revenue generating, which means they take time away from things I could be doing to increase revenue. The most time-consuming and tedious task I have to perform over-and-over is creating contacts sheet previews of my icons. The problem is that every marketplace has different requirements for preview image sizes and so a new contact sheet has to be created for each marketplace.
Continue reading

Ai Sessions Adobe Illustrator JSX Extension

When I’m working on my icon designs, I often have 4-5 Adobe Illustrator documents open at a time during a work session. Since icon design involves creating large collections of tens, hundreds, or even thousands of icons, I have them broken up into multiple files but find I need to copy a lot of icons between files.

Continue reading

Google Spreadsheets – Auto-Assign Row ID

I was recently working on a simple Google Spreadsheet to log functional requirements for a WordPress Plugin I’m building. I wanted a simple way to assign feature IDs as I entered new rows. My feature numbering system follows the format {version-major}.{version-minor}.{feature-number}. For example “1.1.001” where 1.1 is the version major + minor number, and 001 is the feature number.
Continue reading

Change Disqus Comment Count Text

I recently implemented the Disqus comment system on this and another of my blogs. I am really pleased with the service. It works extremely well, allows me to moderate all of the comments on my multiple blogs and my online conversations in one location, and the user interface is seriously kick-ass. My only complaint was that there is no way to change the look of the Comments and Reactions count. Or so I thought. Thanks to Ryan at Disqus, I learned there is a very simple, but admittedly unknown, way to do this. Continue reading

Remove an Element from an HTML String with jQuery

While working on a project for work today, I encountered a problem that I apparently have never encountered before. What I thought was a very simple function call in jQuery turned out to be a bit more complicated. I needed to removed an HTML element from a string representation of an HTML snippet. jQuery doesn’t quite behave the way I expected and I had trouble finding a solution Continue reading

SkyBlue CMS is now on GitHub

All things must eventually come to an end. SkyBlueCanvas lightweight CMS is officially at the end of its life. I built the very first incarnation of the software in 2003. Over the course of 8 years I spent thousands of hours developing the software and providing support. All of this was done for free. The software was downloaded over 50,000 times. I had an opportunity to interact with many very nice people around the world and made a few good friends in the process. But it is time to move on to other things. Continue reading

Word-of-mouth as a form of Payment

This evening I stumbled across what I think is one of the simplest and yet most brilliant ideas I have seen in years. The name of the service is “Pay with a Tweet”. I own a few web properties on which I give away open source products for free. Giving away my wares for free is not completely altruistic. While I am happy to contribute to the web design and development communities, my goal is to build my web traffic to be able to sell advertising and useful web-related products on my sites. Continue reading

jQuery Plugin to Toggle Default Field Value on Focus and Blur

I can’t begin to count the number of times I have coded the same search field with the default value “Search…” in it and so that when the field receives focus, the text is cleared but magically reappears when the field blurs. Every time I code it I know I should save that snippet of code somewhere but it is always faster to just write it anew each time. Well, no more. I finally got around to writing jQuery plugin to allow me to add the focus/blur default value toggle to any field. I have very creatively named the plugin ‘Defaultify’. Continue reading

Theming Custom Entities in Drupal 7

One of the most useful features of Drupal is the ability to define one’s own content types and field types. Prior to Drupal 7 one could create custom content types (limited to Title and Body fields) without using any third-party modules, or add custom fields to existing content types using the Content Construction Kit (CCK) module. In Drupal 7 most of the features of the CCK were moved to the Drupal Core so it is even easier to create custom content types and add an arbitrary number and arrangement of predefined as well as custom fields to an entity.

Drupal 7 also saw the introduction of a new concept in custom content types: entities. Through this new API, Drupal 7 allows you to define a completely custom type of data object or entity which can have its own menu paths, callback handlers, and access, display and storage rules. Continue reading

7 Steps to Get 10,000 Website Visitors in 10 days

This is not one of those link bait blog posts you typically see telling you how you can drive millions of visitors to your web site so you can get rich quick and buy a tropical island. What this post does do is share the actual steps I used to boost my web site traffic from 50 visitors per day to 10,000 in only 10 days and to generate nearly 5,000 inbound links in that same period. Continue reading