Geeks With Blogs

News

qrcode

Lance Robinson

Create Your Badge

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

 Subscribe


Lance's TextBox » About Me » My Resume »Twitter Programming
Creating Team Foundation Work Items With PowerShell
Here is the simple function I added to my powershell profile: function create-tfstask ($desc) { tfpt workitem /new $workItemType /collection:$serverUrl /fields:"Title=$($desc);Ass... To=$assignee;AreaId=$areaId... } To find the AreaId and IterationId for your project/versions, just look at a bug you know is setup correctly: PS C:\> tfpt query /collection:http://3bs001vs... /wiql:"select AreaId,IterationId from workitems where ID = 879" Next I hooked this into ......

Posted On Wednesday, January 26, 2011 10:58 AM

How do I rollback a TFS check-in?
I can never remember how to rollback a check-in, and there all kinds of mess in search results about this (change between different versions of TFS etc), so I thought I’d just put this here so I won’t forget anymore. :) Thanks to @manningj, TFS genius. Just drop to the command line and use tf.exe. Example: tf rollback /changeset:12345 For more on the tf.exe commands: tf help Technorati Tags: Visual Studio,Team Foundation,Rollback ......

Posted On Tuesday, December 21, 2010 11:24 AM

PowerShell – Recycle All IIS App Pools
With a little help from Shay Levy’s post on Stack Overflow and the MSDN documentation, I added this handy function to my profile to automatically recycle all IIS app pools. function Recycle-AppPools { param( [string] $server = "3bhs001", [int] $mode = 1, # ManagedPipelineModes: 0 = integrated, 1 = classic ) $iis = [adsi]"IIS://$server/W3SVC/... $iis.psbase.children | %{ $pool = [adsi]($_.psbase.path); if ($pool.AppPoolState -eq 2 -and $pool.ManagedPipelineMode -eq $mode) { # AppPoolStates: ......

Posted On Thursday, December 16, 2010 3:59 PM

Setting a Master Page Dynamically
To set an ASPNET master page dynamically, use the Page_PreInit function and set the Page.MasterPageFile property. For example: protected void Page_PreInit(object sender, EventArgs e) { this.Page.MasterPageFile = "~/MasterPages/" + mymaster + ".Master"; } In the above example, mymaster should be set by whatever your requirements dictate – read from DB/CMS/whatever. The page (aspx) itself shouldn’t have any other reference to the master page (ie, no “MasterPageFile attribute in the page directive), ......

Posted On Tuesday, August 17, 2010 3:04 PM

New service: receive feed alerts in your IM client
I've seen several people (Michael Arrington, Jeff Barr's links, Postbubble) talking about Feed Crier, a new service that lets you receive alerts in your IM client for when your favorite RSS feeds (craigslist, news, blogs) are updated. I'm surprised by this, because this is not some new mind blowing technology. But ok. I think this service is fine and dandy. Do I see someone using it to be alerted to Sam Ruby's latest Atom comments? Nope. No offense, Sam - I wouldn't use this to subscribe to alerts ......

Posted On Monday, August 21, 2006 12:06 PM

Mapping mashups easy?
John Musser at Programmable Web linked to Phil Wainewright's post "Google Maps, the fool's gold of mashups". Phil says that mapping mashups which are built on such easily-defined descriptors (like longitude and latitude) hide the true difficulty of creating real-world mashups. This is one of the great values of RSSBus - being able to take data from a wide variety of sources and expose it as a feed, then being able to "compute" with those feeds to mesh, manipulate or route data. Technorati tags: maps ......

Posted On Friday, July 7, 2006 7:48 AM

Feeds with rich data
DeWitt Clinton of A9 has been talking about RSS vs Atom, and is recommending that developers use Atom. Robert Scoble responded by asking "where's the Atom publishing tool and aggregator that demonstrates Atom's superiority?" Dewitt is calling for these apps: "We should start embedding addresses, calendars, products, and contact information in our syndicated feeds. And we should start expecting our feed reader applications to notice this rich data and automatically open address books and maps and ......

Posted On Wednesday, July 5, 2006 11:28 AM

Google Authentication API
Google Authentication API (for web apps). The user of a web app is taken to a Google-supplied authentication page where they are prompted to allow or deny access to Google services through the web app. If allowed, the user is redirected back to the web app with an authentication token. The web app can then use this token in communication with Google services. For desktop apps ......

Posted On Monday, July 3, 2006 12:30 PM

News feeds vs Data feeds (and Yahoo)
Some feeds have no use, at least for the majority of us, outside of a regular feed reader like Bloglines or FeedDemon. I call these "news feeds" whether they are feeds of world news from CNN.com or Shelley Powers' personal blog postings. Perhaps "news feeds" is not the best name and I should change this habit. Now that I'm an a-lister I should be more precise, maybe. ;) I don't like to just use the word "feeds" to describe them all, because I think feeds that have more granular data in them need ......

