Welcome To Snipplr


Everyone's Recent Snippets



1 ... 487 488 489 490 491 ... 553
going to use twitterlocal to play around a bit with pygooglechart.
0 1484 posted 17 years ago by mandric
In FF the page will "jump around" when moving from page to page due to the scrollbars. Find out how to make that stop.
2 2069 posted 17 years ago by neal_grosskopf
I was looking for a way to post new articles remotely, and cross domain. I only needed to post new articles, not read, edit or anything like that, so I did not need a whole GUI or any other Interface like those WP-Desktop-clients. I wrote this script...
0 1778 posted 17 years ago by j_junyent
Given an an associative list ((k1 . v1) (k2 . v2) ... (kn . vn)), with possibly equal values for ki, it returns another alist where all cells have distinct keys and where values originally associated to the same key have been grouped as a list in the...
1 3821 posted 17 years ago by jarnaldich
After having trouble with xss and .getJSON() I wrote this. Solved my problems so here you go.
3 1504 posted 17 years ago by twoism
Is the mail I sent, read or unread by the receiver.
1 1819 posted 17 years ago by skywalker
1 4904 posted 17 years ago by janetmck
Slim down the size of your javascript by using these custom functions.
2 1385 posted 17 years ago by neal_grosskopf
1 1829 posted 17 years ago by ibomb
Any time I make PHP applications that interact with a database, I use this script. It generates one or more self-populating "View Objects" (a class that represents a single record from a DB). For example, rather than access a MySQL record-set by arra...
1 1823 posted 17 years ago by donkawechico
Gets the present time and date in PHP and formats it for input into a MYSQL database DATETIME field
1 1217 posted 17 years ago by TimFletcher
Put at beginning of system.web tags
0 1179 posted 17 years ago by czapata
This gets the current page addr. and send it... Modify form action="" to send values to proper mail function - or - class.
3 1824 posted 17 years ago by skywalker
by Chris Coyier
1 1355 posted 17 years ago by lister
This is an example of how to search within a Ferret index (based upon http://kasparov.skife.org/blog/src/ruby/ferret.html).
1 1531 posted 17 years ago by narkisr
This is a simple example for building a search index with the Ferret library (based upon http://kasparov.skife.org/blog/src/ruby/ferret.html).
1 1708 posted 17 years ago by narkisr
Very minimal. Some homegrown API seeds from a while ago. Just posting for use as some php examples.
0 1598 posted 17 years ago by mandric
Not sure why I'm posting this madness. Bash can be good for some things though. I think part of the reason I used bash was because I was calling alot of external commands.
0 1590 posted 17 years ago by mandric
the above url has some helpful parameters
1 1378 posted 17 years ago by cori
Changing default settings The defaults for the ssh-related commands can be altered for each account in a configuration file ~/.ssh/config (there is also a system-wide file, usually /etc/ssh/ssh_config). Each entry starts with a Host keyword. You c...
0 1534 posted 17 years ago by cczona
0 1417 posted 17 years ago by Mikker
Smooth scroll to anchor links, requires Interface plugin
9 2140 posted 17 years ago by madmanlear
1 1546 posted 17 years ago by lakedenman
The lazy way to generate XHTML-valid width and height attributes for your images. This is incredibly inefficient, though I believe (ref?) that calls to getimagesize() are cached.
2 1618 posted 17 years ago by AdrianShort
1 ... 487 488 489 490 491 ... 553