Skip to content

Instantly share code, notes, and snippets.


Andries Louw Wolthuizen andrieslouw

View GitHub Profile
View sony-rx0-ii-control.cs
using System;
using System.Threading.Tasks;
using System.Threading;
using System.Collections.Generic;
using System.Net;
using System.Net.Http;
using System.Timers;
using System.Text.RegularExpressions;
using Newtonsoft.Json.Linq;
using System.Diagnostics;

Keybase proof

I hereby claim:

  • I am andrieslouw on github.
  • I am andrieslouw ( on keybase.
  • I have a public key whose fingerprint is 1F9D 0881 E779 B284 EBE3 25FC 7560 C1B3 861C E500

To claim this, I am signing this object:

andrieslouw / cfban.php
Created Oct 11, 2016
Cloudflare V4 PHP API - block / unblock IP in firewall
View cfban.php
* @author
* @copyright 2016
function cfban($ipaddr){
$cfheaders = array(
'Content-Type: application/json',