A searchable, smart phone compatible index for drugs and pharmaceutical products in Egypt.
http://egyptiandrugs.ml
http://egyptiandrugs.ml
Knowledge should be free
Suppose you're on a game show, and you're given the choice of three doors: Behind one door is a car; behind the others, goats. You pick a door, say No. 1, and the host, who knows what's behind the doors, opens another door, say No. 3, which has a goat. He then says to you, "Do you want to pick door No. 2?" Is it to your advantage to switch your choice?
<?
function prove_montyhall_or_break_it(){
srand((float) microtime() * 10000000);
$doors = array(1=>"G", 2=>"G", 3=>"G");
$num = array(1,2,3);
$x = array_rand($num)+1;
//setting car's door
$doors[$x]='C';
//Think of one door
$y = array_rand($num)+1;
$original_choice=$doors[$y];
unset ($doors[$y]);
//find the goat door and remove it so the remaining door will be the one that you will to switch to if u want
$goatdoorkey = array_search('G', $doors);
unset ($doors[$goatdoorkey]);
if (in_array("C", $doors)) {
return true;
}else{
return false;
}
}
$trials= 1000000;
$wins=0;
$losses=0;
for ($i = 0; $i < $trials; ++$i) { if (prove_montyhall_or_break_it()){ ++$wins; }else{ ++$losses; } } echo "out of $trials trial: <br > wins are $wins <br > losses are $losses"; ?>
sub_cp = "cp1256"
subsdec-autodetect-utf8=1
subsdec-encoding=windows-1256
sudo apt-get install ttf-arabeyes
$sudo apt-get install arptables
#arptables -P INPUT DROP
#arptables -P OUTPUT DROP
#arptables -A INPUT -s 192.168.1.1 --source-mac 00:1D:0F:A9:F0:45 -j ACCEPT
#arptables -A OUTPUT -d 192.168.1.1 --destination-mac 00:1D:0F:A9:F0:45 -j ACCEPT
#arp -s 192.168.1.1 00:1D:0F:A9:F0:45
$sudo echo "your_new_hostname" > /etc/hostname
$sudo echo "127.0.0.1 your_new_hostname" >> /etc/hosts