Welcome To Snipplr


Everyone's Recent Snippets



1 ... 338 339 340 341 342 ... 554
please let me know if you know of some others... just to complete the collection.
1 958 posted 15 years ago by c4ptivate
async loading
0 806 posted 15 years ago by peterbelsky
A class which wraps a parent list containing mixed object types, to provide smaller strongly typed sub-lists of objects. These sub-lists can be modified, which then modifies the parent list concurrently (without events being triggered). Supports the...
0 1041 posted 15 years ago by bryanlyman
This script pulls in files with [rsync](http://samba.anu.edu.au/rsync/), storing them locally with hardlinks for unchanged, and real files for changed -files. * KEY=$HOME/.ssh/id_dsa_passwdless -- an id_rtsa key without a password. --adding this t...
0 1030 posted 15 years ago by berkes
Uses JSON Lite SWC/Class from http://thanksmister.com/?p=40
0 1156 posted 15 years ago by allnatural
This is how to use the $sf_request in a view to build the current base url, including the application file used to build the script.
0 1102 posted 15 years ago by cburyta
To convert files, especially prior to mysql insert. use file filename to find out encoding
1 1063 posted 15 years ago by bionic
HSH is a cool haskell library that allows you to leverage your shell scripting prowess in haskell programs. In this simple broadcatcher, I use curl for http get, and other standard unix tools for tracking history (so we don't get the same file twice...
1 1296 posted 15 years ago by softmechanics
Not very secure, but very handy ... Use like that : app = your_wsgi_app() app = ControlAccess( app, "your_password") httpserve( app ) # wsgi server
0 1095 posted 15 years ago by manatlan
0 695 posted 15 years ago by Flocke
Subcolumn with 66%/33% division for the CSS-Framework YAML.
0 712 posted 15 years ago by Flocke
To force the user to download certain filetypes in the current directory.
0 1237 posted 15 years ago by darylclaudio
Gets the loaderInfo of the top-most parent. For example, if you load an external swf, placing this code within that external swf can access the loaderInfo and FlashVars for the parent SWF (the SWF that has loaded this external SWF) from within the ch...
1 778 posted 15 years ago by sandropadin
0 888 posted 15 years ago by giak
0 885 posted 15 years ago by gd6d
adapted from http://jquery14.com/day-05
10 1535 posted 15 years ago by cfleschhut
This is how to patch changes from svn into git (should work with other vcs as well).
0 978 posted 15 years ago by narkisr
modified version of: http://www.linein.org/blog/2008/04/04/find-time-between-two-dates-in-php/
0 1266 posted 15 years ago by jkjeldgaard
I just thought of a great new way to organize your CSS attributes: use the first letter of a each attribute to write words that other developers will find hilarious!
0 1193 posted 15 years ago by peterwooley
Squashing --------- WARNING: "git rebase" changes history. Be careful. Google it. git rebase --interactive HEAD~10 (then change all but the first "pick" to "squash") squash the last 10 commits into one big commit
0 1638 posted 15 years ago by jturmel
1 ... 338 339 340 341 342 ... 554