- Labels Detection
- Faces Detection
- Faces Comparison
- Faces Indexing
- Faces Search
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
# https://superuser.com/a/1434648 | |
Add-Type -AssemblyName System.Runtime.WindowsRuntime | |
$asTaskGeneric = ([System.WindowsRuntimeSystemExtensions].GetMethods() | ? { $_.Name -eq 'AsTask' -and $_.GetParameters().Count -eq 1 -and $_.GetParameters()[0].ParameterType.Name -eq 'IAsyncOperation`1' })[0] | |
Function Await($WinRtTask, $ResultType) { | |
$asTask = $asTaskGeneric.MakeGenericMethod($ResultType) | |
$netTask = $asTask.Invoke($null, @($WinRtTask)) | |
$netTask.Wait(-1) | Out-Null | |
$netTask.Result |
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
#!/bin/sh | |
# defaults for NetExtender Dell VPN Client | |
# sourced by /etc/init.d/netextender | |
# should be placed in /etc/default/netextender | |
# Enable or disable the daemon | |
ENABLE_DAEMON=1 | |
# Path to daemon | |
DAEMON=/usr/sbin/netExtender |
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
FROM ruby:2.1-onbuild | |
CMD ["./delete-hipchat-history.rb"] |
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
--http://www.instructables.com/id/ESP8266-based-web-configurable-wifi-general-purpos-1/ | |
--Code by HoracioBouzas, formatted for use with ESPlorer by jimoconnell | |
print("WIFI control"); | |
-- put module in AP mode | |
wifi.setmode(wifi.SOFTAP); | |
print("ESP8266 mode is: " .. wifi.getmode()); | |
cfg={}; | |
-- Set the SSID of the module in AP mode and access password | |
cfg.ssid="ESP8266"; | |
cfg.pwd="passwordpassword"; |
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
/** | |
* @author Mike Almond - @mikedotalmond | |
* | |
* Example sketch for working with the HC-SR04 Ultrasound distance sensor | |
* http://users.ece.utexas.edu/~valvano/Datasheets/HCSR04b.pdf | |
* | |
* Uses a hardware interrupt to monitor the echo pin and measure the pulse length (without pausing code execution like you would when using Arduino::pulseIn()) | |
* https://github.com/mikedotalmond/arduino-pulseInWithoutDelay | |
* PulseInZero uses interrupt 0 ( pin 2 on arduino uno) | |
* PulseInOne uses interrupt 1 ( pin 3 on an arduino uno) |