I don’t hide the fact that I’m a geek, for a designer, I think I hold my own with most webdev programmers - In most regards I know my shit, but until recently I haven’t spent anytime learning regex (regular-expressions) and let me tell you, if you don’t know regex - simply put, you’re working too hard.
Regex is a way to filter strings that match a pattern out of text from a file or from standard input. Regular expressions (or RegExs) can be used with a big choice of programs, most notably grep (the global regular expression parser) and sed (the stream editor).
I know, even the definition is somewhat intimidating, but the power of regex is worth the pain I promise - let’s look at an example, take a look at the following list of fish (assuming that the number was a quantity).
- One Fish: 1
- Two Fish: 15
- Red Fish: 9
- Blue Fish: 0
Read More »
I want to start by saying that I seldom use Photoshop for web production, I may use it for some visualization and image editing but as a general rule, everything ends up in Fireworks for any layout or slice and dice that may need to happen. Yesterday in what I can only describe as a momentary loss of sanity, I cranked out a few dozen graphics for a promotional blog from Photoshop - all jpegs, all designed to seamlessly fade into the blogs blue background - took me 3 tries - why? - because Adobe in it’s infinite wisdom has ‘include icc profile’ on by default, and I absolutely missed that fact TWICE – if you’re unaware of this setting, it’s a color profile that attempts to assure you get consistent color representation across devices - and it works swimmingly as long as all the software honors ICC profiles - not surprisingly IE and Firefox on a PC don’t, which is why I never use embedded ICC profiles KNOWINGLY. So aggravating..
Comments Off
I recently just finished a project that included a day-by-day itinerary, and an hour-by-hour speakers schedule, I really wanted to highlight the current days events, and emphasis the current speakers bio - not a daunting task by any means - but always looking to skin the cat differently, I used a single line of php, and a two generated css selectors.
here’s an item from the event list
<ol id="3070812">
<li>Effective Sales via email</li>
<li>Time: 12pm</li>
<li>Date: March 7th, 2008</li>
<li>Location: Green Room Loungue</li>
</ol>
Read More »
Comments Off
I was just cleaning up a few bookmark bar folders, and I thought these might prove useful for someone - I’ll assume you know what a bookmarklet is. Also I did not write any of these bookmarklets (I simple gathered them), I use them, find them endlessly useful and am storing them here purely as a convenience - I offer no warranty as to how helpful YOU may find these items.
MISC
CSS
CSS/WEBDEV BOOKMARKLETS
XML
RESIZE BOOKMARKLETS
WIZARDS/GENERATORS
BACKGROUNDS
GRAPHICS
Comments Off