chris blogs

May 2004

23may2004 · New design available

I’ve been doing a new design for “chris blogs”, dubbed “Dark Mint”.

It looks very different from the “Barcode” designs available; it is very minimal, has only one graphic and a bright font on a dark background.

I hope you like it.

BTW, CSS really needs something like #define in the C preprocessor. There are cases in which several elements have the same color but that color can’t be defined using cascades. Changing these colors can get very complicated and it’s easy to redefine an element with the same color but a different purpose. (For “Dark Mint”, I just used the macroprocessor m4 to define colors, but running m4 after each change is tedious.)

Prank of the minute:

class String
  def dylanize
    gsub(/\b([b-df-hj-z]\w+in)g/i, 'a-\1\'')
  end
end

puts "For the times, they are changing".dylanize
puts "I'm wondering if she remembers me at all".dylanize
puts "I saw a room full of men with their hammers bleeding".dylanize
puts "I'm going back out 'fore the rain starts falling".dylanize

This will result in:

For the times, they are a-changin'
I'm a-wonderin' if she remembers me at all
I saw a room full of men with their hammers a-bleedin'
I'm a-goin' back out 'fore the rain starts a-fallin'

*veg*

NP: Pearl Jam—Hold On

Copyright © 2004–2016