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 | |
// ----- dd-wrt DDNS settings: ----- | |
// DDNS Service: Custom | |
// DYNDNS Server: <your web server domain> (e.g. www.example.com) | |
// User Name: <anything> | |
// Password: <anything> | |
// Host Name: <your DDNS hostname> (e.g. home.example.com) | |
// URL: /cloudflare_ddns_updater.php?email=<your cloudflare account email>&apikey=<your cloudflare client api key>&domain=<your domain>&host=<your DDNS hostname> | |
// (e.g.: /[email protected]&apikey=123456789012345678901234567890&domain=example.com&host=home.example.com) | |
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
#!/bin/sh | |
# | |
# chmodr.sh | |
# | |
# author: Francis Byrne | |
# date: 2011/02/12 | |
# | |
# Generic Script for recursively setting permissions for directories and files | |
# to defined or default permissions using chmod. | |
# |
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 | |
/** | |
* Settings | |
*/ | |
define('API_KEY', $_GET['apikey']); // CloudFlare API key | |
define('USERNAME', '[email protected]'); // Email address used to login into CloudFlare | |
define('IP', getCurrentIP()); // Current IP address | |
echo 'Setting IP address to "' . IP . '"...<br />'; |