Keithratliff - keithratliff.com - Draco Rat
General Information:
Latest News:
XML Formatting 13 Jun 2013 | 12:18 am
Lately, I've been using XMLSpectrum-FX for my xml formatting needs. It works well, but all the default coloring options suck, especially when you're emailing the XML output to someone else. So, I rep...
Format a number as US Currency in Javascript! 15 Sep 2012 | 03:16 am
No JQuery needed! Just use the following function. Written by me and I give you full permission to do whatever you want with it.
JQuery Ajax to Web Service 31 Aug 2012 | 10:43 pm
JQuery has the ability to send ajax requests, but it's written primarily to be used with RESTful services. You can also use it to send XML requests to Web services, but it took a bit to figure out. ...
PowerShell autostarting scripts 22 May 2012 | 06:47 am
PowerShell can be set to run scripts at startup. Unfortunately, there are two scripts if you're using ISE, so here's how to save heartache... To do so, you have to set the local execution policy to a...
Simple C# Web Server, Code Example 20 Mar 2012 | 09:13 am
This uses a WinForm with a textbox called Output. (For status tracking):
Downloading Data Revisited 14 Jan 2012 | 11:36 am
Now, using the National Weather Service... Remember this is a PowerShell script and you will need to change the city data to your local cities...
Numeric UpDown on Asp.Net 10 Jan 2012 | 07:52 am
Here's how to implement a snazzy Numeric UpDown while using Asp.net. I didn't like the html that the Ajax component added, so I just decided to scrap it and write my own. My labor is your fruit, sta....
Regular Expressions to Filter BAD WORDS! 13 Aug 2011 | 11:12 am
Left to my own devices, I would never have done this, but where I work, they needed a way to filter bad words out of requests. So, as part of doing this, I sat down and looked up bad word lists online...
Using PowerShell to Download a SOAP Document 12 Aug 2011 | 10:50 am
It's hard to find code online that can do this, so after hours of poking around, I finally managed to get it done on my own. So, for the Web-i-verse, here is code that will download weather data throu...
How To Rotate A DataTable In C# 5 Aug 2011 | 05:44 am
I'm using a DataTable and I find that I need the columns and rows flipped - or "rotated" and there's no good example of it online nor any native method to do so. Thus, I had to create mine own. Here ...