Command Line Calculator





ranking Sort Sort   |   date Sort Sort   |   member Sort Sort
Syndication

« Previous 1 2 3 4 Next »
5
Date Submitted Fri. Nov. 3rd, 2006 12:07 PM
Revision 1
Helper jarfil
Tags "Command Line" | Perl
Comments 2 comments
I've found it kind of complicated to strip newline chars from a file with just the commandline. This tiny piece of code does just that.

I've found it especially useful when extracting tabulated data from a grabbed site where each cell is on a different html line. This way I can pre-filter the html, remove the newlines, and insert them again at register boundaries (row end in this case), so that with just a couple more replacement from within a regex enabled text editor I can copy&paste it directly to a database.
6
Date Submitted Thu. Jan. 4th, 2007 4:30 AM
Revision 1
Beginner jimmah
Tags C | factorial | Fast | Recursive
Comments 3 comments
Gives factorials for a given value.
7
Date Submitted Thu. Jan. 11th, 2007 8:47 AM
Revision 1
Scripter Casper42
Tags ASPX | C | CSharp
Comments 3 comments
This little number will allow the contents of other pages to be included or embedded into the rendered HTML of an aspx page. Using the WebClient class from the .NET framework, you can conditionally load pages, even manipulate the HTML before it is rendered and in this example, fill in forms and execute javascript actions.

The following example shows how to auto-login to an Exchange Server - this was something requested for inclusion into our portal, but I left out the logic that pulls/decrypts the real password - for obvious reasons.

Enjoy!
~Jeremy
5
Date Submitted Mon. Feb. 19th, 2007 1:56 PM
Revision 1
Beginner mentat_emre
Tags C | converter | Number | roman
Comments 1 comments
It is a simple converter which converts your number into roman number.
Due to roman numbers it can converts 4 digits.
1
Date Submitted Mon. Apr. 16th, 2007 9:34 PM
Revision 1
Beginner leroi
Tags API | C | scraping | Screen | webrequest | webresponse
Comments 4 comments
Shows a few objects I built to perform some screen scraping...
« Previous 1 2 3 4 Next »