Welcome To Snipplr


Everyone's Recent Snippets Tagged script



1) if jQuery is already loaded into a browsers' cache -> do nothing 2) if the object is undefined, write a script-element into the source which references google's minified jquery file. 3) if jQuery is still undefined (let's assume Google is down)....
2 88 posted 11 years ago by iroybot
1 79 posted 11 years ago by skrippendorf
Simple yet effective way to create a horizontal slider to controll the volume of your sound channel
4 137 posted 11 years ago by Ktoso
This script will alow you to download files from a remote FTP
2 179 posted 11 years ago by kouphax
Another way of writing a continuous bash menu.
7 126 posted 11 years ago by jaduks
If you have a lot of javascript you need to load to make your page work, but don't want to load all of it before the user sees your page, you can use this handy script to backload it all.
4 110 posted 11 years ago by garside
menu will only quit when 'q' is pressed
2 106 posted 11 years ago by rwczippy
1 112 posted 12 years ago by ibomb
This is meant to be run as root, so do it at your own risk. It's very raw and needs error checking, but works. I run this script to get new django sites off the ground in a few minutes.
0 113 posted 12 years ago by mandric
Quick command I use to remove .SVN folders from a tree structure copied from SVN working copy. Sometimes a bit easier than running an export.
6 201 posted 12 years ago by wfdev
Suitable for backup scripts.
0 93 posted 12 years ago by eszpee
fill your username and password
0 114 posted 12 years ago by eszpee
This demonstrates how to make your own console "scripts" using C -- for example, you could capitalize every character that comes in. Tweak the line labelled "TWEAK THIS LINE" in order to get it to do what you want. This particular example will add...
1 83 posted 12 years ago by darkphotn
drunkenprogrammer
0 90 posted 12 years ago by zvasanth
This temperature measurement script is one that comes from the original NPDS package. As formatted, it is meant to be used as an NPDS SSI tag. It obtains the current battery temperature and returns it in degrees Celsius.
0 102 posted 12 years ago by splorp
Leave off the final pipe to /bin/sh to do a 'dry run'
3 154 posted 12 years ago by ches
Pa cuando da fallos de memoria y tal. Meterlo en un .bat
0 66 posted 13 years ago by pablazo
2 94 posted 13 years ago by whitetiger
2 162 posted 13 years ago by whitetiger