Archives
-
Creating a User Defined Language in Notepad++
I just posted about adding PowerShell syntax support to Notepad++ by adding a User Defined Language definition. It's pretty simple; here's a quick overview of how I did it. For a more in depth overview of the User Defined Language system, check out the Notepad++ docs. -
PowerShell Language Definitions for Notepad++
I saw a request on the Notepad++ forums today to add PowerShell syntax support. Notepad++ has a pretty good extension system for adding user defined languages, so I went ahead and put on together. You can grab it from the Notepad++ download area (zip download). Installation information is in the included readme file - you extract the zip, rename a file, and drop it in your %APPDATA%\Notepad++\ directory.1
-
Speaking: 11/28 - San Diego .NET User Group
I'll be speaking at the San Diego .NET User Group on 11/28:
-
Make Zune a winner... as a platform
It's no secret - the Zune could be better than the iPod and still languish as an also ran for years. iPod has a huge marketshare, a solid brand, and a following whose passion would be the envy of most terrorist organizations. The "second mover advantage" sweet spot time has come and gone. iPod is firmly established, and "feature parity and a bag of chips" won't win any marketshare. The Zune WiFi feature is a good example - it's a cool feature, but it's been written off as to heavily locked down by DRM restrictions; the iPod doesn't have any WiFi and the Fairplay system is pretty restrictive. My point is that features alone won't beat brand loyalty.
-
Top 10 DOS Batch tips (Yes, DOS Batch...)
-
Data Dictionary Creator 1.2 is out on CodePlex
We just released Data Dictionary Creator version 1.2 to CodePlex. Version 1.2 adds a lot of great features:
-
Mono 1.2 Released
Novell released Mono 1.2 at TechEd today. The main feature of 1.2 is support for System.Windows.Forms. The roadmap and previous releases indicate that 1.2 has a lot of other cool features, but it's hard to tell exactly what they are since the release notes apparently aren't available yet. UPDATE: The release notes are now available.
I even dug through the repository, but couldn't find any release notes. I'm sure it's just a matter of time. Until then, the release announcement on the Mono site says: -
Code Puzzle #1 - Solution
If you haven't read the puzzle, you can read more about it on my previous post.
-
Code Puzzle #1 - What numbers under one million are divisible by their reverse?
The other day I got stuck waiting in a slow line at the store all hopped up on espresso and breakbeat, so I started trying to think of numbers which are evenly divisible by their reverse. Example: If 721 were divisble by 127, I'd have a match. Yes, I'm aware this is not normal behavior.
-
Animated GIF Plugin for Cropper + some .NET Animated GIF code
Cropper is a great free screen capture program. It has a cool plugin system which lets you send the screenshots anywhere you can write code to send it. I wrote a plugin to save a portion of the screen to an Animated GIF.
-
Handling "GO" Separators in SQL Scripts - the easy way
If you've ever had to execute one or more SQL scripts from ADO.NET, you've likely run into the GO batch terminator issue. Any SQL script that does anything worthwhile has more than one batch, separated by a GO terminator. The problem is that "GO" isn't valid T-SQL, it's just a command used by the SQLCMD, OSQL and ISQL utilities that can also be used within Query Analyzer and the Query Editor window. If you try to execute T-SQL scripts with GO commands in them via ADO.NET SqlCommand.ExecuteNonQuery, you'll get an error that says something like:
-
SQL Puzzle #1 - Answer
Here's my solution to the puzzle in my previous post. If you haven't seen the challenge, go back and read that first.
-
SQL Puzzle #1
I had to write a semi-interesting SQL query this past week and thought it might make for a fun SQL puzzle (for very small values of "fun").