Welcome To Snipplr


Everyone's Recent Snippets



1 ... 526 527 528 529 530 ... 552
3 3053 posted 19 years ago by bartbons
Requires the twitter bundle. This is an early attempt at updating this. Pretty crude at the moment, but it works.
2 2028 posted 19 years ago by gtcaz
2 1848 posted 19 years ago by chrysanth
2 2056 posted 19 years ago by gtcaz
1 2221 posted 19 years ago by chrysanth
Adapted from http://journal.mychores.co.uk/articles/2007/01/21/updating-twitter-from-ruby-rails
2 1980 posted 19 years ago by gtcaz
Why doesn't this work?
1 1691 posted 19 years ago by gaunab
1 1505 posted 19 years ago by tgunr
sorting, searching in array, some string function
0 1820 posted 19 years ago by juno
0 2672 posted 19 years ago by tgunr
Simply replaces the div's innerHTML with the response text received from the file.
3 3273 posted 19 years ago by 1man
The simple form that calls the searchYahoo function.
1 2334 posted 19 years ago by 1man
0 1657 posted 19 years ago by tgunr
Basic layout for the data contained in a JSON file.(JavaScript Obsect Notation).
1 1775 posted 19 years ago by 1man
1 2074 posted 19 years ago by philapple
This template is for an XHTML 1.1 document with an external stylesheet.
0 2176 posted 19 years ago by cpjobling
Enter this at the commandline.
0 1995 posted 19 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 2511 posted 19 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 2598 posted 19 years ago by 1man
List all packages that are installed in your system
1 1770 posted 19 years ago by vanne
This while loop will remove all childNodes from a selected element.
1 1619 posted 19 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 2395 posted 19 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 2500 posted 19 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 2024 posted 19 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 1867 posted 19 years ago by berkes
1 1495 posted 19 years ago by abhiomkar
1 ... 526 527 528 529 530 ... 552