What's Here?
- Members: 86,471
- Replies: 357,008
- Topics: 52,386
- Snippets: 1,779
- Tutorials: 425
- Total Online: 1,198
- Members: 26
- Guests: 1,172
Who's Online?
|
|
 |
|
|
Submitted: May 14, 2008
Views: 44
This is a snippet for calculating the distance between 2 points. Each "point" is represented by the longitude & latitude for that location
|
|
|
 |
|
|
Submitted: May 12, 2008
Views: 68
This is a snippet I use for applying a one way hash utilizing the SHA1CryptoServiceProvider class in .Net. I use Encoding.Unicode.GetBytes() so it will be compatible with systems already using the CAPICOM version. The CAPICOM views all input as UNICODE not text
|
|
|
 |
|
|
Submitted: May 12, 2008
Views: 54
This is a snippet for applying a one way hash to a string using the CAPICOM.dll.
|
|
|
 |
|
|
Submitted: May 10, 2008
Views: 64
Get a prime number by the position it is in, in the prime number sequence.
|
|
|
 |
|
|
Submitted: May 10, 2008
Views: 61
A brute-force method of getting the least common multiple in a range of numbers.
|
|
|
 |
|
|
Submitted: May 10, 2008
Views: 44
Returns true if a string is palindromic.
|
|
|
 |
|
|
Submitted: May 7, 2008
Views: 271
Keep your Sessions on lockdown and prevent Fixation, and Hijacking with this snippet.
|
|
|
 |
|
|
Submitted: May 7, 2008
Views: 90
This allow you to see what the ASCII equalivient of the button being pressed.
|
|
|
 |
|
|
Submitted: May 7, 2008
Views: 88
This allows you to move and image box either by ascii or the arrow keys.
|
|
|
 |
|
|
Submitted: May 7, 2008
Views: 99
Use this Abstraction layer to keep your business logic seperate.
Change Options Below for either mysql or mysqli drivers.
query() can return resource, associative array, or object depending on args and config.
When error occurs, db::error() is called, change this to log errors or perform whatever you
like, or change config 'display_errors' to be silent.
Take a moment and look through the config to get a better understanding. I will release an API
and user guide later to help you get started.
Query() can return Resource, Associative Array, or Object
Free to use and modify to your liking, just keep this comment block here.
Make sure you run your vars through prepare() before using them in query() to protect
against SQL Injection.
|
|
|
 |
|
|
Submitted: November 11, 2005
Views: 111054
Ever wonder how you could get partially transparent backgrounds for div boxes with only HTML/CSS? Well here's how.
|
|
|
 |
|
|
Submitted: April 13, 2007
Views: 60125
Div layer with a scroll bar
|
|
|
 |
|
|
Submitted: February 25, 2005
Views: 42484
Two functions, used to convert c++ strings from upper case to lowercase and vice versa. Each takes a string argument, and returns the converted string. Please note that parameters should be validated before passing them to the functions.
|
|
|
 |
|
|
Submitted: March 2, 2005
Views: 40148
Implements the Linked List Data Structure.
|
|
|
 |
|
|
Submitted: December 31, 2006
Views: 39174
good for Games! or whatever :D
Written by senocular (senocular.com).
Original can be found at http://www.kirupa.com/developer/actionscript/setinterval2.htm
|
|
|
Programming
Web Development
Reference Sheets
Bye Bye Ads
Free DIC T-Shirt
Related Sites
Monthly Drawing
Partners
Top Contributors
Top 10 Kudos This Month
|