Posted On Monday, August 21, 2006 10:29 AM

application/json

http://www.ietf.org/rfc/rfc4627.txt?number=4627

Posted On Thursday, August 17, 2006 8:42 AM

BlockRocker and geotagging
Scoble is pointing to Rod Edwards' BlockRocker. It sounds interesting. Scoble didn't give it much of a detailed description, but it looks like BlockRocker lets you point to a Google map and then helps you geocode Flickr photos, blog posts, delicious bookmarks, and YouTube videos. I would look more, but I keep getting errors in Firefox. I'll check back later with IE7. On the subject of geotagging, with a couple dozen lines of RSSBus script I've created a little web app that will pin-point geocoded ......

Posted On Tuesday, August 15, 2006 2:23 PM

Turbo Delphi, Turbo C++, Turbo C#
Ah, remember Turbo Pascal?  If only there was more (or less?) in a name:  here's news from InfoWorld about the next Borland Developer Studio offerings.

Posted On Friday, August 11, 2006 11:25 AM

Output any feed as JSON
In my last post, I explained how RSSBus can be instructed to output JSON instead of RSS items. This means that RSSBus can be used to output ANY feeds items in JSON, simply by creating a 3 line RSSBus Script that calls the target feed. As an example, here's how I can get the latest digg.com technology topics in JSON: 1. Create a new RSSBus Script that looks like so: <rsb:call op="http://digg.com/rss/con... <rsb:push /> <rsb:call> 2. Hit the url http://localhost:1110/digg.... ......

Posted On Friday, August 11, 2006 10:32 AM

RSSBus JSON output
Drew McLellan says that all web services and API's need to offer JSON output: “if you want people to hack on your APIs, roll out JSON support“. Several people made this same kind of comment in some of the feedback for the first beta of RSSBus. Then, during the first beta, if I wanted to get a feed of MSFT and BORL stock quotes using the yahooStockQuotes operation that comes with RSSBus, I could call: http://server:1110/admin/ca... Now, during the ......

Posted On Friday, August 11, 2006 10:01 AM

WS-* - aka WS-deathstar
I just saw this picture in David Johnson's slides from his Triangle .Net Users Group presentation last night:

(original source is David Heinemeier Hansson).

Posted On Thursday, August 10, 2006 7:39 AM

RSSBus and remote access
There are several things to consider when attempting to access RSSBus: 1. Operations are never directly accessible from outside of localhost. The only way to expose them to the outside is to create a script or template which makes calls to them. 2. Scripts and templates are not accessible from outside of localhost by default. In order to expose them you must use the rsb:allow keyword. For example: <!-- the following allows a particular user. --><rsb:allow host="*" passwd="changeme" user="joe" ......

Posted On Wednesday, August 9, 2006 8:40 AM

RSSBus beta 2 released
RSSBus beta 2 was announced this week. If you are interested in RSS, and leveraging RSS to create your own feeds - you have got to check this out. Download here. Creating feeds is just scratching the surface of what RSSBus can do. IMO, the coolest thing is mixing and pipelining feeds and operations, and then pushing item data out as a new feed or in any other format like HTML, iCal, text, etc. I personally suggest checking out the script and template demos that come installed with RSSBus first - ......

Posted On Wednesday, August 9, 2006 7:17 AM

"Enterprise mashup maker"
Sam Ruby points to this demonstration of "situational mashups" using IBM's DB2 v9. DB2 v9, aka "Viper", supports XPath and XQuery, and even Atom syndication. Interesting to watch, because the demonstration is done in QEDWiki, which the speaker calls an "enterprise mashup maker". This is similar to RSSBus, in that you can easily wire together feeds and data to create customized views of data. I like the modularity of RSSBus, in that there is no end to the potential number of operations available to ......

Posted On Tuesday, July 18, 2006 12:43 PM

Pascal Sauce
Nick Hodges, of Borland, made me laugh today: Little Pigs Geniune Pit BBQ has special Pascal sauce. The new IBiz S3 Integrator and Vital/TSYS Integrator (credit card processing) both have Pascal sauced flavors. In fact all of our products are available in Pascal flavor ......

Posted On Monday, July 17, 2006 9:48 AM

New releases from /n software
/n software has released two new products: IBiz Vital/TSYS Integrator: IBiz Vital/TSYS Integrator (formerly IP*Works! CC Direct) includes Components for direct credit card authorization and transaction processing through Vital/TSYS ( www.tsys.com ), a major Internet Payment Processor. Certified support for Retail, E-Commerce, Direct Marketing and Restaurant transactions. IBiz S3 Integrator: Do your applications need secure, always-on storage accessible from anywhere in the world? IBiz S3 Integrator ......

Posted On Monday, July 17, 2006 8:56 AM

Copyright © Lance Robinson | Powered by: GeeksWithBlogs.net | Join free