Skip to content

Instantly share code, notes, and snippets.

View BrandonKroes's full-sized avatar

Brandon Kroes BrandonKroes

View GitHub Profile
void Start()
{
CapabilitiesReq("http://geodata.nationaalgeoregister.nl/tiles/service/wmts?REQUEST=GetCapabilities");
PDOKMapLayer pDOK = GetLayer("brtachtergrondkaart");
Debug.Log("AVAILABLE SETS \n=====");
foreach (string set in pDOK.TileMatrixSet)
{
Debug.Log(set);
}
from itertools import cycle
import random
import sys
# import RPi.GPIO as GPIO
import pygame
from pygame.locals import *
""" Instantieer de knoppen hier! """
from itertools import cycle
import random
import sys
import RPi.GPIO as GPIO
import pygame
from pygame.locals import *
""" Instantieer de knoppen hier! """
# import the necessary packages
import argparse
import cv2
# initialize the list of reference points and boolean indicating
# whether cropping is being performed or not
refPt = []
cropping = False
# import the necessary packages
import argparse
import cv2
# initialize the list of reference points and boolean indicating
# whether cropping is being performed or not
refPt = []
cropping = False
import cv2
# initialize the list of reference points and boolean indicating
# whether cropping is being performed or not
refPt = []
cropping = False
def click_and_crop(event, x, y, flags, param):
# grab references to the global variables
import io
import picamera
import logging
import socketserver
from threading import Condition
from http import server
PAGE="""\
<html>
<head>
@BrandonKroes
BrandonKroes / magic_square_v1.ipynb
Created May 20, 2019 23:08
Magic Square Solver v1
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
import re
# def parse_file(path):
f = open('Logbestand VSFTPD.log')
lines = f.read().splitlines()
f.close()
downloads = []
failed = []
connects = []
//
// Created by brand on 4/11/2018.
//
#include "Grid.h"
#include<iostream>
#include<queue>
#include "Grid.h"
#include <iostream>
#include <vector>