Login
Forgot Password?

OR

Login with Google Login with Twitter Login with Facebook
  • Join
  • Profiles
  • Groups
  • SuicideGirls
  • Photos
  • Videos
  • Shop
Vital Stats

phraktyl

Springfield, OR

Member Since 2004

Followers 47 Following 89

  • Everything
  • Photos
  • Video
  • Blogs
  • Groups
  • From Others

Tuesday Jan 25, 2005

Jan 25, 2005
0
  • Facebook
  • Tweet
  • Email
You're Invited!

To celebrate the beginning of the last year of my third decade, a few friends and I are getting together Saturday night at the Yardhouse at Irvine Spectrum. We'll be there around 7:00-ish.

If you're in the area, feel free to stop by!

Geek Corner

So I've shared before that I do all of my journal entries in vi before I post them. I also keep them saved locally, under a filename such as "sg-050125-1.txt", or "sg-YYMMDD-#.txt"---this ensures they sort properly.

Because I am one of those people who are rarely cognizant of the date, it's a lot easier to have the computer figure that out for me. So for a while, I would do something like this on the command line:

$ vi sg-`date '+%y%m%d'`-1.txt

Now, this was all well and good, except that if I stayed up late one evening, and ended up writing one entry early in the morning before I slept, and a second that night for that day's entry. This would force me to have to manually edit that command line.

That won't do.

So, this afternoon I finally spent a few minutes and created an alias to get the next file, whatever it may be:

ENTRY=1; DATE=`date '+%y%m%d'`; while [ -f "sg-$DATE-$ENTRY.txt" ]; do let "ENTRY=(($ENTRY + 1))"; done; vi "sg-$DATE-$ENTRY.txt"; open "sg-$DATE-$ENTRY.txt"

This gets the next file for the day, edits it in vi, and then opens it with TextEdit for spell-checking purposes (does anyone know of an OS X program that will spell check around the journal tags?) and so I can copy and paste into the update page.
cayce:
the story about you and your son is so the cutest story ever. i think you win most adorable dad of the year. smile
Jan 26, 2005

More Blogs

  • 02.10.05
    5

    Thursday Feb 10, 2005

    Short post tonight. Meeting VLO in Irvine tomorrow. I'm looking f…
  • 02.09.05
    1

    Wednesday Feb 09, 2005

    I meant to mention this yesterday, but Google Maps rawks! Still in b…
  • 02.08.05
    6

    Wednesday Feb 09, 2005

    In other lovely mobile phone news, I'm going to get screwed by the Ci…
  • 02.07.05
    6

    Tuesday Feb 08, 2005

    I have a dream, that one day I will get a mobile phone, with all of t…
  • 02.06.05
    6

    Monday Feb 07, 2005

    Just to let you know, later on in this post is a yearly feature I lik…
  • 02.05.05
    2

    Sunday Feb 06, 2005

    Posting in the happy glow of my PowerBook, while my son sleeps next t…
  • 02.04.05
    3

    Friday Feb 04, 2005

    Have my son this weekend, until Sunday morning around 11:00. Minimal…
  • 02.03.05
    3

    Thursday Feb 03, 2005

    Seems like at least a few good friends here on the site are taking a …
  • 02.02.05
    1

    Wednesday Feb 02, 2005

    Geek Moment I'm here at work, at the tail end of my lunch break. …
  • 02.01.05
    4

    Tuesday Feb 01, 2005

    Look it! Look it! I'm updating at a fairly reasonable time! Of…

We at SuicideGirls have been celebrating alternative pin-up girls for:

24
years
2
months
10
days
  • 5,509,826 fans
  • 41,393 fans
  • 10,327,617 followers
  • 4,619 SuicideGirls
  • 1,113,818 followers
  • 15,007,794 photos
  • 321,315 followers
  • 61,596,576 comments
  • Join
  • Profiles
  • Groups
  • Photos
  • Videos
  • Shop
  • Help
  • About
  • Press
  • LIVE

Legal/Tos | DMCA | Privacy Policy | 18 U.S.C. 2257 Record-Keeping Requirements Compliance Statement | Complaint / Content Removal Policy | Contact Us | Vendo Payment Support
©SuicideGirls 2001-2025

Press enter to search
Fast Hi-res

Click here to join & see it all...

Crop your photo