This file contains hidden or 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 | |
| header("Content-Type: application/rss+xml; charset=utf-8"); | |
| error_reporting(E_ALL); | |
| ini_set("display_errors", 0); | |
| define('STEAM_USER', $_GET['u']); | |
| define('LIST_URL', "http://steamcommunity.com/id/".STEAM_USER."/screenshots/?appid=0&sort=newestfirst&browsefilter=myfiles&view=grid"); | |
| include('extlib/ganon/ganon.php'); |
This file contains hidden or 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 | |
| //Variables, set these | |
| $xmlrpc_fullurl = "http://www.example.com/cgi-bin/mt/mt-xmlrpc.cgi"; // path to your mt-xmlrpc.cgi file | |
| $blog_id = "3"; //The blog ID to post to, as IFTTT has no options for this we force it. | |
| //Fetch the request and turn it into an XML element for editing | |
| $request_body = file_get_contents('php://input'); | |
| $methodCall = new SimpleXMLElement($request_body); | |
| //Check if the title includes a blog id in the form "title {x}" |
This file contains hidden or 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('PUSHOVER_API_KEY', '<API KEY>'); //Replace with your API Key | |
| $userKey = (isset($_GET['u']) ? $_GET['u'] : '<DEFAULT USER ID>'); //Default user or group | |
| $response = json_decode(file_get_contents('php://input'), true); | |
| switch ($response["Type"]) { | |
| case "SubscriptionConfirmation": | |
| //For this use case, we will just automatically subscribe, we could forward this via email, |
This file contains hidden or 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
| strRestoreFolder = "G:\Document" | |
| strOriginalFolder = "E:\Document" | |
| bolDoIt = false | |
| strAffectedFiles = "odt, ods, odp, odm, odc, odb, doc, docx, docm, wps, xls, xlsx, xlsm, xlsb, xlk, ppt, pptx, pptm, mdb, accdb, pst, dwg, dxf, dxg, wpd, rtf, wb2, mdf, dbf, psd, pdd, eps, ai, indd, cdr, jpg, jpe, jpg, dng, 3fr, arw, srf, sr2, bay, crw, cr2, dcr, kdc, erf, mef, mrw, nef, nrw, orf, raf, raw, rwl, rw2, r3d, ptx, pef, srw, x3f, der, cer, crt, pem, pfx, p12, p7b, p7c, pdf, tif" | |
| arrAffectedFiles = Split(arrAffectedFiles, ", ") | |
| Set dicAffectedFiles = CreateObject("Scripting.Dictionary") |
OlderNewer