Bite my bytes

What I learn by day I blog at night - A blog from Microsoft Consultant working from Ljubljana, Slovenia

  Home :: Contact :: Syndication  
  999 Posts :: 7691 Comments :: 235 Trackbacks

Search

Most popular posts
in last 360 days

Categories

My Projects

Archives

Stuff


Copyright © by David Vidmar
 
Contact me!
 
LinkedIn Profile
 
 
 

Sunday, September 02, 2012 #

I believe in two kinds of PC software: portable - so I just drop .exe in my tools folder and use it and software that automatically updates – Google Chrome is champion here.

Unfortunately TortoiseSVN is neither. It will tell me that is out of date, but then I have to jump through several loops (going to browser, searching for download site, downloading file,…) before it’s up to date.

Using a new cmdlet Invoke-WebRequest of PowerShell 3.0 that downloads and parses a HTML writing a script that downloads latest TortoiseSVN .msi is a breeze…

First, let’s get the page (I use VisualSVN not SourceForge, since it’s easier to parse).

$html = Invoke-WebRequest http://www.visualsvn.com/visualsvn/download/tortoisesvn/

Let’s find the link that points to 64-bit TortoiseSVN MSI, shall we? Easy in PS3! (mind .Links, where and select!)

$downloadUrl = $html.Links | where href -like "*tortoisesvn*-x64-*.msi" | select href

Now just download file to current folder and we are done.

 

Here is complete script:

function DownloadFile($downloadUrl)
{
    $filename = $downloadUrl.Substring($downloadUrl.LastIndexOf('/') + 1)
    $localFilename = (Resolve-Path ".").Path + '\' + $filename
    $webResponse = Invoke-WebRequest $downloadUrl
    [System.IO.File]::WriteAllBytes($localFilename, $webResponse.Content)       
}

$html = Invoke-WebRequest "http://www.visualsvn.com/visualsvn/download/tortoisesvn/"
$downloadUrl = $html.Links | where href -like "*tortoisesvn*-x64-*.msi" | select href

$downloadUrl = 'http://www.visualsvn.com' + $downloadUrl.href

"Downloading $downloadUrl ..."

DownloadFile($downloadUrl)

Sunday, September 02, 2012 11:55 PM, 1 comment(s)

Wednesday, November 09, 2011 #

Links are finally back! The reason for absence is not my new job, but rather unfortunate changes in two APIs I use for creating this posts.

I used “shared” items in Google Reader for software updates and Google just turned those off in favor of Google+. So for now, the software updates section is gone. I tried couple of things but nothing works as fast as my previous solution. Sorry for that, blame big G.

For links I use great service Delicious, which is also going through some changes and its API is broken. A URL that should return just posts from specified date onward started returning all posts overnight. I had to do some change in the code of my Windows Live Writer plugin in order to get right stuff into posts. Luckily I’m using Linq to XML for parsing and one line was all I needed.

 

