Skip to content

Instantly share code, notes, and snippets.

View andrieslouw's full-sized avatar

Andries Louw Wolthuizen andrieslouw

View GitHub Profile
@andrieslouw
andrieslouw / sony-rx0-ii-control.cs
Created August 14, 2021 13:04
Sony RX0 II camera read
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;
@andrieslouw
andrieslouw / cfban.php
Created October 11, 2016 15:21
Cloudflare V4 PHP API - block / unblock IP in firewall
<?php
/**
* @author https://github.com/andrieslouw
* @copyright 2016
**/
function cfban($ipaddr){
$cfheaders = array(
'Content-Type: application/json',
'X-Auth-Email: your@email.com',

Keybase proof

I hereby claim:

  • I am andrieslouw on github.
  • I am andrieslouw (https://keybase.io/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: