The Archives

SEARCH


Archive for February, 2008

Testing out Code Formatting

Posted in: Programming by Steve on

Thanks to RossCode for recommending this plugin for Windows Live Writer, “Insert Code for WLW

Too bad I don’t have a wider blog theme, but I really like this one.  Testing out the VB functionality since I don’t really see VB examples that often:

 
   1:          ''' <summary>
   2:          ''' This method checks to see if the given URL is available and accepting requests.
   3:          ''' </summary>
   4:          ''' <param name="url"></param>
   5:          ''' <returns></returns>
   6:          ''' <remarks></remarks>
   7:          Public Function IsUrlAvailable(ByVal url As String) As Boolean
   8:              Try
   9:                  Dim req As HttpWebRequest = WebRequest.Create(url)
  10:                  Dim rsp As HttpWebResponse = req.GetResponse()
  11:                  If rsp.StatusCode = HttpStatusCode.OK Then
  12:                      Return True
  13:                  End If
  14:              Catch ex As WebException
  15:                  ' Eat it because all we want to do is return false
  16:              End Try
  17:              Return False
  18:          End Function
xkcd

Posted in: General by Steve on

I want to build this in our family room:

http://blog.last.fm/2007/12/21/blogging-from-the-ballpit

http://blag.xkcd.com/2008/02/27/ballpit-phase-ii/

I think I can convince my wife.

Where do I buy my hardware?

Posted in: My Links by Steve on

I buy lots of toys. My wife doesn’t always approve of the things that I want or buy, but it’s who I am. But I’ve got a knack for finding the latest gadgets on sale, which makes it a little better.

I’ll let you in on a little secret: www.techbargains.com

I stumbled across them probably about a year ago and I find plenty of deals there. I found my Garmin Nuvi 350 there pretty cheaply and from a reputable store. Most of the time, they have the best deals on computer equipment from stores such as NewEgg, Buy.com and Geeks.com.

It’s really just a deal aggregator that also has some tools on finding hard to get items, like a Wii or iPhone (when it was in huge demand).

links for 2008-02-26

Posted in: My Links by Steve on February 26, 2008

links for 2008-02-24

Posted in: My Links by Steve on February 24, 2008