54.146.154.243 |    

Navigation

Google Advertisement

All snippets of the tag random

1-3 of 3 Entries

get_id
(Perl::Function)
Created by Marko Schulz at 2010-01-20 13:52:16
sub get_id { srand (time|$$); my $id = int (rand(1000)); $id.="$$"; return $id; }

boundary
(Perl::Function)
Created by Marko Schulz at 2010-01-20 13:50:34
# my $boundary=boundary(24); # ************************************** # Zufaellige Zeichenfolge einer # bestimmten laenge generieren. sub boundary { my $boundary=""; my @sign=(0..9, 'A'..'F'); srand(time ^ $$); $boundary .= $sign[rand(@sign)] w...

get_random_string
(PHP::Snippets)
Created by Marko Schulz at 2010-01-20 12:50:28
// $string = get_random_string( 36 ); // // This generate a random string of 24 characters. // // $string = get_random_string(); // ***************************************************************** // This function generate a random string of $coun...

1-3 of 3 Entries
Search
 
Full text search by name and content of a snippet.

User online
There are 6 users online.

Tags Cloud

Latest snippets
str2seconds
(Bash::Function)
is_integer
(Bash::Function)
file_rotate
(Bash::Function)
confirm
(Bash::Function)
is_workingtime
(Bash::Function)
last day of last month
(Bash::Snippets)
crypt_apr1_md5
(PHP::Function)
crypt_apr1_md5
(Perl::Function)
transparent
(CSS)
rfc2822Toiso8601
(PHP::Function)