Contents tagged with .NET code
-
CropperPlugins on CodePlex
Cropper is my favorite screenshot application because it supports plugins. I've published a few over the years - Capture to AVI and Capture to Animated GIF. My favorite plugin is one that I didn't write - Patrick Altman's Send To Flickr plugin. Now that we've got a Cropper build that works in Vista, I set up a CodePlex project for my plugins and am releasing a few more. It looks like Patrick's gonna join me, and Brian is planning to release his Cropper Plugin documentation there as well.
-
[Code] Show a file in Explorer
I've noticed that some of my favorite programs have options to open the currently selected file in Explorer. I don't just mean that they open the right folder, but that they preselect the right file for you.
-
Getting Cropper to work in Vista
UPDATE: A new version of Cropper with these changes has been released. Grab it here: http://blogs.geekdojo.net/brian/articles/Cropper.aspx
-
Identicons - Ported from Java Servlet to HttpHandler
Identicons provide a nice visual indicator that's unique to each user on a website. It's unique since it's based on the user's IP, but it's not possible to recover the IP by looking at an Identicon so each user's privacy is protected.
-
Code Puzzle #2 - Generate random fake surnames - Recap
Code Puzzle #2 posed the following task: Write a simple function which generates fake but passable surnames (read more here). As I'd hoped, I got several great submissions with a range of interesting approaches. I'd like to say that we're all winners, but the rules were clear: "This is a fixed contest; my solution will win first place."
-
Code Puzzle #2 - Generate random fake surnames
I'm talking to you, Mr. Thymmet! Step forward and be counted, Ms. Betusen! It's time for another Code Puzzle! My solution will be posted on Friday, 1/12. Get to work!
-
A simple example of a fluent interface
Roiy recently released a really nice c# image enhancement filters library on CodeProject. It includes a nice collection of easy to use image transformation filters - ResizeFilter, RotateFilter, ImageWatermarkFilter, etc. They follow a simple pattern:
-
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
-
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.