March 1st, 2004


userinfo senji
2004/03/01 14:58:00 - This journal has most often been sleepy
Using a rather hacky bit of shell last night I produced a list of all the moods I've used; and here they are in order of commonness:

  • 21 [mood icon] sleepy

  • 8 [mood icon] happy

  • 6 [mood icon] silly

  • 6 [mood icon] bouncy

  • 5 [mood icon] busy

  • 5 [mood icon] awake

  • 4 [mood icon] inquisitive

  • 4 [mood icon] hot

  • 3 [mood icon] tired

  • 3 [mood icon] thoughtful

  • 3 [mood icon] pensive

  • 3 [mood icon] cheerful

  • 3 [mood icon] geeky

  • 3 [mood icon] stressed

  • 3 [mood icon] irritated

  • 2 [mood icon] weird

  • 2 [mood icon] quixotic

  • 2 [mood icon] giggly

  • 2 [mood icon] lazy

  • 2 [mood icon] groggy

  • 2 [mood icon] nostalgic

  • 2 [mood icon] contemplative

  • 2 [mood icon] okay

  • 2 [mood icon] indescribable

  • 2 [mood icon] pleased

  • 2 [mood icon] calm

  • 2 [mood icon] amused

  • 2 [mood icon] working

  • 2 [mood icon] accomplished

  • 2 [mood icon] pissed off

  • 1 [mood icon] devious

  • 1 [mood icon] curious

  • 1 [mood icon] waiting for computer

  • 1 [mood icon] half-awake

  • 1 [mood icon] drained

  • 1 [mood icon] about to go to bed

  • 1 [mood icon] gloomy

  • 1 [mood icon] crappy

  • 1 [mood icon] coughing

  • 1 [mood icon] bored

  • 1 [mood icon] bouncy but tired

  • 1 [mood icon] peaceful

  • 1 [mood icon] mellow

  • 1 [mood icon] content

  • 1 [mood icon] productive

  • 1 [mood icon] lego

  • 1 [mood icon] surprised

  • 1 [mood icon] splenetic

  • 1 [mood icon] grumpy

  • 1 [mood icon] enraged

  • 1 [mood icon] bah

  • 1 [mood icon] annoyed

  • 1 stiff

  • 1 post-party

  • 1 mixed

  • 1 indecisive

  • 1 dopey

  • 1 displacing

Current Mood: [mood icon] interested
Current Music: Tape noises...

< | 7 glosses | comment | > )

userinfo emperor
[userpic]
2004/03/01 07:20:39
Listing! listing!
reply | thread )
userinfo senji
[userpic]
2004/03/01 07:24:02
Listing?
reply | parent | thread )
userinfo emperor
[userpic]
2004/03/01 07:28:19
I wanted to see the code you used...
reply | parent | thread )
userinfo senji
[userpic]
2004/03/01 07:54:59 - From the .bash_history of <lj user=senji>...
export NEXTPAGE='http://www.livejournal.com/users/senji/2004/02/27/'
while true
do 
wget $NEXTPAGE
(perl -ne 'print $1 if m-Current Mood:</strong> (.*)<br />-' index.html | sed 's-<br />.*--'; echo) >> moods.txt
export NEXTPAGE=$(perl -ne 'print $1 if m-<a href="(.*)">Previous Day-' index.html)
rm index.html 
done


reply | parent | thread )
userinfo ewx
[userpic]
2004/03/01 12:02:25 - Re: From the .bash_history of <lj user=senji>...
NEXTPAGE='http://www.livejournal.com/users/senji/2004/02/27/'
while :
do 
  rm -f index.html 
  wget "$NEXTPAGE"
  perl -ne 'print $1 if m-Current Mood:</strong> (.*)<br />-' index.html | sed 's-<br />.*--'
  echo
  NEXTPAGE=$(perl -ne 'print $1 if m-<a href="(.*)">Previous Day-' index.html)
done >> moods.txt

...and perl | sed should just be taken out and shot.


reply | parent | thread )
userinfo senji
2004/03/01 13:33:29 - Re: From the .bash_history of <lj user=senji>...
What's worse, that only works for my style... you have to change the regexps for other styles...

I did say it was very hacky, didn't I? :)

reply | parent | thread )
userinfo emperor
[userpic]
2004/03/01 15:12:21 - Re: From the .bash_history of <lj user=senji>...
...and perl | sed should just be taken out and shot.

Clearly it should just be done in sed :-)
reply | parent | thread )

< | 7 glosses | comment | > )

This journal has most often been sleepy - Squaring the circle... — LiveJournal

> log in
> recent entries
> fiends
> archive
> toothywiki page
> profile
> new entry
> recent comments


> go to top