Log in

No account? Create an account


Posted on 2006.10.27 at 21:45
Current Location: 63134
Current Music: Concrete Blonde: Bloodletting
I'm on my third lj theme. I'm using the S2 layout 'Nebula' and though I know HTML, I don't know CSS, but probably should have stuck to an S1 layer. Leave it to me to not understand the differences in the two until it was too late. I'll probably change my theme again in the future, but not too soon, as it requires a lot of work to rewrite the code for tweaks, and to put all the customizations in place.

The Anal-King himself, photogoot asked me how I got my avatars at the top of my page to change, as he'd spent some time studying them, and noticed they were not random. Good eye. I took a smattering of my avatars and placed them in a 600x100 strip in Photoshop, trying to balance people & objects, colors & composition. I placed these images in my webspace on drax0r's server, and wrote a very simple bash script:

# Script which rotates my LiveJournal header image

cp /www/drax0rs_server/rotate1_new.jpg /www/drax0rs_server/spacer.jpg &
sleep 60
cp /www/drax0rs_server/rotate8_new.jpg /www/drax0rs_server/spacer.jpg &
sleep 60
cp /www/drax0rs_server/rotate2_new.jpg /www/drax0rs_server/spacer.jpg &
sleep 60
cp /www/drax0rs_server/rotate7_new.jpg /www/drax0rs_server/spacer.jpg &
sleep 60
cp /www/drax0rs_server/rotate3_new.jpg /www/drax0rs_server/spacer.jpg &
sleep 60
cp /www/drax0rs_server/rotate6_new.jpg /www/drax0rs_server/spacer.jpg &
sleep 60
cp /www/drax0rs_server/rotate4_new.jpg /www/drax0rs_server/spacer.jpg &
sleep 60
cp /www/drax0rs_server/rotate5_new.jpg /www/drax0rs_server/spacer.jpg &
sleep 60

For you non-technical types out there, this script says, every sixty seconds, in the background, take one of my eight images, and overwrite the previous image of the same name. So, once a minute, spacer.jpg is any one of eight different images.

I run this through cron, a unix command scheduler:

# Rotate my top banner lj picture
*/8 * * * * /home/ehowton/rotate_lj_pic.sh

What this says, is every eight minutes, of every hour of every day of every week of every month of every year, run my script. I adjust the number of minutes according to how many images I have.

In my lj layout, I have the 'URL of image to be used as page header' set to grab spacer.jpg from the web. This creates the rotating image at the top without any goofy java, though its not a true 'rotation' of all my avatars.

ehowton's Halloween party:

bigdog_etc dressed as Mary-Kate Olsen with her very own conjoined Ashley.
blancpage dressed as a resistance.
bsdcat dressed as a can of Pepsi.
catnapcat dressed as Lance Armstrong.
catttitude dressed as Jon Stewart.
celtmanx forgot to put on clothes!
cenedrawood dressed as a raccoon.
chrisbarrett77 dressed as Optimus Prime, and it suited them disturbingly well.
crowy dressed as Benjamin Harrison, though it looked more like a disturbing self-made character called "Dinky Wafflebrain".
danzigfried dressed as Dwight Eisenhower.
dentin dressed as the spirit of their dead grandmother Alma.
drax0r dressed as a mummy.
dreamkatch dressed as a new member of the Wu-Tang Clan, Intellectual Watcher.
electrcspacegrl dressed as your aunt.
galinda822 dressed as a fork.
irulan_amy dressed as a fullback for the Raiders.
jesskd26 dressed as something rich, but what, specifically, you can't tell.
lehah dressed as Adam Sandler.
leonardii dressed as someone who just poked themselves in the eye.
mattcaron dressed as a fiery shrub, and it suited them disturbingly well.
oxy_irony dressed as a pilot.
photogoot dressed as a bottle of Duonanmax.
princessleia2 dressed as a disturbing self-made character called "Dinky Hamstertoes".
professortom dressed as a raccoon.
prog_guy69 dressed as a character from "The Exorcist".
schpydurx dressed as the President of Congo, though it looked more like a new superhero: Snow -wave.
somebritinmass dressed as a 1980's yuppie child.
squackle gets drunk, strips naked, and somehow emerges dressed as the Cardinal of Freekyhlon.
swashbuckler332 dressed as a Colorado AssociatedCorp. employee.
telochka77 dressed as the Viscount of Elmfield, and it suited them all too well.
unixwolf dressed as Nicole Kidman's sister.
vember dressed as Lt. Cmdr. Data from "Star Trek".
wardlejew dressed as the love child of George Lucas and Mia Hamm, and it suited them all too well.
wkdbriss dressed as a Level 14 barbarian.
ximo dressed as Kevin Costner.

Throw your own party at the Hallomeme!
Created with phpNonsense


leonardii at 2006-10-28 20:08 (UTC) (Link)
Love those avatars!

Nice script. It's the perfect methodology: simple, effective, editable, and repeatable.

ehowton at 2006-10-28 21:14 (UTC) (Link)
You forgot creative.
leonardii at 2006-10-28 21:44 (UTC) (Link)
No, with the perfect methodology, creative is implied. Otherwise it would be shitty methodology. If you have shitty, then you need to get creative.
ehowton at 2006-10-28 22:01 (UTC) (Link)
Welcome back.
leonardii at 2006-10-28 20:15 (UTC) (Link)
Oh... and I really like Concrete Blonde. Just thought I should mention it. It's one of those things that I don't shout out much. My ex-wife is the person who got me interested in their music. Actually, in that category - we were extremely compatable. We were actually very very good friends in high school. Things just didn't work in our marriage.

Not that any of that info was important or relevant. You know how the brain works... one thought leads to another and another. Well, my ex was really cool. I really miss her as my friend.
Penguin Puppetmaster
oxy_irony at 2006-10-28 20:56 (UTC) (Link)
That's certainly an interesting script...

Wow, I'm a pilot. How unoriginal!
ehowton at 2006-10-28 21:16 (UTC) (Link)
Aim high.
Penguin Puppetmaster
oxy_irony at 2006-10-28 21:49 (UTC) (Link)
*Laughs* Indeed!
ehowton at 2006-10-28 21:59 (UTC) (Link)
I dunno, they're all just computer generated. I agree, some are quite boring.
irulan_amy at 2006-10-30 11:11 (UTC) (Link)
A fullback? I think I need to go gain...uh, a lot. =P *looks for Halloween candy*

And very handy work with the avatars, I wondered that myself. :)
ehowton at 2006-10-30 16:07 (UTC) (Link)
Thanks. I'm thrilled you even noticed. As far as I know, most people haven't.
Previous Entry  Next Entry