This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// 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" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef BTREE_H | |
#define BTREE_H | |
#include "../schijf/schijf.h" | |
#include "bknoop.h" | |
#include <stack> | |
#include <string> | |
#include <sstream> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// Created by simondegheselle on 11/1/19. | |
// | |
#ifndef COMPONENTGRAPH_GRAAF_H | |
#define COMPONENTGRAPH_GRAAF_H | |
#include <cassert> | |
#include <fstream> | |
#include <string> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/etc/named.conf | |
options { | |
directory "/var/named" | |
} | |
zone "vocal.XVII.de" { | |
type master | |
file "vocal.XVII.de" | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// Created by simon on 17/03/19. | |
// | |
#include <vector> | |
#include <iostream> | |
#include <algorithm> | |
#include "insertion_sort.h" | |
#include <cmath> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// Created by simon on 17/03/19. | |
// | |
#include <vector> | |
#include <iostream> | |
#include <algorithm> | |
#include "insertion_sort.h" | |
#include <cmath> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// Created by simon on 17/03/19. | |
// | |
#include <vector> | |
#include <iostream> | |
#include <algorithm> | |
#include "insertion_sort.h" | |
#include <cmath> |
NewerOlder