Tuesday, November 27, 2007
Sunday, September 30, 2007
Here's a quick way to find files on your windows machine using the command line, instead of the built in search functionality.
- Drop to a command line.
- CD your way to the folder you want to search.
- Type "dir /S *your file name here*
- Hit enter.
So if you wanted to find that hot track on your mp3 drive but don't know where it's located, you could do something like this : "dir /S *humps*.mp3"
Sunday, August 19, 2007
If you didn't already know, I'm a committed windows user. This year I had the challenge of using a MacBook Pro as my work machine. While figuring out how to work on the shiny toy, I found a few apps
that are worth using. If you're an apple genius, or end up having to use OSX, I highly recommend getting these apps.
Adium X - OSX Multi server chat client - www.adiumx.com
AppZapper - OSX Uninstaller - www.appzapper.com
BBEdit - OSX Text editor and more - www.barebones.com
Dreamweaver CS3 - www.adobe.com/products/dreamweaver/
Flash CS3 - *Don't even bother with flash 8 on OSX - www.adobe.com/products/flash/
Photoshop CS3 - www.adobe.com/products/photoshop/
Guiffy - OSX Diff Tool - www.guiffy.com
MacParDeluxe - OSX Binary group util - www.xs4all.nl/~gp/MacPAR_deLuxe/
Parallels - OSX Virtual PC - www.parallels.com
Quinn - OSX Tetris clone - simonhaertel.de/quinn
SmartSVN - OSX SVN GUI Client - www.syntevo.com/smartsvn/
Soap Client - OSX SOAP Development tool - http://scan.dalo.us/
Speed Download - OSX Download Manager - www.yazsoft.com
Split And Concat - OSX Binary group utility - www.xs4all.nl/~loekjehe/Split&Concat/
Synergy - OSX iTunes controller - wincent.com/a/products/synergy-classic/
Toast Titanium - OSX DVD / CD Burning App - www.roxio.com
Transmission - OSX BitTorrent client - http://transmission.m0k.org/
Transmit - OSX FTP Client - www.panic.com/transmit/
VLC Player - Great OSX video player - www.videolan.org/vlc/
What Size - OSX Disk utility - www.id-design.com/software/whatsize/
Witch - OSX Alt Tab utility - www.manytricks.com/witch/
Wednesday, July 25, 2007
Monday, February 19, 2007
Wednesday, January 24, 2007
Blast from the past. That's me with the blonde do and spectacles. Chad is rockin out in the foreground, and James is keeping it down on the kit in the back.
While I've been in numerous bands in the past, I really don't have anything to show for it besides memories. I found this pic from a Pump It Hottie contributor 'Hornbuckle' over on Flickr.
Monday, January 15, 2007
Tuesday, January 09, 2007
Here is their description :
"Liveplasma is a new way to broaden your cultural horizons according to your taste in music and movies. Look for your favorite bands, movies or directors to obtain a map that details other potential interests"
Anyways, it's super bad ass.
Monday, December 11, 2006
Monday, October 09, 2006
Tuesday, October 03, 2006
Monday, September 25, 2006
After two hours of driving around metro DC, I pulled over and installed Google Maps on my phone. If you're phone supports Google Maps, I highly recommend installing it. Even if you don't ever use it, you never know when it will save you.
Go get it http://www.google.com/mobile/
Hopefully I'll remember how to get to my apartment next week.
Wednesday, August 02, 2006
While working with flash and asp.net web services I learned that you can send a custom class object to an ASMX. That service can then take your object and have it's way with it. This is pretty killer because you can share custom classes between .net and as, assuming the class definitions match, and the datatypes don't get too complex.
If you have to work with webservices from flash, checkout the WebService class. It's sweet. So much so that I don't understand why I even need Flash Remoting. I mean, I can send and receive my custom class on the flash side as well as the .net side.
Currently I only see the following limitations with this magic flash to soap communicado.
- No test form on the .asmx page. For a typical asmx file, the .net server can generate a simple test form that you can use to test your webservice. It's great, except for a service that expects your custom class as input
- Simple data types. I haven't tested the waters of what datatypes you can use in your custom object, but I'm guessing you can't venture outside of the basic strings and numbers.
end of line
Friday, July 21, 2006
Friday, July 07, 2006
Thursday, June 22, 2006
--declare holder var
DECLARE @list VARCHAR(8000)
--build comma separated list
SELECT @list = COALESCE(@list + ', ', '') + CAST(track_id AS VARCHAR(5) )
SELECT @list AS 'list'
The results should look something like this
Tuesday, June 06, 2006
Thursday, May 18, 2006
Wednesday, May 03, 2006
C:\Program Files\Microsoft Visual Studio .NET 2003\VC#\VC#Wizards\CSharpAddWebFormWiz\Templates\1033\WebForm1.aspx
Now I don't have to keep removing all those extra tags that Visual Studio likes to add. MS_POSITIONING?!?! Am I the only programmer who knows HTML and CSS?
Of course, you could just read this article and build your own custom form wizard.
public string RenderToString(Control ctrl)
StringWriter stringWriter = new StringWriter();
HtmlTextWriter htmlWriter = new HtmlTextWriter(stringWriter);
StringBuilder stringBuilder = stringWriter.GetStringBuilder();
This came in handy when I was working on a mass mailer app. Instead of hard coding my email message into my codebehind, I just made an ASCX control for each message, then loaded the correct message in my code, ran it through this routine, and sent it out.
By putting the message into an ASCX file, it makes formatting HTML much easier than putting it in C# code. If you've ever programmed any sort of emailer that sends an HTML message, you know what a pain this can be.
I would like to think there is an easier way to do an include file via code, populate the message with some variables, then send it out, but I haven't found it yet. If you know of an easier way, I want to hear about it.
Monday, April 17, 2006
On the bright side, we were definintely the only ones who can skate vert.
Drop me a line if you want to skateboard. Mike and I are always looking to expand our posse.
Wednesday, February 22, 2006
<%# Container.ItemIndex+1 %>
And if you want to get the number of records in your DataBound control, do this
<%# YourControlId.Items.Count %>
Where YourControlId is the id of your DataBound control, such as an ASP:Repeater