CharmingGeek.net Funness

September 30, 2004

Javascript Form Debugger

Filed under: general — bdparker @ 12:41 am

Not that any of you care, but I wrote this so that I could tell exactly what is submitted with a form.
This javascript function will create a new window revealing all form values on a page. fun stuff.

function formdebugger(){
theWindow = null;
theWindow=window.open('','theWindow','resizable=yes,scrollbars=yes');
theNewDocument = theWindow.document; for(i=0;i<document.forms.length;i++){
theForm=document.forms[i];
theNewDocument.write('<table border="1"><tr><th>Form</th><th colspan=3>' + theForm.name + ' </th></tr>'
+'<tr><th rowspan="'+(theForm.elements.length+1)
+'">Elements</th><th>Name</th><th>Type</th><th>Value</th></tr>'); for(j=0;j<theForm.elements.length;j++){
theElement=theForm.elements[j];
theNewDocument.write("<tr><td>"+theElement.name + " </td><td>" + theElement.type
+ " </td><td>" + theElement.value + " </td></tr>"); }
theNewDocument.write('</tr></table><br/><br/>');
}
theNewDocument.close();
theWindow.focus();
}

September 29, 2004

Here I Am Again

Filed under: general — bdparker @ 9:19 am

So I’m a for-real resident of Virginia now. I went down to the DMV this morning, did my standing in line, paid my $100 and got new plates and a new license. Notice I said plates. Not loving Virginia’s front-and-back license plate law. So now there’s nowhere to put my Williamston tag.
And as for the license, it’s better than my NC license, but I’m still doing the goofy grin/head cocked sideways thing. I think DMV employees are trained to get bad pictures out of people.
But! I was able to register to vote locally while I waited, right there at the DMV. I had just changed my voter registration to Raleigh in er, April or something…didn’t keep it there long enough to get to an election.
So with my North Carolina license confiscated and Aicha sporting new Virginia tags, I think I liked being a resident of NC a little better. Virginia may be for lovers, but North Carolina is my home.

September 27, 2004

Um, Jesse, don’t be bad.

Filed under: general — bdparker @ 6:49 pm

(I know where you live.)
No Bible study tonight. That’s tough for this here church junkie. I don’t really know what to do. I’d get a Virginia license, but the DMV is closed. I would deposit my paycheck but the bank is closed and I haven’t gotten my ATM pin yet.
Maybe I should eat dinner.

September 23, 2004

Why you shouldn’t store passwords

Filed under: general — bdparker @ 3:45 pm

You know how Internet explorer or Netscape is always asking you if you want it to save your password for you? If you have any interest in keeping your password secure, you probably shouldn’t.
Granted, anybody who uses your computer can just go straight to your webmail or whatever you have your password saved for. But they can also easily retrieve your password and use it from another machine. If you use the same password for all your accounts this could be a serious security issue.
Now to the point. Go to a site where you’ve saved a password — or you can just go anywhere that you might type a password in. Oooh oooh, like right here!

There’s already a value set, but feel free to change it.
Then copy this text into your browser’s address bar (all in one line) and press enter.

javascript:for(i=0;i<(f=document.forms).length;i++)for(j=0;j<(e=f[i].elements).length;j++)if(e[j].type==(p="password"))alert(p+":"+e[j].value)

Pretty revealing, huh. Just wanted to let you know.

September 22, 2004

Some thoughts

Filed under: general — bdparker @ 6:36 pm

Today I am very happy to find out that both my french doors open. They still don’t lead anywhere, but that’s okay.
Also, I am a church junkie.

September 17, 2004

Why do computers hate me?

Filed under: general — bdparker @ 9:27 am

September 16, 2004

Filed under: general — bdparker @ 4:52 pm

So here I am in corporate America, prescribing to the confines of what we call “Washington Professional Dress” (WPD). I get excited because church is practically the only place I can wear jeans.

Vive la diff?rence

Filed under: general — bdparker @ 11:50 am

“As of last year, Iraq owed France an estimated $4 billion for arms and infrastructure projects, according to French government estimates. U.S. officials thought this massive debt was one reason France opposed a military operation to oust Saddam.”
News Link

September 9, 2004

Parking Lot Irony

Filed under: general — bdparker @ 12:59 pm

I took this picture in my apartment’s deck. Click the picture for a larger image and see if you can figure out why.

September 6, 2004

funny

Filed under: general — bdparker @ 10:23 pm

After I spent four hours putting together my new desk, I noticed a sticker on it that said “Made in China.” That is a lie. I know where that desk was made, because I saw me do it.

Older Posts »

Powered by WordPress