Sunshine & Lollipops

I am still in disbelief, worried that I will wake up and this is a dream. But, then again I doubt in my dream I’d still have to police the cat’s litter box. :P

Wonderful quotes all over the place, especially over at Indecision 2008:

Michigan Avenue found south side teens and hipsters together on medians, singing the national anthem together, knowing all the words.

I don’t think I recall in my lifetime people “rioting” by getting together with people from vastly different walks of life and singing the anthem of their nation. How awesome!

In other news, I have a headache, Exchange 2007 training was okay today, my legs are sore from walking, I am going to the yarn shop tomorrow, and I still have not finished my Mystery KAL blanket. Oh yeah and I freaking HATE trying to print from my Windows VM in Parallels. Blank bleeping pages here at home. Rawr!

3 Comments

Election Day

I rolled out of bed a little after 6 this morning to scoot over to the polls. It was in a different spot this year for my precinct but I checked the sample ballot I was mailed and had the right place. Others….well they didn’t bother to check. Rather than being a bit annoyed that they hadn’t checked and realizing that after all just because ‘you always vote at yadda yadda school’ doesn’t mean you will be on the rolls for another precinct they wanted to scream and yet and blame everyone else. Really people? Really? No consideration at all for the poll workers nor for the poor souls that have to figure out all that stuff. Yeah, sometimes things get messed up and whops you have to go a few blocks over to vote, and yeah maybe someone should have come out a little earlier or put the map closer to the end of the line, but geez it was 6:30 in the morning and they were doing the best they could only having been open for a half hour so get over it. Ptttt

So an hour in line and then I scoot back home to get ready for work. I really thought I was going to be way late. I just barely caught the bus right after the one I normally take…yet I got to work at the same time. The connection bus must have been way early or way late, but hey I’ll take it.

Oh yes, and PowerShell sweetness of the day. Say you have a list of names and you want to look for things in that list within a larger file (or files). Easy peasy, and this probably isn’t even the easiest way to do it:

foreach ($line in gc c:\delmbox.txt) { gci * | select-string $line | fl pattern, path}

For each line in delmbox.txt it will get the contents of all the files in the current directory where it fines the line from delmbox.txt and format the results in a list showing the pattern (what you were looking for) and the path (which file it found it in). Right now I am working o having it show part of the line, but just the section I want. Too bad what I am looking is is not a csv file, that would make it way easier.

No Comments