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 1148 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 1377 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 1812 posted 17 years ago by luizlopes
0 1255 posted 17 years ago by rwczippy
0 1372 posted 17 years ago by leonbda
0 1612 posted 17 years ago by leonbda
0 1814 posted 17 years ago by jitendraweb
0 1792 posted 17 years ago by leonbda
In this case I'm looking for image sources in html and placing them in array.
1 1771 posted 17 years ago by leonbda
Place javascrip refernce or complete javascript code in page header from ascx or aspx file.
0 1759 posted 17 years ago by leonbda
Thanks to LenK on the WP forums.
3 1373 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 1665 posted 17 years ago by kfaulk1
0 1198 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 1497 posted 17 years ago by webonomic
0 1300 posted 17 years ago by archlight
1 1189 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 1394 posted 17 years ago by mynameisharry
1 ... 442 443 444 445 446 ... 553