gmailthis, biatch!

Posted on September 28th, 2006 by dandavis
Tags:

Check it out… some 365 days ago, there was a post on Lifehacker about a bookmarklet called GmailThis. They later followed up with this Hack Attack about getting the most out of the bookmarklet.

Well, I took the bookmarklet and expanded it a bit for my own uses… for example, mine automatically address the email to me… no need for me to type it in every single time I use it. Also, I like to prefix my subject lines so that I can filter on more than sender and/or recipient. Also, I wanted a place in the email body that was meant for keywords so I could use Gmail's search functionality to its fullest.

Then, after all that, I decided it was time to share…

ok, this is too cool…

Posted on September 27th, 2006 by dandavis
Tags:

OK, just saw this over at Lifehacker… gotta say, it's very cool.

It's GrandCentral. Sign up for a free account and get a phone number. Link up to 6 phone numbers to your account. Someone calls your GrandCentral number and all of your linked numbers ring. But, of course, you can change that. You can setup all kinds of rules for friends, family, and so on… there's just way too many cool little features that I haven't even been able to play with yet… you'll need to go take a look at it. It's the slickness.

Firefox addSearchEngine and Netcat

Posted on September 27th, 2006 by dandavis
Tags:

Today on Lifehacker there was a post with a Mozilla search plugin just for lifehacker.com. Coolness.

But, instead of giving folks a super simple link to auto-install the plugin, they provided the two files (source and icon) in a zip file. So I was kind and offered adivce on creating the super simple auto-install link:

<a href="javascript:window.sidebar.addSearchEngine('http://url/to/lh.src', 'http://url/to/lh.gif', 'Lifehacker', 'Reference');">Install the LH Search Plugin</a>

Cool, huh?

Then I got to thinking about people who downloaded the zip and wanted to install the plugin without having to restart Firefox. And what if they don't run their own webserver… got me to thinking about netcat

A couple of commands at a bash prompt… one for the source and one for the icon… then a javascript call in Firefox…

(echo "HTTP/1.1 200 OK" ; echo "Content-Length: "`wc -c lh.src | awk '{print $1}'` ; echo "Connection: close" ; echo "Content-Type: application/x-wais-source" ; echo ; cat lh.src) | nc -l -p 1500 >/dev/null

(echo "HTTP/1.1 200 OK" ; echo "Content-Length: "`wc -c lh.gif | awk '{print $1}'` ; echo "Connection: close" ; echo "Content-Type: image/gif" ; echo ; cat lh.gif) | nc -l -p 1501 >/dev/null

<a href="javascript:window.sidebar.addSearchEngine('http://localhost:1500/lh.src', 'http://localhost:1501/lh.gif', 'Lifehacker', 'Reference');">Install the LH Search Plugin</a>

And, yes, it would be easier to just install Apache. Update: OK, it would actually be easier to install XAMPP, "an easy to install Apache distribution containing MySQL, PHP and Perl. XAMPP is really very easy to install and to use - just download, extract and start."

Oh, and if you're wondering, I couldn't remember which headers MUST be returned in a web request, so I just included a few that I knew would be a good idea to have in there… works well enough, it seems.

spam! Spam!! SPAM!!!

Posted on September 22nd, 2006 by dandavis
Tags:

I never realized how much SPAM was being sent using my domain as the spoofed source. (Not as a relay, mind… my server is and always has been closed down to that kind of crap.) I get so many MAILER-DAEMON and SPAM filter emails, it's not funny. Seriously. I hate it.

So, if you are a mail admin here to find out why "dandavis.com" sends so much SPAM… we don't.

In an effort to help combat that, I setup SPF (Sender Policy Framework) records for all of the domains I admin. If you setup your MTA to query for these records and reject emails that fail the test, SPAM from "dandavis.com" will drop substantially… to nil… cause I don't send SPAM. All of my domains are set to hard fail. No softfail crap here. If I didn't send it, and you don't want it, you won't get it. Period.

Good day, sir!

PS: Yes, I know SPF has it's weaknesses, but it can't hurt to try. Can it?

I said "Good day, sir!"

i am nerd! ph34r meh!

Posted on September 5th, 2006 by dandavis
Tags:

I am nerdier than 91% of all people. Are you nerdier? Click here to find out!