- 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
Show hidden characters
{ | |
"compileOnSave": true, | |
"compilerOptions": { | |
"module": "commonjs", | |
"target": "es6", | |
"sourceMap": true, | |
"experimentalDecorators": true, | |
"emitDecoratorMetadata": true, | |
"lib": [ | |
"es5", |
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
version: '3' | |
services: | |
neon-wallet-db: | |
container_name: "neon-wallet-db" | |
image: slipoh/neon-wallet-db:latest | |
environment: | |
- MONGOURL=mongodb:27017 | |
- MONGOPASS=neo | |
- MONGOUSER=gas | |
- MONGOAPP=test |
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
{ | |
total_rows: 5, | |
offset: 0, | |
rows: [ | |
{ | |
id: 'b2303bd3712c4894922f3bd04900bb03', | |
key: 'b2303bd3712c4894922f3bd04900bb03', | |
value: { | |
rev: '1-3b717529ff0f515c2c5d8aa52a2c03ab', | |
}, |
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 axios from 'axios' | |
function api(user, pass) { | |
return axios.create({ | |
'X-User':user, | |
'X-Password':pass | |
}) | |
} | |
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 axios from 'axios' | |
function api(user, pass) { | |
return axios.create({ | |
'X-User':user, | |
'X-Password':pass | |
}) | |
} | |
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 debian:jessie | |
MAINTAINER Michael Mano <[email protected]> | |
# Don't ask questions. | |
ENV DEBIAN_FRONTEND noninteractive | |
RUN apt-get update && apt-get install -y \ | |
curl \ | |
&& curl https://www.dotdeb.org/dotdeb.gpg | apt-key add - && \ | |
curl -sL https://deb.nodesource.com/setup_7.x | bash - \ |
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/bash | |
sudo docker build -t $JOB_NAME/$BUILD_NUMBER . | |
DB_NAME="/$JOB_NAME-$BUILD_NUMBER-db" | |
DB_CONTAINER=$(sudo docker run -d -name $DB_NAME <private repository URL>/database-schema) | |
sudo docker run -link $DB_NAME:db -t $JOB_NAME/$BUILD_NUMBER nosetests | |
sudo docker tag $JOB_NAME/$BUILD_NUMBER <private repository URL>/${JOB_NAME}-master | |
sudo docker push <private repository URL>/${JOB_NAME}-master >/dev/null | |
sudo docker kill ... | |
sudo docker rm ... | |
sudo docker rmi ... |
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
var parser = document.createElement('a'); | |
parser.href = "http://example.com:3000/pathname/?search=test#hash"; | |
parser.protocol; // => "http:" | |
parser.hostname; // => "example.com" | |
parser.port; // => "3000" | |
parser.pathname; // => "/pathname/" | |
parser.search; // => "?search=test" | |
parser.hash; // => "#hash" | |
parser.host; // => "example.com:3000" |
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
#!/usr/bin/env node | |
/* | |
Use the Yahoo Finance CSV API to do some basic market research calculations. | |
- Background: http://greenido.wordpress.com/2009/12/22/yahoo-finance-hidden-api/ | |
- Example URL: http://finance.yahoo.com/d/quotes.csv?s=GOOG+FB+AAPL&f=snj1pr | |
s: Symbol | |
n: Name | |
j1: Market Capitalization (in billions) | |
p: Price-per-share (at previous close) |