utilities

What to include in a Utility Library

With more and more projects under my belt I find that I am often repeating many common tasks from project to project, client to client. So I have started to assemble a "utility" library, a collection of these common elements that are often repeated from project to project. So far I have utilities to resize images, export data grids to ...

Is there any extendable editor out there with vi-like modes?

I'm looking for a perfect text editor :) The "must have" list: vim-like modal editing, keybindings similar to vim emacs like extendibility - same "real" language for plugins and the editor itself, so that the extension can affect almost anything in the editor and outside... vim script is not enough, python plugin is not enough either ...

PHP based form validation helpers?

From my time working with Ruby On rails, there is a couple different packaged/projects out there to manage both validation and error reporting in an extensible way. Self-studying Python Pylons I just got introduced to HTMLFill which so far seems like an elegant solution to a common task of form validation. I know both examples are feat...

Command line tool to delete folder with a specified name recursively in Windows?

I want to delete every "_svn" in every folder and subfolder... For example c:\ proyect1 _svn images _svn banner _svn buttons _svn Then I run something like rm-recurse c:\proyect1 _svn And I should get: c:\ proyect1 images banner buttons The ideal thing would be a tiny stan...

"Unlocker" equivalent for Vista64?

Cedrick Collomb's Unlocker is one of the most useful utilities I've ever come across - when I come across an issue in compiling that some file is locked I can just right click on the file, click "Unlocker", and it will tell me what has the file (similar to Who Lock Me?) and I can remove the handles, kill the process, whatever. It's reall...

Which freeware apps / utilities do you use to boost your productivity?

Which freeware / open source apps and utilities make your development life a little more enjoyable? Please provide URLs for anything you recommend. Here's a brief list of some of my favorites: Notepad++ is my text editor of choice, it has to be installed on any PC I work on. Ditto is a lightweight and highly-configurable clipboard ma...

Tool to Migrate from SVN to TFS

Hi can any one suggest tool for migrating from SVN to TFS preferred Open Source ...

WPF Snoop not working on Windows XP?

Hello, Has anyone else noticed that the WPF developer's best friend, Snoop, is not working on XP? I've tried Snooping Expression Blend (a WPF app) and other WPF apps too. Snoop finds them but doesn't launch the window when the binoculars button is pressed. EDIT: I'm running obviously XP SP2 (with WPF support). -pom- ...

Command line diff utility

Hello, can some one recommend a good (hopefully free) command line diff utility. I would basically need to kick it off from .Net to produce some sort of a text file with the differences between two xml files. Thanks! ...

line-end agnostic diff?

I'm working on a mac, with some fairly old files. Different files were created by different programs, so some of them end with \r (mac) and some with \n (unix). I want to be able to run commands like diff, grep, etc on these files, but the ones that have \r are treated as one giant line. does anyone know of a version of diff, grep, etc...

Trim an MP3 Programatically

What is the best way to trim a mp3 file programatically. For example, say I want to get rid of the first 2 minutes or last 2 minutes or both. Is there a good way to do this from .NET? Or .NET calling out to a command line tool? Thanks. ...

Repeat a unix command every x seconds forever.

There's a builtin unix command repeat whose first argument is the number of times to repeat a command, where the command (with any arguments) is specified by the remaining arguments to repeat. For example, % repeat 100 echo "I will not automate this punishment." will echo the given string 100 times and then stop. I'd like a similar ...

How to let humans and programs access the same file without stepping on each others' toes.

Suppose I have a file, urls.txt, that contains a list of URLs I'm monitoring. My monitoring script edits that file occasionally, say, to indicate whether each URL is reachable. I'd like to also manually edit that file, to add to or change the list of URLs. How can I allow that such that I don't have to think about it when manually edi...

MultiLine Regular Expression and outputting to a file in windows

I have an log file that I need to extract specific patterns from. I need to find and then process them into a new file. grep on Linux would usually do the trick but the regular expression spans multiple lines, which I understand grep does not do. here is an example from my log/debug file: Da: 1.328 0.5045 Db: 0.6415 0.1192 La...

A process command in top

The problem comes up when you run couple of python scripts. in top at command, it shows only 'python' with these scripts. How to rename a process or otherwise tag it so that I could tell them apart in top? ...

Is there a FireBug like utility for inspecting a Winform Application?

Howdy, I am designing a program that dynamically creates its own GUI at run time. I am looking for a firebug like utility that allows me to move my mouse around the form to see different controls highlighted and see what their size, padding, margins, etc are set to. Thank you, Keith ...

Recover Firefox tabs after accidentally closing the window without saving the session.

I've gradually come to fully rely on Firefox's ability to recover my tabs after any kind of crash. That faith was not entirely ill-founded but what I didn't have a contingency plan for was accidentally closing the Firefox window and saying not to save the session. That just happened when my dad borrowed my laptop to check his email. O...

Command line command to auto-kill a command after a certain amount of time.

I'd like to automatically kill a command after a certain amount of time. I have in mind an interface like this: % constrain 300 ./foo args Which would run "./foo" with "args" but automatically kill it if it's still running after 5 minutes. It might be useful to generalize the idea to other constraints, such as autokilling a process ...

What are some utilities to search for code throughout many files or folders?

What is an utility to find code throughout many files or folders. Something akin to PowerGrep but freeware. ...

How can I know python's path under windows?

I want to know where is the python's installation path. For example: C:\Python25 But however, I have no idea how to do. How can I get the installation path of python? Thanks. ...