Single instance .NET executables
It's not a common problem, which probably explains why there isn't much information out there on the topic, but how do you make it so that your executable can only have a single running instance? That is, if you user tries to launch the same programme twice, the second instance silently closes down.
Built-in .NET Utility Classes for encoding/decoding strings
Every now and again, you'll will come across a string that has been encoded (or possibly you need to encode a string) and you'll wonder whether there is a class in .NET that can help. The answer is probably yes, but they are tucked away and difficult to find. In this article I'll show you how to easily encode/decode your strings for the three most common forms of encoding.
An adaptation of seed-fu, to make seeds.rb a bit nicer
The db:seed rake task in Rails is a nice addition and we use it a lot. The trouble is, you end up writing a lot of redundant code to check if records exist and stuff like that. Not very DRY, not very Rails.
Seed-Fu is a nice plugin that works very well, but it replaces the new db:seed rake task, and this solution is far more light-weight. You add another file to your db folder, seeds-helper.rb, and just require it at the top of seeds.rb.
A few minor updates.
We have just pushed a small update to the production servers. the fixes include:
- Internet Explorer 6,7 and 8 rendering issues on the Dashboard
- Internet Explorer 6,7 and 8 Gantt Chart didn't always show
- Create Milestone button on the Planning Tab didn't work
As always your feedback is greatly appreciated!
Cheers,
Floyd
New Payment Option - PayPal
Hi Guys,
This is a quick post to let you know that we have introduced a new payment option, PayPal!
You go through the same process as normal but select the PayPal option on the payment page, everything else is the same.
Cheers
Floyd Price
Code Spaces
A Visual Guide to Version Control
If your new to the concept of Version Control check out this great article over at betterexplained.com
For all your graphic designers our there, this on is for you.
SVN Status Codes
If like me you do a lot of your SVN work in the command line you will be familiar with the SVN status codes, you know when you do an svn status you see a list of files, some have been modified (M), some have been added (A), and other are well in a state of limbo (!).
This is a quick explanation of most of the codes and what it means to your the user if you see them
For those of you who use a nice GUI to manage your working copies, Look Away Now
Updates this Sunday (15th Nov 2009)
We will be performing some updates to the Subversion Cluster on Sunday the 15th Nov 2009, the updates will cause a 30 minute outage from 10:00 (GMT) to 10:30 (GMT).
The update includes a Subversion Update which will bring all the SVN servers up to version 1.6.6
This change will not effect your working copies in any way, you will not need to update anything (unless you want to).
Please Contact Us if you have any queries about this?
Cheers,
Floyd Price
Code Spaces
Add Work Items by Email
As well as the super extensive API we offer you can also enable Work Item creation by email.
Getting Started
In the project setting tab you will see a check box labeled "Email In Work Items" once checked your project email address will become active.
Usage
Using the email address displayed in the project settings tab you can email work items directly in to your project, this is a great way to give your users mechanism to send in bugs.
You can also get notification messages when this happened if you have check the the appropriate options in your user profile
As always we are really keen to here your thoughts about this, so please Contact Us
Code Spaces API
We have had an API in Code Spaces for about a year now, but until now have neglected to tell a single soul... about 100 of you have spotted it and asked for details so finally here is a fancy guide.
We will be creating sample code for Ruby, C# and Java developers (and any other language you guys ask for) in the coming days.
Getting Started
In the Code Spaces admin section select the project you want to work with and select the API Settings tab.
You will notice a brief list of available functions and a check box to enable the API for this project.
Check the Enable API box and the functions you wish to use.
Now you have enabled the API you will need to use the API Key.
The Api is a simple RESTful service and uses the following URL conventions:
https://[your_account].codespaces.com/api/[resource].xml
When you hit this URL you will be prompted for a username and password, the username is your API key and the password is blank.
Resources
List Work Items - Retrieve a list of work items.
URL (GET) :
https://[your_account].codespaces.com/api/work_items
Edit Work Items - Update existing work items.
URL (PUT) :
https://[your_account].codespaces.com/api/work_items/wi_id/
Create Work Items - Create a new work items.
URL (PUT) : https://[your_account].codespaces.com/api/work_items/
Project Details - Retrieve information about the current project.
URL (PUT) : https://[your_account].codespaces.com/api/work_items/
List Project Components - Retrieve a list of Project Components.
URL (GET) : https://[your_account].codespaces.com/api/project
List Project Milestones - Retrieve a list of Project Milestones.
URL (GET) : https://[your_account].codespaces.com/api/project_milestones
List Project Users - Retrieve a list of Project Users.
URL (GET) : https://[your_account].codespaces.com/api/users
List Work Item Priorities - Retrieve a list of Work Item Priorities
URL (GET) : https://[your_account].codespaces.com/api/work_item_priorities
List Work Item Statuses - Retrieve a list of Work Item Statuses
URL (GET) : https://[your_account].codespaces.com/api/work_item_statuses
List Work Item Types - Retrieve a list of Work Item Types
URL (GET) : https://[your_account].codespaces.com/api/work_item_types
CodeSpaces.com
Code Spaces is an online development and collaboration service that includes: Subversion Hosting, Project Management, Work Items, Forums, and much more.
Links
Categories
Tags
Archives
- March 2010
- February 2010
- January 2010
- December 2009
- November 2009
- October 2009
- September 2009
- August 2009
- July 2009
- June 2009