View _silent-check-sso.html
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
<html> | |
<body> | |
<script> | |
parent.postMessage(location.href, location.origin) | |
</script> | |
</body> | |
</html> |
View _silent-check-sso.html
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
<html> | |
<body> | |
<script> | |
parent.postMessage(location.href, location.origin) | |
</script> | |
</body> | |
</html> |
View index.js
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 KcAdminClient from "@keycloak/keycloak-admin-client"; | |
const kcAdminClient = new KcAdminClient({ | |
baseUrl: "http://localhost:8080", | |
realmName: "myrealm", | |
}); | |
const credentials = { | |
grantType: "password", | |
username: "superuser", |
View angular.json
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
{ | |
"projects": { | |
"ngx-introjs": { | |
"architect": { | |
"build": { | |
"options": { | |
"styles": [ | |
"node_modules/intro.js/introjs.css" | |
], | |
"scripts": [ |
View client_3.py
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 argparse | |
from ws4py.client.threadedclient import WebSocketClient | |
import time | |
import threading | |
import sys | |
import urllib.parse | |
import queue | |
import json | |
import time | |
import os |
View package.json
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
{ | |
"name": "demo-project", | |
"version": "0.0.3", | |
"husky": { | |
"hooks": { | |
"pre-commit": "npm --no-git-tag-version version patch && sh updateSonarProps.sh && git add ." | |
} | |
} | |
} |
View docker-compose.yml
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
version: '3.4' | |
services: | |
app: | |
image: php:7.2-fpm-alpine | |
restart: unless-stopped | |
volumes: | |
- ./:/var/www/html | |
- ./www.conf:/usr/local/etc/php-fpm.d/www.conf | |
webserver: |
View client_2.py
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 argparse | |
from ws4py.client.threadedclient import WebSocketClient | |
import time | |
import threading | |
import sys | |
import urllib | |
import Queue | |
import json | |
import os | |
import datetime |
View .env
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
DB_HOST=db | |
DB_PORT=27017 | |
DB_ROOT_USER=root | |
DB_ROOT_PASS=rootpass | |
DB_USER=user | |
DB_PASSWORD=userpass | |
DB_NAME=mydb |
View create-vod-hls-gpu.sh
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
#!/usr/bin/env bash | |
START_TIME=$SECONDS | |
set -e | |
echo "-----START GENERATING HLS STREAM-----" | |
# Usage create-vod-hls-gpu.sh SOURCE_FILE [OUTPUT_NAME] | |
[[ ! "${1}" ]] && echo "Usage: create-vod-hls.sh SOURCE_FILE [OUTPUT_NAME]" && exit 1 | |
# comment/add lines here to control which renditions would be created | |
renditions=( |
NewerOlder