Skip to content

Instantly share code, notes, and snippets.

View ronaldbaltus's full-sized avatar

Ronald Baltus ronaldbaltus

View GitHub Profile
@ronaldbaltus
ronaldbaltus / clubislive-api.php
Created November 10, 2016 07:35
Basic ClubIslive API authentication implementation and customer registration example
<?php
class ClubisliveApi
{
private $url = 'https://api.clubislive.nl/';
private $key = '';
private $testMode = false;
const METHOD_POST = 'post';
const METHOD_GET = 'get';
@ronaldbaltus
ronaldbaltus / rotbot.htaccess
Last active August 25, 2018 12:48
Rotbot .htaccess - Block annoying bots with a simple htaccess
# Not so evil bots, but they are bots. If you want to block them, just remove the # in the front.
#SetEnvIfNoCase User-Agent "googlebot" rotbot
#SetEnvIfNoCase User-Agent "bingbot" rotbot
#SetEnvIfNoCase User-Agent "AppEngine-Google" rotbot
#SetEnvIfNoCase User-Agent "Google-Image" rotbot
#SetEnvIfNoCase User-Agent "msnbot-media" rotbot
SetEnvIfNoCase User-Agent "AdsBot-Google" rotbot
# Block evil bots
SetEnvIfNoCase User-Agent "AhrefsBot" rotbot

Optional:

 mingw-w64-x86_64-qt-creator
 mingw-w64-x86_64-gdb 
pacman -S git \
mingw-w64-x86_64-qt-creator mingw-w64-x86_64-cmake \
mingw-w64-x86_64-qt-creator mingw-w64-x86_64-cmake \
@ronaldbaltus
ronaldbaltus / Islive Api.md
Last active July 24, 2018 11:16 — forked from VMBindraban/Islive API.md
Korte handleiding voor het gebruikt van http://www.islive.nl/api

Available Arguments

Updated: 5th of May 2017

Fetch minimal

Use fetch=minimal to retrieve the following pre-defined properties: modelnaam,taal0,taal1,taal2,geslacht,decency,available_contact,online,leeftijd,waardering,uiterlijk,woonplaats,land.

Example: ?fetch=minimal

Fetch full

Use fetch=full to retrieve the following pre-defined properties:

;
(function () {
/**
* The TextScan object constructor.
*
* @constructor
*/
function TextScan() {