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
adb help // List all comands | |
== Adb Server | |
adb kill-server | |
adb start-server | |
== Adb Reboot | |
adb reboot | |
adb reboot recovery | |
adb reboot-bootloader |
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 | |
class DropboxWebhook | |
{ | |
/** | |
* Handle the dropbox webhook request | |
*/ | |
public function handle() | |
{ | |
global $container; |
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 | |
define ('SECRET', 'Your_secret_here'); | |
if (isset($_GET['challenge'])) { | |
echo $_GET['challenge']; | |
} else { | |
$raw_data = file_get_contents('php://input'); | |
if ($raw_data) { | |
$json = json_decode($raw_data); | |
if (is_object($json)) { |