downloads, net, blog comments edit

I have to admit - I’m a Windows Live Writer convert. I tried earlier versions and wasn’t impressed, but I’m all over it now.

I’m also an ImageShack user. I love their free image hosting service for its ability to save me bandwidth on image hosting. It makes a surprising difference. (I even use YFrog on Twitter.)

The only real problem I ran into was that Windows Live Writer wants to upload every image to your blog for hosting. I don’t want that - I want my images on ImageShack. That means leaving Windows Live Writer to upload the image from some other uploader tool, getting the URL to the image, and manually inserting it. Sort of a pain in the workflow, if you know what I mean.

As an experiment to see how different applications enable extensibility through plugins, and to ease a problem I was seeing, I wrote a Windows Live Writer plugin that uploads images to ImageShack directly. No more having to leave Windows Live Writer.

Simply drop the plugin DLL in the Windows Live Writer plugins folder, paste your ImageShack registration key into the plugin options box, and upload/insert images from the “Insert” menu in WLW:

Insert ImageShack Upload menu
option

It was surprisingly easy to write, which was cool.

It’s free and open source.Go pick it up on Google Code.

downloads, vs, coderush comments edit

Sometimes you have a snippet of code in Visual Studio that you’d like to share over Twitter. You used to have to post the code snippet somewhere (or take a screen shot), then manually tweet the link to that snippet.

Not anymore!

CR_CodeTweet is a plugin for DXCore that adds a context menu and hotkey that allows you to select code in Visual Studio and automatically post it to CodePaste.NET, then tweet a link to that posted snippet - all without leaving Visual Studio.

Select your code and use a simple context menu…

CR_CodeTweet context
menu

…fill in your tweet info and your selected snippet hits the interwebs!

Sample of a tweeted code
snippet

Interested? It’s free! Go get it!

subtext, blog, aspnet, sql, downloads comments edit

Last year about this time I posted a database maintenance page that I created for cleaning up Subtext database things. Since then I’ve upgraded to Subtext 2.1.0.5 and, while the old page still works, my blog has become more popular so the referral cleanup is more difficult. There are so many records coming in that even with a long timeout set, there’s too much and the delete operation times out. That leaves a huge amount of junk in the transaction log and is just problems.

I updated the page so you can select which referrers you want to delete using a checkbox list and the number of referrals deleted at any given time is 1000 so you don’t have to worry about the timeout issue. Again, this page will let you:

  • Clear the error log. Yes, you can do this from the error log page, too, but it’s nice to have all of this in a central location.
  • See how many referrals you have in your database vs. how many of those are from search engines. The page lists out what qualifies as a search engine or spam referral so you’ll know what this means. It’s basically just a list of expressions that the page tries to match the URL against - nothing fancy. This new version only shows you the matches from the selected search engines, though.
  • Remove search engine referrals from the referral log. Qualifying spam referrals are also removed.
  • Reindex the referrals table and shrink the database. Do that after you clear out the garbage referrals.
  • See some size statistics on your database.

Download the zip file, then drop the enclosed ASPX page in your Subtext “Admin” folder. It’s an administration page so you do have to be logged in as an admin to use it. It doesn’t add any navigation links to the admin site, so you do need to manually enter the URL to the page to get to it.

[Download SubtextDatabaseMaintenance2105.zip]

General Ramblings comments edit

We put up our fake, pre-lit Christmas tree this past weekend in preparation for the holidays. It looked a little sad once we got it up because it’s seen better days. The whole bottom row of branches was bent down very noticeably due to our three cats running around the base and riding the branches.

The evening we put it up, we went to bed and I had to get up around midnight because it sounded almost like someone breaking in. Really loud clinking of the ornaments. Came downstairs to find three ornaments on the floor in the hallway, one of which had been pulled clean off its hook. I replaced the ornaments, but higher than they were before so they wouldn’t be tempting. I have a feeling the entire bottom third of the tree will be bare before we hit Christmas.

Tree longevity is definitely a concern. I came downstairs this morning and heard a tinkle-tinkle sound and suddenly I saw our largest boy cat come from out of nowhere and land on all four feet. I don’t know where he was - near the tree, in the tree, or whatever, but I know wherever he came from, he jumped out. He wasn’t just standing there.

The star doesn’t stay on top of the tree straight. I’m not sure why. Probably the weight of it combined with the cats moving the tree around. Yesterday evening it was rotated all the way around so it looked like we put it on backwards. I’m not even sure how that happened.

The tree skirt is pretty much just a tangled wad of fabric around the base of the tree. It’s not worth fixing anymore because the second you do there are three cats running around it as fast as they can go… and then it’s wound around the base of the tree.

The bottom row of branches now touches the ground and the second row is on the way down. I’ll be having to get some pliers out to try to bend them back into shape when the holidays are over.

I’m hoping these cats grow out of it. It’d be nice not to have to consider wrapping the tree in chicken wire or something to stop the inevitable destruction. Hey, at least we’ve not seen puke with fake pine needles in it. Yet.

net comments edit

If you have a business of 25 employees or less and you’re looking for a great unit testing mock/isolation product, Typemock has a screamin’ deal running until December 17: Get five developer licenses for Typemock Isolator and one build server license for $80/month.

That’s a pretty awesome deal. At current prices, it’s $799 for a developer license and $2499 for a build server license. It’d cost you $6494 for five dev licenses and a build server. A year of the same licenses at $80/month is just $960. Not bad, eh?

Go check out the deal for more info, or just pick yourself up some licenses while you can. Again, it’s just running until December 17, so get in while you can!