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 | |
surf = cv2.xfeatures2d.SURF_create() | |
trainer = cv2.BOWKMeansTrainer(300) | |
for i in range(0, 300): | |
image = np.random.randint(255, size=(400, 400), dtype=np.uint8) | |
_, desc = surf.detectAndCompute(image, 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
#include <stdio.h> | |
char number[5] = "\0"; | |
void fizz(int a) | |
{ | |
printf("fizz"); | |
sprintf(number, " %d\n", a); | |
} | |
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
cd "%~dp0" | |
Powershell.exe -executionpolicy remotesigned -File ./wlan_autoconfig_switch.ps1 |
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
using UnityEngine; | |
using System.Collections.Generic; | |
public class ObjectChunk | |
{ | |
WorldPos originBlockPos; | |
List<WorldPos> relativeBlocksPos; | |
public ObjectChunk(RaycastHit hit) | |
{ |