posts - 598 , comments - 849 , trackbacks - 247

My Links



Lance Robinson

Create Your Badge

Lance Robinson is a software engineer in Durham, Chapel Hill, Raleigh, and surrounding areas. More about Lance.


Tag Cloud


Post Categories



Noteworthy Stuff

Popular Posts

August 2008 Entries

PowerShell – Base64 Encode/Decode a string
An easy way to convert data to/from base64 (or uuencode/uudecode, quoted-printable, url encode/url decode, JIS, Yenc, hex, or even creating md5 or sha1 hashes) is to use the NetCmdlets convert-data cmdlet. To encode: PS C:\> convert-data -data "Hello, World!" -to base64 Data Size Format ---- ---- ------ SGVsbG8sIFdvcmxkIQ== 20 base64 To decode: PS C:\> convert-data -data $encoded.Data data -from base64 Data Size Format ---- ---- ------ Hello, World! 13 Plain Technorati Tags: PowerShell, NetCmdlets, ......

Posted On Friday, August 29, 2008 1:24 PM | Comments (0) | Filed Under [ PowerShell ]

TwitterMinder and Flickr->Twitter scripts
If you’re an RSSBus user who is using my Google Calendar –> Twitter or Flickr –> Twitter services, you might notice a minor change to both. I changed Twitterminder so that tweets resulting from Google Calendar entries are prepended with “GCal: “. I did the same thing with the Flickr->Twitter script, it will now prepend “Flickr: “. Related: How to call these services from your own applications. Related: How I converted TwitterMinder into Flickr->Twitter by changing 4 lines of code ......

Posted On Thursday, August 28, 2008 1:58 PM | Comments (0) | Filed Under [ Programming General ]

SUP – Simple Update Protocol for feed services
This is cool – FriendFeed created the SUP protocol (format) for web services that produce multiple feeds. In order to reduce tons of frequent feed polling, services can offer one “SUP feed” that indicates what feeds on the service have been updated. It works very simply. Each RSS/Atom feed includes a link tag with that feeds SUP-ID (so each feed has its own SUP-ID) and the URL of the SUP feed. The SUP feed contains a list of all the SUP-ID’s of feeds that have been updated ......

Posted On Thursday, August 28, 2008 11:02 AM | Comments (0) | Filed Under [ General ]

Amazon MP3 Customer Service
I’ve always had excellent service from Amazon, and Amazon MP3 is no different. Last week I blogged about how I purchased the new Rehab album from Amazon MP3. It turns out I accidently bought the censored version, which is annoying to me. So given Amazon’s uniquely amazing customer service, I decided to email them and ask if I could download the explicit version of the album without having to re-purchase it. No more than 2 hours later I had a response: a refund is being issued for my mistaken purchase. ......

Posted On Wednesday, August 27, 2008 4:55 PM | Comments (2) |

New PoshBoard Release
The latest from Antoine Habert is that PoshBoard 0.3 is out at codeplex. He's posted release notes and a quickstart on his blog. update: fixed links. Technorati Tags: PowerShell, PoshBoard ......

Posted On Tuesday, August 26, 2008 9:54 AM | Comments (0) | Filed Under [ PowerShell ]

One of the cmdlets I use most often in my scripts is test-path, which simply tells you whether or not a particular file or path exists. Below is test-remotepath, which I use to tell me if a remote file or path exists. This particular script uses get-ftp from NetCmdlets, but it could also just as easily be done with rexec, rshell, or even ssh (sexec). ## test-remotepath.ps1: Tests if a remote file/path exists ## This script uses ftp to determine whether or not a remote file or path exists. ## This ......

Posted On Monday, August 25, 2008 5:23 PM | Comments (1) | Filed Under [ PowerShell ]

Good deal on the Amazon Kindle
My buddy James and me were discussing Amazon’s Kindle today at lunch. To us, its such an appealing product, but the price is just too high. But…I noticed today that if you sign up for the Amazon Rewards Visa Card you get $100 off - Amazon Kindle for only $259. I didn’t click over and buy one yet, I’m going to think it over a bit instead. I really want one… Hmm.. Who has one of these already and how much do you love it? Technorati Tags: Amazon Kindle ......

Posted On Thursday, August 21, 2008 4:01 PM | Comments (0) |

