Welcome To Snipplr


Everyone's Recent Snippets



1 ... 442 443 444 445 446 ... 553
Usage: formatDecimals(3.1415926, 3); returns: 3.141. Also adds zeros to end if needed.
0 1169 posted 17 years ago by Mijos
I was having the hardest time getting this to work. It's a collection of various items. For whatever reason, I needed to include the CASE statement due to NULL's coming back. If this helps you out... go for it.
0 1396 posted 17 years ago by gembry
[quote]$_SERVER['HTTP_REFERRER']'s problem is that can be spoofed, but it's better than nothing if you really want that.[/quote]
1 1845 posted 17 years ago by luizlopes
0 1273 posted 17 years ago by rwczippy
0 1390 posted 17 years ago by leonbda
0 1634 posted 17 years ago by leonbda
0 1839 posted 17 years ago by jitendraweb
0 1822 posted 17 years ago by leonbda
In this case I'm looking for image sources in html and placing them in array.
1 1802 posted 17 years ago by leonbda
Place javascrip refernce or complete javascript code in page header from ascx or aspx file.
0 1791 posted 17 years ago by leonbda
Thanks to LenK on the WP forums.
3 1386 posted 17 years ago by kristarella
This is a simplified example for cut and paste use for command line parsing arguments with the use of an options hash
0 1688 posted 17 years ago by kfaulk1
0 1211 posted 17 years ago by eugegim
Bash shell scripts to control wallpaper backgrounds when switching between Ubuntu workspaces. (Other distributions can use it too). Take the below 2 scripts to make 2 separate files. Use gconf-editor to attach keybindings to run_command_1 and run...
0 1528 posted 17 years ago by webonomic
0 1322 posted 17 years ago by archlight
1 1215 posted 17 years ago by Wiederkehr
Create a random password using a Dictionary database table. Selects a random word, and then appends two random numbers to the end, creating passwords in the form of: foozling98 or laicism11
1 1414 posted 17 years ago by mynameisharry
1 ... 442 443 444 445 446 ... 553