This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
String imei = "123456789012345"; | |
CloneChecker cloneChecker = new CloneChecker(MainActivity.this, imei); | |
cloneChecker.onFinish(new CloneChecker.OnTaskCompleted() { | |
@Override | |
public void onTaskCompleted(boolean ogay) { | |
if (ogay) { | |
//This is original | |
} else { | |
//This is clone | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div id="wrapper"> | |
<div id="iphone"> | |
<div id="camera"> | |
<span></span> | |
<span></span> | |
</div> | |
<div id="screen"> | |
<div id="content-wrap"> | |
<div id="background"></div> | |
<div id="content"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (document.body.textContent) { | |
get_all_video(); | |
get_audio(); | |
} | |
function parseURL(url) { | |
if (url == null) { | |
return null; | |
} | |
return url.replace(/amp;/g, ''); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function get_map() { | |
var str = document.head.innerHTML, //get html in current page | |
regex = /fmt_stream_map",(.*?)]/gm, //fetch map regex | |
m; | |
if ((m = regex.exec(str)) !== null) { | |
return m[1].replace(/"/g, ","); | |
} | |
return null; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$yadisk = 'https://yadi.sk/i/d-8trVHpcT6qQA'; | |
$json = file_get_contents("https://cloud-api.yandex.net/v1/disk/public/resources/?public_key={$yadisk}"); | |
$json = json_decode($json); | |
echo 'File => ' . $json->file . 'Size => ' . sizeFilter($json->size) . 'Name => ' . $json->name; | |
function sizeFilter($bytes) | |
{ | |
$label = array('B', 'KB', 'MB', 'GB', 'TB', 'PB'); |