Dear RIAA (aka GrooveShark and Pandora Rock)
Dear RIAA, Please address your thank-you note to Pandora Radio. Pandora is where I was able to listen to a bunch of songs by Rehab, and where I then proceeded to purchase the Rehab album "Graffiti The World" (through Amazon MP3 of course, where I purchase all my DRM free music). Matt Miller brought it to my attention that Pandora may be on the way out because our the members of the Copyright Royalty Board have their eyes wide shut (just to be a little bit overly dramatic, there is no doubt in my ......

Posted On Wednesday, August 20, 2008 2:57 PM | Comments (0) | Filed Under [ General Personal ]

IMAP backup service accepting beta testers
ImapBack: ImapBack makes a complete copy of your emails, on any IMAP server, from Gmail to Google Apps, to your own custom IMAP server located anywhere in the world! These backups can be stored on another IMAP server, on our servers, or on your local hard drive. You can schedule any interval of backups (Daily, Hourly, Weekly, Monthly) as well as creating a backup on-demand. On a related note, if you need an easy way to view and control IMAP access control, check out my IMAP ACL Manager application. ......

Posted On Monday, August 18, 2008 4:44 PM | Comments (0) | Filed Under [ Software ]

Lost Phonebook – dot com
No, doesn’t exist. But I was thinking of buying it, and putting up a little mock “lost” flyer, complaining that I have lost my phonebook. The flyer would ask that if you have found a “lost” phonebook in your driveway or yard, that you simply return it to its owner. Then of course, I would proceed to offer my address by asking you for your zip code, and what type of phonebook you found. The website would look for the closet phonebook publisher (ie, AT&T publishes “The Real Yellow ......

Posted On Monday, August 18, 2008 4:42 PM | Comments (1) | Filed Under [ General ]

Pandora Radio
My friend Julie told me about Pandora Radio a while back, but I never got around to checking it out. Well, I finally did today, and she is right about it. Its awesome! Pandora allows you to custom make your own radio station, playing the music you request and other music similar to it. You can also share your station, and listen to the shared stations of other members and friends. In my case, just what the doctor ordered for a Sunday morning of background music while doing some chores around house ......

Posted On Sunday, August 17, 2008 9:53 AM | Comments (3) | Filed Under [ General ]

High level nerdiness
If you’re reading this (and you’re not just one of my friends or acquaintances who is stalking me), you know you’ve done it. Yep, you know you have. You’ve spoken to someone or written to someone in various computer languages. It just happened here at /n software in an IM conversation between two of my co-workers, James and Tom. James is trying to get a group of people together to see the Pink Floyd Experience. James IM’d Tom in RSBScript (For you nerds that don’t know, RSBScript is an xml-based ......

Posted On Friday, August 15, 2008 5:25 PM | Comments (2) | Filed Under [ General ]

PowerScripting Podcast – Scripting Contest!
Update: deadline pushed back (another week?) for the scripting contest. In case you missed it, the guys over at the PowerScripting Podcast are hosting a scripting contest. Hurry though, the deadline is Sunday! They’re giving away free licenses of NetCmdlets and PrimalScript 2007. Technorati Tags: PowerShell, NetCmdlets ......

Posted On Friday, August 15, 2008 11:04 AM | Comments (0) | Filed Under [ PowerShell ]

Why is configuring Net-snmp so painful?
This incomplete tutorial gets a person started, but then bails on the second half of the process of configuring actual users. Instead it points you to the man page, which is basically useless and conflicts with directions mentioned in the snmp.conf man page! Ugh! This page is a little bit better, it helps me get an authNoPriv user up and going. From there, I was able to add my authPriv users too: As described in the first tutorial mentioned above, run snmpconf –g basic_setup and then copy over the ......

Posted On Wednesday, August 13, 2008 3:20 PM | Comments (0) | Filed Under [ Software ]

NetCmdlets Invoke-Telnet?! And other PowerShell madness.
On last week’s PowerScripting Podcast, Jonathan Walz and Hal Rottenberg interview /n software’s Eric Madariaga about NetCmdlets and PowerShellToys (PowerShellASP). My favorite part was when Hal was shocked to hear that a telnet cmdlet was added to the v2 beta. Hahaha. I completely agree – who uses telnet anymore? But that was actually the biggest request we got from people who were using v1 of NetCmdlets! We already had cmdlets for executing commands over ssh…but people really wanted telnet. This ......

Posted On Monday, August 11, 2008 4:57 PM | Comments (1) | Filed Under [ Programming Software PowerShell ]

Powered by: