Skip to content

Instantly share code, notes, and snippets.

View moenk's full-sized avatar

Thomas "moenk" Meier moenk

View GitHub Profile
#!/bin/bash
# If you got false positives, try a higher value
BOGOTHRESH=1500
# Defines how much unsoliced incoming udp is accepted
BOGOIGRESS=20
# Note: for mail alarm, you need "ssmtp" installed and configured.
# Example /etc/ssmtp/ssmtp.conf (debian/ubuntu) for GMX needs:
@wrygiel
wrygiel / nearest_unfound.php
Last active November 21, 2018 21:06
Finding nearest unfound caches with OKAPI
<?php
/* Enter your OKAPI's URL here. */
$okapi_base_url = "https://opencaching.pl/okapi/";
/* Enter your Consumer Key here. */
$consumer_key = "YOUR_KEY_HERE";
/* Caches found by this user will be EXCLUDED from the result. */
$username = "USERNAME_HERE";