Sunday, 2 March 2014
Sunday, 16 February 2014
[PHP] How generate unique randoms
Hi my friends.
Today i will show u how generate unique random integer on php...
This is oru function to suffle our numbers.. For randomize :)
function UniqueRandom($min, $max, $leng) {How it use:
$numbers= range($min, $max);
shuffle($numbers);
return array_slice($numbers, 0, $leng);
}
<?php
print_r( UniqueRandom(0,25,5) );
?>
OutPut:
Array ( [0] => 12 [1] => 19 [2] => 5 [3] => 22 [4] => 3
)
And you can use that code like that:
<?php
$numbers=UniqueRandom(0,25,5);
echo numbers[0];
echo $numbers[3];
?>
Friday, 14 February 2014
New technology in classrooms
With android and other portable device... Technology enter our classrooms... Our child or brother/sister's living with technology in their class.In our years no computer or no technology in our classes but now it's sooo different :)
Let's see how it NEW TECHNOLOGY CLASSROOMS AND SCHOOLS...
Laptop's...
Thouchable screen tables...
A little comic's about that :))
Thursday, 13 February 2014
5$ VPS 20GB SSD + 512MB Memory + 1TB Bandwidth
Hi!
Look like nice offer;)
DigitalOcean Giving VPS 20GB SSD + 1TB Bandwidth + 512MB Memory...
That's all only 5$..
Near the free..
Get your VPS today.
Tuesday, 11 February 2014
[C#] How make a auto login bot
Hi all!Today we will make a auto login bot :)
Lets start first open a new project.
Select C# Form Application.
and add Web Browser to your form.
and set WebBrowser Url to = https://www.facebook.com
I added 2 label 2 textbox and a button for login process
u can do it with setting file generate a .txt file and save email and password here and read and login account when form load.
double click LOGIN button :) and go button_click event :)
First we need to find textbox id on facebook :D lets hack facebook :P
WOW i hacked facebook :P
anyways email id is "email" that was sooooo different from my imagine :D
and password id is "pass" yeap that was different :D
and Log In button id is "loginbutton" :D
and our code is
webBrowser1.Document.GetElementById("email").SetAttribute("value", textBox1.Text);
webBrowser1.Document.GetElementById("pass").SetAttribute("value", textBox2.Text);
webBrowser1.Document.GetElementById("loginbutton").InvokeMember("click");
and thats all.. We find our Elements with their ID's and we set their values and we invoke button and we are in facebook :D
and lets see how it works :)
Our codes working fine ;)
ther is my project all codes:http://yadi.sk/d/h-5rrNS8HjNzJ
Thursday, 6 February 2014
MO Youtube Downloader
Hi my friends...
i write a new program with this program you can download youtube videos mp3 or mp4 format.
Mp4 video quality: 360p
Some Screenshoot's:
Download Link: https://sourceforge.net/projects/moyd/
VirusTotal;
Zip: 0 / 50
Exe: 0 /50
Subscribe to:
Posts (Atom)