Skip to content

Instantly share code, notes, and snippets.

Wojciech Rygielski wrygiel

Block or report user

Report or block wrygiel

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
wrygiel / providers.xml
Last active Dec 10, 2015
Example configuration of Locus map provider for OpenCaching.PL
View providers.xml
<?xml version="1.0" encoding="UTF-8"?>
<!-- Google maps classic -->
<provider id="10020" type="0" visible="true" background="-1">
wrygiel / nearest_unfound.php
Last active Nov 21, 2018
Finding nearest unfound caches with OKAPI
View nearest_unfound.php
/* Enter your OKAPI's URL here. */
$okapi_base_url = "";
/* Enter your Consumer Key here. */
$consumer_key = "YOUR_KEY_HERE";
/* Caches found by this user will be EXCLUDED from the result. */
$username = "USERNAME_HERE";
wrygiel / users.php
Last active Nov 21, 2018
View users.php
$okapi_base_url = "";
$json = file_get_contents($okapi_base_url."services/apisrv/stats");
$data = json_decode($json);
print "Number of OpenCaching.PL users: ".$data->user_count;
wrygiel / proxy.php
Created Dec 6, 2012
USOS API proxy
View proxy.php
/* USOS API Base URL, trailing slash included. */
$usosapi_base_url = '';
/* Consumer Key to use. */
$consumer_key = '';
$consumer_secret = '';
wrygiel / hello.php
Created Dec 6, 2012
View hello.php
ini_set("display_errors", 1);
/* USOS API Base URL, trailing slash included. */
$usosapi_base_url = '';
/* URL of THIS script. Required for callback support. */
$self_url = '';
You can’t perform that action at this time.