Skip to content

Instantly share code, notes, and snippets.

View bshensky's full-sized avatar

Brian Shensky bshensky

View GitHub Profile
@Pulimet
Pulimet / AdbCommands
Last active April 25, 2024 08:49
Adb useful commands list
adb help // List all comands
== Adb Server
adb kill-server
adb start-server
== Adb Reboot
adb reboot
adb reboot recovery
adb reboot-bootloader
<?php
class DropboxWebhook
{
/**
* Handle the dropbox webhook request
*/
public function handle()
{
global $container;
@Foxy79
Foxy79 / dropbox-webhook.php
Created March 18, 2016 09:57
DropBox WebHook PHP Sample
<?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)) {