ehowton (ehowton) wrote,
ehowton
ehowton

  • Location:
  • Music:

Iterations

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:


#!/usr/bin/bash
# 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
Subscribe
  • Post a new comment

    Error

    default userpic

    Your IP address will be recorded 

    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.
  • 11 comments