Welcome To Snipplr


Everyone's Recent Snippets Tagged c



1 ... 442 443 444 445 446 ... 553
Usage: formatDecimals(3.1415926, 3); returns: 3.141. Also adds zeros to end if needed.
0 1103 posted 16 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 1331 posted 16 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 1768 posted 16 years ago by luizlopes
0 1213 posted 16 years ago by rwczippy
0 1339 posted 16 years ago by leonbda
0 1574 posted 16 years ago by leonbda
0 1772 posted 16 years ago by jitendraweb
0 1760 posted 16 years ago by leonbda
In this case I'm looking for image sources in html and placing them in array.
1 1741 posted 16 years ago by leonbda
Place javascrip refernce or complete javascript code in page header from ascx or aspx file.
0 1707 posted 16 years ago by leonbda
Thanks to LenK on the WP forums.
3 1343 posted 16 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 1623 posted 16 years ago by kfaulk1
0 1159 posted 16 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 1459 posted 16 years ago by webonomic
0 1263 posted 16 years ago by archlight
1 1155 posted 16 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 1350 posted 16 years ago by mynameisharry
1 ... 442 443 444 445 446 ... 553