utility

How can I programmatically manipulate Windows desktop icon locations?

Several years back, I innocently tried to write a little app to save my tactically placed desktop icons because I was sick of dragging them back to their locations when some event reset them. I gave up after buring WAY too much time having failed to find a way to query, much less save and reset, my icons' desktop position. Anyone know ...

Tool to optimize C# using statements?

Is there any tool out there that can identify name spaces in the Using statement that are not needed and eliminate them from the source? ...

What open source .Net utility projects or code libraries do you use?

I use log4net in just about every code project. I was wondering what other generally useful code projects are available? ...

Are there any good ant visualization programs out there?

I am looking for a utility that will suck in an ant build file and present a graphical display of the targets and properties available to that target. Please don't respond with 'VisualAnt' I own it and it sucks. ...

Generic Database Monitoring Tool

Hi ... It seems like something like this should exist, but I have never heard of it and would find such a utility to be incredibly useful. Many times, I develop applications that have a database backed - SQL Server or Oracle. During development, end users of the app are encouraged to test the site - I can verify this by looking for entr...

What are the Best Components of Boost?

I've been browsing revision 1.38.0 of the Boost libraries, in an attempt to decide if there are enough jewels there to justify negotiating my company's external software approval process. In the course of writing test programs and reading the documents, I've reached a couple conclusions of course, not everything in Boost will ever be o...

How might one go about implementing a disk fragmenter?

I have a few ideas I would like to try out in the Disk Defragmentation Arena. I came to the conclusion that as a precursor to the implementation, it would be useful, to be able to put a disk into a state where it was fragmented. This seems to me to be a state that is more difficult to achieve than a defragmented one. I would assume t...

What is the best small utility app you've written?

As programmers, we typically HATE repeating operations. I find myself writing little programs every once in a while to help me with mundane tasks. I might take an hour to write a little console app to perform a task that normally takes me 5 or 10 minutes, but I use it probably once a week, so it saves me time (and arguably more important...

Does a free general purpose ASN.1 Decode/Dump/Inspect program exist?

Does a free general purpose ASN.1 Decode/Dump/Inspect program exist? I have a suspect ASN.1 block which may have failed decryption, and I would like to inspect it to see it it appears valid, and if so what elements it contains. ...

Windows Utility to force application fullscreen?

In short: Is there a utility for Windows XP that will force a window to be fullscreen? Why? I've written an application in Shoes, which I want to display it fullscreen (as a Kisok-type thing).. As I discovered with this question, Shoes does not currently have a :fullscreen option (until the next release). So the options seem to be, ...

Java Utility Class vs. Service

What's the difference in Java between a utility class (a class with static methods) and a Service class (a class with public methods that provides a "service"). For example, one can argue that a cryptographic object (providing methods to encrypt, decrypt, hash or get a salt value) is a Service provider, but many group this functionality...

Utility for removing SourceSafe bindings?

I'm looking for a utility that will remove SourceSafe bindings automatically given the location of the solution file. I found several mentions of this tool: http://codebetter.com/blogs/darrell.norton/archive/2008/05/16/sourcesafe-binding-remover.aspx That looks like exactly what I need - deletes .scc files and modifies .sln and .*proj...

how do you pass a variable' value inside prototype's $() utility method?

function insertChildDiv(parentId) { var ChildComment = new Element('div', {'class':'padding'}); ChildComment.update('testing'); $().insert(ChildComment); } i want the value of parentId inside the $() in the line $().insert(ChildComment); i already tried $('parentId').insert(ChildComment); but it evaluates the parentId as ...

i image does not work good in utility app on iPhone app

I working on a utility app. When I run the app in simulator clicking i image at the bottom flips the view in a flash. But when I run the app on iPhone device it behaves abnormally. At times it flips the view in just 1 tap. The other times it does not bother to react even after tapping the image 10 times. I tried with other utility app al...

Want implement a utility class which methods represent steps in a validation process. Is there a pattern or best practise for that?

Hi, i want to implement a utility class which methods are internal steps of a validation process. Is there a pattern for this or should i use a totally different approach? Im open for suggestions. (I´m coding in abap but i dont think that is important) Edit: Its no frontend validation of text, but a check if certain conditions are mat...

Offline MySQL Table Definition Generator

I'm looking for something similar to the table creation form from phpmyadmin, but it should simply display a CREATE TABLE statement in a textarea below the form. It should also not require MySQL, PHP, or even a server to work. I want this for times I'm working on projects and just want to whip up a quick table definition. I'll more than...

Free alternative(s) to PowerGREP

First of all, great praise goes out to PowerGREP it's a great program. But it's not free. Some of it's options I'm looking for: Being able to use .NET regexp's (or similar) to find things in a filtered list of files through subdirectories. Replacing that stuff with other regexps. Being able to jump to that part of the file in some ...

How to put a UINavigationController on the FlipsideView of a iPhone Utility app

I'm trying to develop a new application based on the standard Utility template, which has a MainView and a FlipsideView, and allows the user switch between the two with a cool flipping effect. I've used this template many times with no problem, but now that I want to use a UINavigationController on the FlipsideView, I found out a problem...

Transactional File Copy

Does anyone know of a program for Windows Server 2008, Windows 7, etc. that allows you to do the following: Automatically replaces the Windows copy feature with improved features allowing you to: Copy files from A to B with the ability to shutdown/restart your machine mid-process ... upon restart it resumes Allows you to pause copying...

Implement touch using Python?

touch is a Unix utility that sets the modification and access times of files to the current time of day. If the file doesn't exist, it is created with default permissions. How would you implement it as a Python function? Try to be cross platform and complete. (Current Google results for "python touch file" are not that great, but poin...