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

Busted TV, PowerShell and a bit of knitting

So my stupid DLP TV went out AGAIN on Sunday. Now the issues can probably be fixed with a soldering iron and getting at a board inside the thing but I hate the thing so I refuse to do it. So I am giving it to the ex and went out last night and bought a new TV. I got a Sony Bravia and last night it worked really well (OMG did anyone watch Heros and/or How I Met Your Mother???). My friend Devon helped me pick it out then she and I met up with Candace at Olive Garden where I had more than my equal share of the wine. Ooops.

I am working away on the TYF Mystery KAL blanket. I’ve moved on to Clue 4 and after Candy’s help I understand the stitch pattern well enough to correct mistakes. This weekend Candace and I will be going to a mobius shawl class so that should be good. And if I haven’t said it lately, if you knit listen to the podcast Cast On. Brenda Dane reminds me of my sister and there are loads of good stories as well as good music.

Oh yes…PowerShell. PowerShell is the best thing since sliced bread. I am running my script right now that goes to all of my Exchange 2003 servers and grabs the application log events and such to give me the database sizes along with how much of that is dumpster items and whitespace. It is soooooo cool!!!

No Comments