This file contains 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
# | |
# Licensed to the Apache Software Foundation (ASF) under one | |
# or more contributor license agreements. See the NOTICE file | |
# distributed with this work for additional information | |
# regarding copyright ownership. The ASF licenses this file | |
# to you under the Apache License, Version 2.0 (the | |
# "License"); you may not use this file except in compliance | |
# with the License. You may obtain a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 |
This file contains 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 tensorflow as tf | |
from IPython.display import display | |
from PIL import Image | |
import keras | |
%matplotlib inline | |
import matplotlib.pyplot as plt | |
import numpy as np | |
import math | |
print(tf.__version__) | |
print(keras.__version__) |
This file contains 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
apiVersion: v1 | |
kind: Pod | |
metadata: | |
name: mypod | |
spec: | |
containers: | |
- image: nginx:1.15.5 | |
name: mypod | |
resources: | |
requests: |
This file contains 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
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
name: {{ template "crack-detection-classification.fullname" . }} | |
namespace: {{ .Values.general.namespace }} | |
labels: | |
app: {{ template "crack-detection-classification.name" . }} | |
chart: {{ .Chart.Name }}-{{ .Chart.Version }} | |
release: {{ .Release.Name }} | |
heritage: {{ .Release.Service }} |
This file contains 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 mcr.microsoft.com/azure-functions/python:2.0 | |
COPY . /home/site/wwwroot | |
RUN cd /home/site/wwwroot && \ | |
pip install -r requirements.txt |
This file contains 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
using System; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Microsoft.Azure.WebJobs; | |
using Microsoft.Extensions.Logging; | |
using Microsoft.WindowsAzure.Storage.Queue; | |
using Newtonsoft.Json; | |
using ObjectDetection.Models; | |
using ObjectDetection.Services; |
This file contains 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
apiVersion: extensions/v1beta1 | |
kind: Ingress | |
metadata: | |
name: obj-det-ingress | |
namespace: default | |
annotations: | |
kubernetes.io/ingress.class: nginx | |
nginx.ingress.kubernetes.io/enable-cors: "true" | |
nginx.ingress.kubernetes.io/cors-allow-methods: "PUT, DELETE, GET, POST, OPTIONS" | |
nginx.ingress.kubernetes.io/cors-allow-origin: "https://objectdetectionstorageqa.z19.web.core.windows.net/" |
This file contains 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
apiVersion: certmanager.k8s.io/v1alpha1 | |
kind: ClusterIssuer | |
metadata: | |
name: letsencrypt-staging | |
namespace: ingress-basic | |
spec: | |
acme: | |
server: https://acme-staging-v02.api.letsencrypt.org/directory | |
email: Nick.Purcell@bentley.com | |
privateKeySecretRef: |
This file contains 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 { Log, User, UserManager } from 'oidc-client'; | |
import { Constants } from '../helpers/Constants'; | |
export class AuthService { | |
public userManager: UserManager; | |
constructor() { | |
const settings = { | |
authority: Constants.stsAuthority, |
This file contains 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 mcr.microsoft.com/azure-functions/python:2.0 | |
COPY . /home/site/wwwroot | |
RUN cd /home/site/wwwroot && \ | |
pip install -r requirements.txt | |
NewerOlder