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
# At time of writing the python parent image uses Debian 11 | |
FROM tiangolo/uvicorn-gunicorn:python3.8-slim | |
COPY requirements.txt . | |
# Setup dependencies for pyodbc and weasyprint (cairo and pango libs) | |
RUN \ | |
apt-get update && \ | |
apt-get install -y curl build-essential unixodbc-dev g++ apt-transport-https libcairo2 libpango-1.0-0 libpangocairo-1.0-0 && \ | |
# ADD THE KEY FROM MICROSOFT |
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
<template> | |
<div> | |
<div v-if="error">{{ error }}</div> | |
<iframe v-if="pdfUrl" :src="pdfUrl" class="pdf"></iframe> | |
</div> | |
</template> | |
<script> | |
const axios = require('axios'); |
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
<!-- using Bootstrap 4 grid --> | |
<section ng-controller="myController"> | |
<div class="container-fluid"> | |
<div class="row"> | |
<div class="col-sm-2" ng-repeat="i in images | limitTo:showThisMany"> | |
<img ng-src="{{ i.thumbnail }}" class="img-fluid" /> | |
</div> | |
</div> |
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
<div class="row"> | |
<div class="col-lg-4"> | |
<div class="card"> | |
<div class="card-body"> | |
<video onplay="pauseAll(story1)" id='story1' controls> | |
<source src="story1.mp4" type="video/mp4"> | |
</video> | |
</div><!-- card body --> | |
</div><!-- card --> | |
</div><!-- col --> |
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
// modified from: https://medium.com/@kevinle/exchange-refresh-token-for-json-web-token-jwt-in-angularjs-using-promise-453da9127cd7 | |
'use strict'; | |
angular.module('supportApp.services', []) | |
.factory('authService', ['$http', '$q', 'authCookies', 'parseToken', | |
function ($http, $q, authCookies, parseToken) { | |
return { |