Welcome To Snipplr
Everyone's Recent Snippets Tagged simple
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Easily create a SINGLE USE ONLY (Singleton) Class Object with this template.
1
880
posted 15 years ago by allnatural
Passing in a seed and your string will return an encrypted string. Pass in the same seed and the encrypted string again and it will return the original unencrypted string.
1
999
posted 15 years ago by blackf0rk
Simple imagefader to rotate around a few images. Seem to be doing this a lot in various projects so decided to put something a bit more generic together. Uses jQuery. Images named as car1.jpg, car2.jpg, car3..... etc.
3
1089
posted 15 years ago by 1man
Function argument timeinterval is in seconds. For example, SimpleTimer( 5 ) would cause the program to wait for 5 seconds to elapse.
0
1024
posted 16 years ago by Raisor
A simple method of validating a telephone number using regular expressions and PHP
3
1526
posted 16 years ago by aristoworks
This will count sentences that end in . or ? or ! and have a space after them.
1
2086
posted 16 years ago by evanwalsh
I was looking for a simple time delay in ActionScript, and I found this one to be useful (and working). The logic is plain simple to understand.
ASv1.
1
955
posted 16 years ago by webStruck_
This demonstrates a simple "Hello World" style program for 16-bit (DOS) x86 assembly using Microsoft's free MASM assembler.
0
3218
posted 16 years ago by darkphotn