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
Set-ExplorerOptions -showProtectedOSFiles -showFileExtensions | |
Enable-RemoteDesktop | |
choco install -y NetFx3 -source windowsfeatures | |
choco install -y TelnetClient -source windowsfeatures | |
choco install -y git.install | |
choco install -y hg | |
choco install -y 7zip.commandline | |
choco install -y 7zip.install |
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> | |
#include <windows.h> | |
#include <atlbase.h> | |
#include <spellcheck.h> | |
#define HR(hr) \ | |
if (FAILED(hr)) \ | |
{ \ | |
return; \ | |
} |
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 "Particle.h" | |
#include "BeaconScanner.h" | |
int16_t littleEndianToInt16(const uint8_t* data) { | |
return (int16_t)((data[1] << 8) | data[0]); | |
} | |
void BeaconScanner::start() { | |
if (_run) return; |