Skip to content

Instantly share code, notes, and snippets.

use Win32::OLE qw(in);
use Win32::OLE::Const "Active DS Type Library";
$root_dse = bind_object("RootDSE");
$root_dse->GetInfo();
$con = Win32::OLE->new("ADODB.Connection");
$con->{Provider} = "ADsDSOObject";
$con->{Properties}->{"User ID"} = "Interim F";
$con->{Properties}->{"Password"} = "Interim F";
//
// Created by simondegheselle on 11/2/19.
//
#ifndef SPLAY_TREES_TOP_DOWN_SPLAY_TREE_H
#define SPLAY_TREES_TOP_DOWN_SPLAY_TREE_H
#include <cassert>
#include "search_tree.h"
#ifndef BTREE_H
#define BTREE_H
#include "../schijf/schijf.h"
#include "bknoop.h"
#include <stack>
#include <string>
#include <sstream>
//
// Created by simondegheselle on 11/1/19.
//
#ifndef COMPONENTGRAPH_GRAAF_H
#define COMPONENTGRAPH_GRAAF_H
#include <cassert>
#include <fstream>
#include <string>
def thread_worker(self, painting):
"""Function that a thread uses for searching the hall of an image"""
print("Trying to match a possible painting")
if (self.paintingDetector.isPainting(painting)):
matches = self.paintingRecognizer.recognize(painting)
if matches[0][1] > 0:
# (hal, image_path, aantalmatches)
return (matches[0][0], matches[0][2][2], matches[0][1])
return None
/etc/named.conf
options {
directory "/var/named"
}
zone "vocal.XVII.de" {
type master
file "vocal.XVII.de"
}
import numpy as np
import cv2
import argparse
parser = argparse.ArgumentParser()
parser.add_argument("-f", help="path to image", dest="filename", required=True)
args = parser.parse_args()
img = cv2.imread(args.filename)
dim = 90
//
// Created by simon on 17/03/19.
//
#include <vector>
#include <iostream>
#include <algorithm>
#include "insertion_sort.h"
#include <cmath>
//
// Created by simon on 17/03/19.
//
#include <vector>
#include <iostream>
#include <algorithm>
#include "insertion_sort.h"
#include <cmath>
//
// Created by simon on 17/03/19.
//
#include <vector>
#include <iostream>
#include <algorithm>
#include "insertion_sort.h"
#include <cmath>