Sytone's Ramblings

The occasional posts of a guy who plays with technology.

From Web Archive: Mirroring SVN repository to GitHub

2012-07-13 6 min read Development
The site seems to be down. This was handy for something I was playing with. References: http://web.archive.org/web/20100331135806/http://www.fnokd.com/2008/08/20/mirroring-svn-repository-to-github/ So, I’m gearing up to work on some Java+Ruby (via JRuby) stuff. The Java world still seems fairly entrenched in the cult of Subversion, while the Rubyists have gone with Git lately. I’m still wrapping my mind around Git, but with GitHub, it’s fairly easy and straight-forward. I paid my $7 for the micro account, to give me room to screw around. Continue reading

WPF Converter: CaseConverter

2010-08-29 1 min read Development
Case Converter was made when I wanted the text to display in a WPF UI in upper case. Probably not the best class name, but anyway. To get the code and install read on. Make any UI string uppercase. Once you have registered the resource and created the class just use the converter in the element you want converted. <TextBlock Text="{Binding Title, Converter={StaticResource CaseConverter}}"/> Add the following element to the XAML, usually in Window. Continue reading

Why Procmon is a great tool!

2010-04-27 1 min read Development
Procmon is created by sysinternals and should be deployed to any server in your enterprise (and desktop) it allows you to see what file, registry, network and processed & thread activity is happening on your system. I just used to to work out why VS 2010 was not installing, it turns out it iterates through all the drives on your system including your mapped drives. As I had just been playing with WebDav I had a mapped WebDav drive which was very slow to access. Continue reading

Getting a Outlook MailItem from a Ribbon Event

2010-02-28 1 min read Development
You may find this code block handy: [csharp] /// /// Gets the mail item selected in the explorer view if one is selected or instance if that is the view active. /// /// The instance containing the event data. /// A Outlook.MailItem for the mail being viewed. private Outlook.MailItem GetMailItem(RibbonControlEventArgs e) { // Check to see if a item is select in explorer or we are in inspector. if (e.Control.Context is Outlook. Continue reading

Great example of tracing a leak in SharePoint.

2010-02-11 1 min read Development
Just read this article, it is a great example of how the memory dumps can be used to trace issues and also points out a workaround to solve this problem prior to a patch being released. http://www.todd-carter.com/post/2010/02/08/SharePointe28099s-Sasquatch-Memory-Leak.aspx

Visual Command Prompt Here

2009-11-13 1 min read Development
If you want to have the Visual Studio command prompt on the right-click on the folder place the below into a text file with a .reg extension and then add it to the registry. Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\Folder\shell\cmdhere] @=“Cmd&Here” [HKEY_CLASSES_ROOT\Folder\shell\cmdhere\command] @=“c:\\WINNT\\system32\\cmd.exe /k \”\“C:\\Program Files\\Microsoft Visual Studio 9.0\\VC\\vcvarsall.bat\”\" x86"

Writing in ASP.Net and C#

2005-07-22 1 min read Development
“Of late I have been doing more and more in c# and ASP.Net. I am helping a friend out with the creation of a new site and a project at work I am on requires a timeline of actions to be rendered. I cannot find any components in the wild to do this so it looks like I will be writing one myself. Update: I have found a base Control that I can work with! Continue reading
Newer posts