Welcome To Snipplr


Everyone's Recent Snippets Tagged c



1 ... 527 528 529 530 531 ... 553
Why doesn't this work?
1 1219 posted 18 years ago by gaunab
1 1053 posted 18 years ago by tgunr
sorting, searching in array, some string function
0 1270 posted 18 years ago by juno
0 1735 posted 18 years ago by tgunr
Simply replaces the div's innerHTML with the response text received from the file.
3 2604 posted 18 years ago by 1man
The simple form that calls the searchYahoo function.
1 1708 posted 18 years ago by 1man
0 1160 posted 18 years ago by tgunr
Basic layout for the data contained in a JSON file.(JavaScript Obsect Notation).
1 1278 posted 18 years ago by 1man
1 1579 posted 18 years ago by philapple
This template is for an XHTML 1.1 document with an external stylesheet.
0 1622 posted 18 years ago by cpjobling
Enter this at the commandline.
0 1460 posted 18 years ago by Roshambo
This function allows you to parse a simple XML document(passed to it using this.href on a onclick event). Virtually the same as JSON, the things that have been changed ate labeled !Important.
3 1927 posted 18 years ago by 1man
This function is near enough the same as parsing XML. The only things that have changed are the sections marked !important.
3 1979 posted 18 years ago by 1man
List all packages that are installed in your system
1 1253 posted 18 years ago by vanne
This while loop will remove all childNodes from a selected element.
1 1050 posted 18 years ago by 1man
Very basic grab a line of text from a file then display it in an alert box. Uses other functions for loading prepareLinks() and creating the request.
2 1806 posted 18 years ago by 1man
Change / to the root directory you wish to search in. Change -7 to +7 for files changed more than a week ago.
1 1893 posted 18 years ago by micmath
Use to get console input from the user for a file name (in the current directory) and read in from that file.
2 1458 posted 18 years ago by pckujawa
This snippet is for use with image module, a small contributed module for image handling. (Yes: in Drupal you need a /contributed/ module for this o_O. The template snippet links the images to their own node.
2 1361 posted 18 years ago by berkes
1 1040 posted 18 years ago by abhiomkar
Simple Ajax POST request using the getHTTPObject function.
2 1638 posted 18 years ago by 1man
2 1464 posted 18 years ago by 1man
1 1107 posted 18 years ago by abhiomkar
This functions allows you to create a new XMLHTTPRequest, it checks to see if the browser supports each method, if not it returns false.
4 1955 posted 18 years ago by 1man
0 1130 posted 18 years ago by jugyo
Requires wget and curl.
2 1536 posted 18 years ago by gtcaz
1 ... 527 528 529 530 531 ... 553