Skip to content

Instantly share code, notes, and snippets.

View tolkonepiu's full-sized avatar
:shipit:

Pavel Popov tolkonepiu

:shipit:
View GitHub Profile

Keybase proof

I hereby claim:

  • I am tolkonepiu on github.
  • I am tolkonepiu (https://keybase.io/tolkonepiu) on keybase.
  • I have a public key ASC9EUX3Vre-Qs6Xp7ORTvJUK1RPC-twmA_naWX9Tbd2Owo

To claim this, I am signing this object:

@tolkonepiu
tolkonepiu / cloudflare.php
Created August 20, 2016 14:10
CloudFlare DDNS provider for Synology
#!/usr/bin/php -d open_basedir=/usr/syno/bin/ddns
<?php
if ($argc !== 5) {
echo 'badparam';
exit();
}
$mail = (string)$argv[1];
$api_key = (string)$argv[2];