38.107.191.114 |    

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 3 users online.

Tags Cloud

Latest snippets
urlencode
(Perl::Function)
gethostbyaddr
(Perl::Function)
create_function
(JavaScript::Snippets)
function_exists
(JavaScript::Snippets)
listing
(PHP::Function)
runPhpCode
(PHP::Function)
md5
(Bash::Function)
rtrim
(Bash::Function)
ltrim
(Bash::Function)
function_exists
(Bash::Function)