utilities

What are the utilities/tools you use for developing in ASP.NET

Hi, I am learning ASP.NET and would like to know what are the must have tools for developing in ASP.NET. These can be tools for debugging, testing, desinging or other category you think about. Please be specific to ASP.NET development. I would prefer tools that do not cost money since I am doing that for fun at home. I am already using ...

netbeans platform tutorial problem

I am reading the Netbeans Platform Quick Start tutorial (http://platform.netbeans.org/tutorials/nbm-quick-start.html), and I do not clearly understand the 6th part in the section "A Modular Application Using Lookup", the TIP: At compile time, the @ServiceProvider annotation will create a META-INF/services folder with a file that regi...

Find all files in iphone project

I'm curious if there's a way to search for files in the iPhone's directory ( the location is irrelevant). I am wanting to load in addresses from text files. The thing is additional files may be added and I want to dynamically be able to find the files and load in the data without hardcoding the file names to load in. Thanks a bunch! ...

Does a program exist for checking two similar directories for file differences?

Is there a program to compare one folder and all subfolders to another folder and all subfolders for differences in the files contained therein (presence, absence of files, size and list of filenames)? Example of usage: I have 100 DLL files from environment 1 and I want to check if any of them are different (in size and date modified) f...

Google Translation API not working for even one page long documents

I'm using Google Translation API to translate text from Chinese Simplified to English in my C# program. The problem is if the text is small (around one line) the API is able to translate it, but if the text is larger (more than 3 lines) is gives an exception saying "The remote server returned an unexpected response: (414) Request-URI Too...

online utility to convert jquery syntax to mootools syntax

Is there any online utility to convert jquery syntax to mootools syntax? Is there any guideline to convert jquery to mootools? ...

Calling linux utilities with options from within a Bash script.

This is my first Bash script so forgive me if this question is trivial. I need to count the number of files within a specified directory $HOME/.junk. I thought this would be simple and assumed the following would work: numfiles= find $HOME/.junk -type f | wc -l echo "There are $numfiles files in the .junk directory." Typing find $HOME...

Flash AS3: crop TextField content off at X lines, add '...' at the end

There's only room for three lines of text in the interface, but the content is external and variable, and if it ends up taking up more than three lines, there needs to be some sort of 'view all' button functionality. I can kind of think about what that function needs to look like, but I'm not quite sure what the best way to do it in AS3 ...

byte toPositiveInt method

is there anything like this in JDK or Apache Commons (or in other jar)? /** * Return the integer positive value of the byte. (e.g. -128 will return * 128; -127 will return 129; -126 will return 130...) */ public static int toPositiveInt(byte b) { int intV = b; if (intV < 0) { intV = -intV; int diff = ((Byte.MAX_VALUE + 1) ...

posmax: like argmax but gives the position(s) of the element x for which f[x] is maximal

Mathematica has a built-in function ArgMax for functions over infinite domains, based on the standard mathematical definition. The analog for finite domains is a handy utility function. Given a function and a list (call it the domain of the function), return the element(s) of the list that maximize the function. Here's an example of fin...

Tool to generate rotated versions of an image

In sprite-based systems, it's common to fake rotation of a sprite by having many different images, each showing it rotated an extra few degrees. Is there any free tool which will take a single image, and output a single image containing several rotations? It should also ideally let us control how many images are in each row. e.g if I ...

Java Package defnition

Is there any website where we can come to know the information about Technical implementation Possibilities Where this package will be used extensively why this is used? For example TimerTask, this is used to scheduling a task to execute in a batch mode. Other than this do we have any other scenarios where we can use it? Please shar...

How to convert map to url query string?

Do you know of any utility class/library, that can convert Map into URL-friendly query string? Example: I have a map: - "param1"=12, - "param2"="cat" I want to get: param1=12&param2=cat. PS. I know I can easily write it myself, I am just surprised that I cannot find it anywhere (I checked Apache Commons so far). ...

How do I see **all** the currently defined variables in PHP?

I need a way to see all the defined variables of the current PHP instance. By currently defined I mean all the globals, all the local to THIS scope and all the locals to other scopes. Is there something built in? ...

Crawling within a pdf

Hi, I'm developing a tool that searches the keyword entered by the user on a given site. My problem is, it searches the keyword only on html/web pages but not on the PDF/MS-Word files found on the site. Can anyone suggest me some api/tool or provide the code that can search text from the given online PDF/MS-Word/Text file? ...

Creating An Utilities Class?

Hello SO, I'm very new to OOP and am trying my hardest to keep things strictly class based, while using good coding priciples. I'm a fair ways into my project now and I have a lot of general use methods I want to put into an utilities class. Is there a best way to create an utilities class? public class Utilities { int test; ...

Where do I put utility functions in my Python project?

I need to create a function to rotate a given matrix (list of lists) clockwise, and I need to use it in my Table class. Where should I put this utility function (called rotateMatrixClockwise) so I can call it easily from within a function in my Table class? ...

C++: How to design a utility class?

Hi, The title says it all. But I don't know if I should go for static methods, just a header, a class, or something else? What would be best practice? But, I don't want to have an instance of a utility class. I want to add functions like: Uint32 MapRGB (int r, int g, int b); const char* CopyString(const char* char); // etc. You know:...

What are the Utilities, Tools available in .net

Hi, Can some body provide me the list of Utilities and Tools available in .Net with there uses. Please guide me about this. ...

Tool or Utility to manage & organize icon libraries

This is not exactly a programming question, but it involves software development. Like many of you, I'm sure we find lots of interesting icon sets everywhere on the web and we download copies locally. But then you have the challenge of organizing them into some system that works for whatever project you are on. What software tools/uti...