- 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
; -- START GCODE -- | |
G21 ;set units to millimetres | |
G90 ;set to absolute positioning | |
M106 S0 ;set fan speed to zero (turned off) | |
G28 ;(Home) | |
G29 A ;Activate UBL | |
G29 L0 ;Load UBL mesh from slot 0 | |
G29 J ;tilt mesh based in three points | |
G1 Z7.0 F1200 ;move Z to position 10.0 mm | |
G92 E0 ;zero the extruded length |
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
behat: | |
image: qualiboo/testing-behat | |
volumes: | |
- ./behat:/var/work | |
links: | |
- hub | |
environment: | |
website: http://localhost | |
hub: | |
image: qualiboo/testing-hub |
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
# Path to your oh-my-zsh installation. | |
export ZSH=$HOME/.oh-my-zsh | |
# Set name of the theme to load. | |
# Look in ~/.oh-my-zsh/themes/ | |
# Optionally, if you set this to "random", it'll load a random theme each | |
# time that oh-my-zsh is loaded. | |
ZSH_THEME="agnoster" | |
# Uncomment the following line to use case-sensitive completion. |
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) |
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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing! | |
VAGRANTFILE_API_VERSION = "2" | |
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | |
# All Vagrant configuration is done here. The most common configuration | |
# options are documented and commented below. For a complete reference, | |
# please see the online documentation at vagrantup.com. |
NewerOlder