Manually updating CollabNet Subversion Server and TortoiseSVN

  • April 27, 2010
  • James Skemp
With CollabNet releasing a new version of Subversion Server (1.6.11), and TortoiseSVN having a release a few days earlier, it's time to do an actual update, instead of a comment like I did last time. Environment I'm currently running CollabNet Subversion Server version 1.6.9.1 on Windows 7 Home Premium, 64-bit. The install directory is C:\Program Filies (x86)\CollabNet\Subversion Server\, and I'm installing version 1.6.9.11. These instructions should work, with minor changes, for other versions of CollabNet Subversion and Windows.

Read More

Dynamically generating a list of videos for OSFLV Player with ASP.NET

  • April 13, 2010
  • James Skemp
I've had this code for a while, but here's some simple code to pull a listing of Flash videos (FLV) from a directory, display them in a drop down, and have a video player dynamically generated based on what's picked. This uses OSFLV Player, version 3 specifically, but can be tweaked for the current (as of this post) version 4.0. Default.aspx <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %> <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.

Read More

Resonance of Fate: General data file

  • April 11, 2010
  • James Skemp
Resonance of Fate, available for the Playstation 3 and Xbox 360 (I purchased for the former), has a vast amount of data associated with it, as RPGs usually do. Because I usually do, I started keeping track of levels and etcetera for the game, which is available as an XML data file. The data is currently raw (and as of this post need to finish adding data that I've got on paper and on another computer), without styling, but I've been sitting on the information for far too long.

Read More

JavaScript object dump

  • March 27, 2010
  • James Skemp
I thought I posted this before, but I guess I did not. Here's one way to dump a JavaScript object for analysis (if you don't have access to Firebug, or a similar tool). Note it only dumps one level of data, and the code below is specifically for dumping an exception (catch ex), but swap ex in the three spots one spot with whatever object you'd like dumped. var objectInfo = "

Read More

Installing WordPress 2.9.2 on Windows Server 2003 using Microsoft's Web Platform Installer

  • March 12, 2010
  • James Skemp
I recently had need to install and test WordPress for some possible work. While I was tempted to go the Linux route, shortly after the OS was setup I decided to skip that and stick with Windows. Since Microsoft has released a platform that supposedly makes it easy to install Web-related applications, I decided to give it a try to determine just how simple it was. What follows is an overview of the setup process to install WordPress 2.

Read More

Connection String encryption (connectionString element) in ASP.NET

  • February 1, 2010
  • James Skemp
From what I've been able to determine, setting up an ODBC connection in Windows and using that for ASP.NET generally seems to be frowned upon. Instead, ASP.NET uses a Web.config file to store a number of settings, including all the connection strings you'll be using (whether you're using Windows authentication or user names and passwords). For example: <?xml version="1.0"?> <configuration> <appSettings/> <connectionStrings> <add name="TestDatabase001Reader" connectionString="Data Source=192.168.56.102,1433;Initial Catalog=TestingDatabase001;User Id=DataReader;Password=DataReader" providerName="System.Data.SqlClient"/> </connectionStrings> <system.web> .

Read More

Determine BlogEngine.NET comments that haven't been published - with LINQPad

  • December 31, 2009
  • James Skemp
At the beginning of the month I wrote a post on how to find BlogEngine.NET comments that had not yet been published/approved. Having purchased a copy of LINQPad a short while ago (autocompletion costs, the program with all other functionality does not; give it a try if you develop in .NET - it's very cool), and having got slammed this morning with some spammer who had an hour to kill, I decided to adapt my code for LINQPad.

Read More

XML Schema Definition creation: Journal - Part 3: XSLT sample

  • December 27, 2009
  • James Skemp
Having created an overview of how I wanted to craft a simple journal in XML, I next created an XML Schema Definition for the simple journal to validate against. Having now crafted a Web application to create the XML files I'm able to move onto the prettier aspects of display for the XML files. I've created a sample simple journal that uses an XSLT (XSL Transforms, or extensible stylesheet language transformations) to make the display a little prettier.

Read More

XML Schema Definition creation: Journal - Part 2: XSD file with <oXygen/> XML Editor

  • December 23, 2009
  • James Skemp
In the first part of this series I had outlined a sample layout that I wanted to use for a series of XML files that I would be creating over the course of 2010. This time I'm going to create the actual XML Schema Definition file with <oXygen/> XML Editor, version 11.1. I've been using <oXygen/> since January 2008, and wouldn't trade it for any other XML editor. If you don't have <oXygen/> you can still follow along.

Read More

XML Schema Definition creation: Journal - Part 1: Primary layout

  • December 21, 2009
  • James Skemp
In a previous series, I went over the process of creating a new XML document to store my video games. (Although in that case I used a DTD.) This time I'm going to work on a schema to store quasi-journal entries, which I'm hoping will help with my goal to write every day. What I hope to accomplish Ultimately I want to store a bit of text for any particular day.

Read More