3.94.102.228 |    

Navigation

Google Advertisement

All snippets of the tag calculate

1-4 of 4 Entries

dec2bin
(Perl::Function)
Created by Marko Schulz at 2010-01-20 13:51:32
sub dec2bin { my $zahl = unpack("B32", pack("N", $_[0])); $zahl =~ s/^0+(\d+)/$1/; return $zahl; }

bin2dec
(Perl::Function)
Created by Marko Schulz at 2010-01-20 13:49:50
sub bin2dec { my $zahl = unpack("N", pack("B32", substr("0" x 32 . $_[0], -32))); return $zahl; }

return_converted_size
(PHP::Snippets)
Created by Marko Schulz at 2010-01-20 12:47:20
// echo return_converted_size ( '3063557' ); // 2.92 MB // // ***************************************************************** // This function convert the file size (Byte) in human readable format. function return_converted_size ( $size ) { // ...

checkSize
(Bash::Snippets)
Created by Marko Schulz at 2010-01-20 12:31:27
#!/bin/bash # ***************************************************************** # Diese Funktion vergleicht die Groesse einer Datei. Die Funktion # erwartet 2 Parameter. Der erste Parameter ist die ermittelte # Groesse der Datei (byte). Der zweite Pa...

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

User online
There are 5 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)