Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Some java application do not get focus or have strange behaviours under no standard Window Managers like Awesome.
0
819
posted 16 years ago by escalant3
# Export MySQL Data as CSV
This code takes a `mysql_query()` resource and outputs its rows into CSV spreadsheet format. Edit the `header('Content-Disposition...` declaration to tell the user's browser to either display the data as plain text or do...
6
1272
posted 16 years ago by mikegreen
Find out how to do rounded corners in CSS. A new method has recently come out that makes it extremely easy to implement.
3
1664
posted 16 years ago by neal_grosskopf
An immutable (a new object is created for each change) Java class builder pattern example.
0
953
posted 16 years ago by narkisr
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
1077
posted 16 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
1033
posted 16 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
1318
posted 16 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
1186
posted 16 years ago by wizard04
Alle Verzeichnisse überprüfen: [script name] verzeichnis1 verzeichnis2
Alle Dateien vom Typ *html: [script name] verzeichnis1 verzeichnis2
0
810
posted 16 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
1328
posted 16 years ago by localhorst
To see how we can set default values for bash script variables inside bash script
0
1144
posted 16 years ago by jaduks