- 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
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
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
Show hidden characters
{ | |
"compileOnSave": true, | |
"compilerOptions": { | |
"module": "commonjs", | |
"target": "es6", | |
"sourceMap": true, | |
"experimentalDecorators": true, | |
"emitDecoratorMetadata": true, | |
"lib": [ | |
"es5", |
- Binary Builds
oc new-build --binary=true --name=ola2 --image-stream=redhat-openjdk18-openshift
oc start-build ola2 --from-file=./target/ola.jar --follow
oc new-app
- Turn off/on DC triggers to do a batch of changes without spam many deployments
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
# kubernetes - is an open source system for managing containerized | |
# applications across multiple hosts, providing basic mechanisms for | |
# deployment, maintenance, and scaling of applications. | |
# See: https://kubernetes.io | |
function __kubectl_no_command | |
set -l cmd (commandline -poc) | |
if not set -q cmd[2] | |
return 0 | |
end |
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 oo-ruby | |
require "/var/www/openshift/broker/config/environment" | |
Rails.configuration.analytics[:enabled] = false | |
Mongoid.raise_not_found_error = false | |
class Regenerate | |
def self.run | |
entries = [] | |
Application.all.each do |app| |
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
--- | |
- name: Create partitions on master | |
hosts: masters | |
become: yes | |
tasks: | |
- name: Create LVEtcd logical volume | |
lvol: | |
lv: LVEtcd | |
size: 10g |
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
# A test to see if a route can bind to endpoints w/o a svc. | |
# Create an endpoints | |
apiVersion: v1 | |
kind: Endpoints | |
metadata: | |
labels: | |
app: console | |
name: console-test | |
namespace: openshift-console |