Software Development

  • Interactive Vim tutorial
  • Learn Web Design, Web Development, and iOS Development
  • ModelText HTML Edit Control for .NET - Managed HTML edit control for Windows Forms.

    Microsoft Forefront Identity Manager

  • Tools For FIM - FIMalyzer and RCDC Editor
  • How to: Create a Custom Logging Activity and Deploy it to the FIM Portal

    Microsoft Biztalk Server

  • Microsoft BizTalk Server seen by the programmer - What is BizTalk? Great article.
  • BizTalk 360 - Monitoring tool for BizTalk.
  • Cutting Cost with BizTalk Server - Check page 5 for BizTalk adoption data. Fascinating.
  • Summary of 64-bit support, operating systems and SQL Server versions supported by BizTalk Server

    Microsoft Dynamics CRM

  • CRM 2011 Client Diagnostics Tool for On Premise « MSCRM Bing'd
  • CRM 2011 Visual Ribbon Editor - Tool for Microsoft Dynamics CRM 2011 that lets you edit CRM ribbons.
  • Deploying Microsoft Dynamics CRM 2011 and CRM Online Solutions from Development through Test and Production Environments - This white paper explores deploying real-world Microsoft Dynamics CRM solutions across test and production environments in reliable and repeatable ways by using automation, together with some automation examples.
  • Free Utilities - Mitch Milam's free CRM tools and other bits
  • Solution Import for Microsoft Dynamics CRM 2011 - New tool from Tanguy!

    Windows Phone 7

  • Screen Capturer v3 - Use Camera key to get screenshot.
  • What's new in Windows Phone 7.5

    Books

  • goodreads - Share Book Recommendations With Your Friends, Join Book Clubs, Answer Trivia

    Kids

  • Ian Knot = Ian's Fast Shoelace Knot - If you teach your kid to tie a lace, teach him this. I will.

    Slovenia

  • Balirka - Easy invocing for Slovenian companies. Great!

    Software

  • MarkdownPad - The Markdown editor for Windows
  • Wednesday, November 09, 2011 10:20 PM, 11 comment(s)

    Thursday, November 03, 2011 #

    It’s been quiet around here and for a good reason. As I hinted before there has been many changes in my life recently. In same week I became father for second time (father of three boys now, twins and a new baby!), finally finished my engineer’s degree and finally, I joined the ranks of best company in the world to work forMicrosoft.

    I’ll be working as I consultant for Biztalk Server and Forefront Identity Manager and from time to time a Dynamics CRM consultant.

    So, what can you expect? Occasional dry stints, lots of BTS and FIM links, Windows Phone 7, Azure and Windows 8 and other cool Microsoft stuff.

    If you are fellow Microsoftie, please look me up and drop me a note – let’s connect!

    Thursday, November 03, 2011 9:00 PM, 12 comment(s)

    Sunday, September 25, 2011 #

    Development

    Biztalk Server

    Book

    Kids

    Dynamics CRM

    Windows Phone 7

    Software Updates

    Sunday, September 25, 2011 9:20 PM, 3 comment(s)

    Sunday, September 11, 2011 #

    Development

    Microsoft BizTalk Server

    Software

    Sounds

    Web

    • Compilr - Online C#, C++, Java, PHP, ... compiler. Wicked.

    Software Updates

    Sunday, September 11, 2011 10:56 PM, 2 comment(s)

    Sunday, September 04, 2011 #

    Development

    • Ookii.Dialogs - Class library for .Net applications providing several common dialogs. Included are classes for task dialogs, credential dialogs, progress dialogs, input dialogs, and common file dialogs.

    Microsoft Biztalk Server

    Fun

    • Learn to code | Codecademy - Codecademy is the easiest way to learn how to code. It's interactive, fun, and you can do it with your friends.

    Tools

    • PdfMasher - Tool to convert PDF articles (newspaper, academic) to MOBI or EPUB documents.

    Software Updates

    Sunday, September 04, 2011 11:55 PM, 5 comment(s)

    Sunday, August 21, 2011 #

    Development

    Microsoft Dynamics CRM 2011

    Software Updates

    Sunday, August 21, 2011 11:43 PM, 1 comment(s)

    Monday, August 15, 2011 #

    Development

    Design

    Microsoft Dynamics CRM

    Software Updates

    Monday, August 15, 2011 10:40 PM, 1 comment(s)

    Friday, August 12, 2011 #

    … lately and so far, anyway. But things are about to change a bit in a few weeks.

    image

    (via: wordle.net)

    Friday, August 12, 2011 3:22 PM, 4 comment(s)

    Monday, August 01, 2011 #

    Development

    • Aloha (Green text) - My new Visual Studio style.
    • Favorite Documents - The free Favorite Documents extension lets you create links to frequently used code files and then quickly open them as a group or individually from the Favorites menu in Visual Studio 2010.
    • NLog - Advanced .NET Logging - NLog 2.0 has been released!

    Biztalk Server

    Dynamics CRM

    SQL Server

    Photography

    Software Updates

    Monday, August 01, 2011 11:23 PM, 6 comment(s)

    Sunday, July 17, 2011 #

    Development

    Baby

    Windows Home Server

    Microsoft Dynamics CRM

    Software Updates

    Sunday, July 17, 2011 11:30 PM, 1 comment(s)

    Sunday, July 03, 2011 #

    The Microsoft Dynamics CRM is asleep when it comes to Dynamics CRM 4.0. While the majority of work is being done on 2011 version rollup updates 17 & 18 have been released. Thumbs up!

    I have updated the Microsoft Dynamics CRM 4.0 build numbers table accordingly.

    Sunday, July 03, 2011 10:53 PM, 2 comment(s)

    Development

    Microsoft Dynamics CRM

    Security

    Tools

    Software Updates

    Sunday, July 03, 2011 10:46 PM, 1 comment(s)

    Monday, June 27, 2011 #

    Few days ago Microsoft Dynamics CRM Product Management team released a set of demo data for Dynamics CRM 2011 Online.

    This it contains more sample data than default on-premise data so I wondered if it can be imported to on-premise version. the answer - with just a bit of tweaking it can!

    Here are the steps:

    • Download sample data and demo scripts
    • Unzip Admin-1.zip and open Users.xml in Excel
    • Create all users from Users.xml in your domain
    • Change the domain in “User Name” column in Users.xml file to match your domain name
    • Create new organization
    • Create USD currency if this isn’t your default currency
    • Import Admin-1.zip and ignore error about Users.xml
    • Import fixed Users.xml file
    • Follow instructions on blog post for the rest of the files…

    Don’t forget to go through the demo scripts and explore the data.

    Monday, June 27, 2011 2:02 PM, 6 comment(s)

    Sunday, June 26, 2011 #

    Development

    Microsoft Dynamics CRM

    Software

    Software Updates

    Sunday, June 26, 2011 10:51 PM, 0 comment(s)