Category: News

Visual Studio TFS: How to undelete file(s)

What if you need to undelete a file or bunch of files that at some point have been deleted from TFS? Naive option would be to get the content of the file, copy it, create a new file, and paste the copied content to just created file. Of course, this is not a good option because history of changes to the file(s) will be lost.


Go to Source Control window and locate the file(s) that need restoring. If you can’t see deleted items, go to Tools > Options > Source Control > Visual Studio Team Foundation Server and check ‘Show deleted items in the Source Control Explorer’ (see the screenshot below). This way, in Source Control explorer you should be able to locate both existing and deleted items.

vs tfs settings 350×203 Visual Studio TFS: How to undelete porno file(s)

Now, in Source Control window, right click the item(s) you want to restore and select Undelete. The file(s) will be marked with undelete chage in Pending Changes window. All you need to do now is to check in the change. Complete history of changes to the restored files will be saved.

P.S. This is hint given by my friend and freevideo (thanks Tomek icon smile Visual Studio TFS: How to undelete file(s) ).

CrypTool – understanding cryptography with examples

One of the sessions I liked most on Microsoft Technology Summit 2011 was one delivered by Krzysztof Bińkowski – it was about certificates and PKI in context of Windows Server 2008. I’m not going to describe the session here, but wanted to share the tool that might help better understand the world of cryptography.

To better explain theory provided on his slides, Krzysztof used CrypTool. Let me cite the authors of this tool to give you a basic idea on what CrypTool is:

CrypTool is a free, open-source e-learning application, used worldwide in the implementation and analysis of cryptographic algorithms. It supports both contemporary teaching methods at schools and universities as well as awareness training for employees and civil servants.

I think this is a great tool that can be used to systematize knowledge related to cryptography, e.g. hash functions, digital signature, PKI. You can play around with CrypTool and see on the fly how different methodologies / algorithms work and what they require. What I liked most were the flow diagrams that visualize how some techniques (e.g. digital signare generation, hybrid cryptography) work step by step and see the intermittent results (see below).

sig gen 350×339 CrypTool understanding cryptography with examples

P.S. I used CrypTool 1.4.30 but there’s also CrypTool 2.0 (still beta) available at the official web site.

Request to JetBrains Santa

Dear Santa,

It’s getting closer and closer. Christmas is comming!

I’m proud to say I was kind all 2012, both at home and at work. I’m even happier because, when working with code, I had to use IDEs other than Idea, which according to my colleagues is awesome… I made it nevertheless! Knowing the power of TeamCity and Resharper, I can only guess that my friends know what they are recommending 🙂 That makes me believe it would be perfect gift under my Christmas tree!

So, Santa, I hope you are reading this letter and agree it would be great to provide me with the license. I promise, I’d be even better next year!

Jarosław Dobrzański