Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
To connect to your database remotely, tunnel in via SSH.
This creates an encrypted tunnel to your Slice’s mySQL port (3306) on your local port of 8888. Point your local admin/GUI app to localhost:8888. If this does not work, and you are running...
3
1642
posted 17 years ago by zachwood
A bookmarklet that enabled a speed dial storing the data in webkit's SQL engine. There are bugs and a few conditions, read: [http://www.dom111.co.uk/blog/coding/webkit-speed-dial-bookmarklet/59](http://www.dom111.co.uk/blog/coding/webkit-speed-dial-b...
1
1406
posted 17 years ago by dom111
This code sets the size of a text field and truncates the text to fit, adding an ellipse if necessary.
2
2686
posted 17 years ago by ghwilson4456
Test page to check the support of different CSS media types in browsers. If you go into Print Preview, for example, the Print media type should show as "In Use" if it is supported.
0
1581
posted 17 years ago by wizard04
Alle Verzeichnisse überprüfen: [script name] verzeichnis1 verzeichnis2
Alle Dateien vom Typ *html: [script name] verzeichnis1 verzeichnis2
0
1100
posted 17 years ago by endorfin
see website for all information about that.
some more theory:
[color-scaling-function](http://stackoverflow.com/questions/168838/color-scaling-function)
[generate-color-for-a-power-meter-red-to-green](http://stackoverflow.com/questions/340209/gene...
0
1705
posted 17 years ago by localhorst
To see how we can set default values for bash script variables inside bash script
0
1561
posted 17 years ago by jaduks
I have created this thing over the course of several attempts.
1
1415
posted 17 years ago by trdunsworth
Just replace TABLENAME.OLD_COLUMNNAME and NEW_COLUMNNAME with your new values.
0
1330
posted 17 years ago by naspinski
Here's a short program to print a list of all of the documents in your Google Documents account
0
1117
posted 17 years ago by hemanthhm
Centering a div with css is easy, but there are some compatibility quirks...
1
2548
posted 17 years ago by jarnaldich