URL Unescaping in C





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

« Previous 1 2 3 Next »
5
Date Submitted Tue. May. 29th, 2007 3:10 AM
Revision 1
Helper morad
Tags Email | Expression | RegExp | Regular | URL
Comments 0 comments
Reg exp for finding url and email adresses. i'm using this from any projects of me. they working
10
Date Submitted Sun. May. 20th, 2007 5:27 AM
Revision 1
Scripter SecondV
Tags Online | PHP | URL
Comments 1 comments
This simple function will check if a url is valid (going by parse_url()) and if it's 'online' - by seeing if it returns a 302, 301, or 200 status code.
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...
19
Date Submitted Wed. Feb. 28th, 2007 12:30 PM
Revision 1
Helper Nico
Tags clickable | PHP | URL
Comments 2 comments
This function makes URLs in a given text clickable, and shorts down the link text if it's length is over the specified one. (Like vBulletin, etc... does)


PS:
Please explain negative votes, they're pointless otherwise...
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.
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
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.
5
Date Submitted Mon. Oct. 30th, 2006 1:03 AM
Revision 1
Scripter SCoon
Tags C | CPlusPlus | Java | Ruby | String
Comments 3 comments
This class intended to collect TODO comments from java/c++/etc source files.

Example:

protected readFileData (String path) throws IOException {
// TODO: add try...catch block for IOException
InputStream is = new FileInputStream(path);
...
}


See also DirectoryScanner class.
5
Date Submitted Sat. Oct. 28th, 2006 8:07 AM
Revision 1
Beginner FlyingIsFun1217
Tags C
Comments 2 comments
Simple C++ program that creates a directory with the asked username, and places 2 files within the directory that contain the asked for username and the asked for password.

This is an edit of another snippet I made, but I have fixed the creation of the user's folder so it is named after the user.

FlyingIsFun1217
9
Date Submitted Wed. Oct. 25th, 2006 9:57 AM
Revision 1
Helper fastmike
Tags C | File | Java | String
Comments 12 comments
What is Dijkstra Algorithm? click on the link above and first understand what the algorithm is all about. in short it calculates the shortest path from A to F or vise versa. This code i can guarantee is the simplest and easiest code to understand. just search on google and try to compare this code and other dijkstra code and you will see what i am talking about. i spent alot of time myself and my instructor to guide me on the rite path.
http://en.wikipedia.org/wiki/Dijkstra%27s_algorithm(Description)
to see how the algorithm really works go on this website it tells you step by step how to update the cost and which path to choose.
http://renaud.waldura.com/doc/java/dijkstra/
Please give some time to understand the algorithm first and then you can see my code. if you done understand the algorithm it is very useless. i know alot of people need Dijkstra algorithm in java for their HW assignment or Test. i am giving you the solution step by step. anyone who wants to understand please go to the url i have posted above and once you have understand then run the code and for those people who just want to copy so that they can get 90% in their test No Problem Here it is .
First open a notepad and name that file anything like data.txt or datas.txt and make sure the file looks something like this and in this format.
0 3 100 5 100 100 (100 represents infinity)
3 0 6 7 7 100
100 6 0 5 5 3
5 7 5 0 1 100
100 7 5 1 0 2
100 100 3 100 2 0
i name this file as a data.txt file. i have 6 nodes. and A is always the starting node which has the cost of 0 so by looking at the first line i
know that A to A have distance 0, A to B is 3, A to c is Infinity, A to D is 5, A to E is Infinity(means no edge connected with A), A to F is Infinity.
for second line(B to A is 3, and then vise versa) and for the 3rd line it starts for C and etc..
save the txt file by any name and then copy the code which i have posted and then to run type this:
javac routing.java
java routing data.txt
you will get the output. i will say this one more time understand how the algorithm works or ......................
« Previous 1 2 3 Next »