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
| Docker Registry Web UI | |
| https://hub.docker.com/r/hyper/docker-registry-web/ |
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
| 1 docker ps -a | |
| 2 docker-compose | |
| 3 sudo curl -L https://github.com/docker/compose/releases/download/1.21.2/docker-compose-$(uname -s)-$(uname -m) -o /usr/local/bin/docker-compose | |
| 4 sudo chmod +x /usr/local/bin/docker-compose | |
| 5 docker-compose --version |
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: | |
| rabbitmq: | |
| image: rabbitmq:3-management | |
| volumes: | |
| - c:/dev/data/rabbitmq/mnesia/:/var/lib/rabbitmq/mnesia | |
| - c:/dev/data/rabbitmq/logs/:/var/log/rabbitmq/ | |
| environment: | |
| RABBITMQ_ERLANG_COOKIE: "TESTSECRETCOOKIE" |
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: | |
| mariadb: | |
| image: mariadb | |
| command: ['mysqld', '--innodb-flush-method=fsync', '--character-set-server=utf8mb4', '--collation-server=utf8mb4_unicode_ci'] | |
| volumes: | |
| - c:/dev/data/mariadb:/var/lib/mysql | |
| restart: always | |
| ports: |
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 numpy as np | |
| import cv2 | |
| def makeStillCutImage(path, onlyMainStillCut=False): | |
| videoObj = cv2.VideoCapture(path) | |
| seconds = 10 | |
| fps = videoObj.get(cv2.CAP_PROP_FPS) # Gets the frames per second | |
| multiplier = fps * seconds |
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
| sudo: required | |
| language: node_js | |
| node_js: | |
| - 10.16.0 | |
| cache: npm | |
| branches: | |
| only: | |
| - master | |
| before_script: | |
| - npm install -g @angular/cli |
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 { Component, OnInit } from '@angular/core'; | |
| declare var require: any; | |
| const data: any = require('../mock/data/test-dash.json') | |
| @Component({ | |
| selector: 'app-test-dash', | |
| templateUrl: './test-dash.component.html', | |
| styleUrls: ['./test-dash.component.css'] | |
| }) |
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.7" | |
| services: | |
| mysqldb: | |
| image: mysql:5.7 | |
| command: ['mysqld', '--character-set-server=utf8mb4', '--collation-server=utf8mb4_unicode_ci'] | |
| container_name: mysql | |
| working_dir: /application | |
| volumes: | |
| - .:/application | |
| environment: |
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
| ############################################################################### | |
| # Generated on phpdocker.io # | |
| ############################################################################### | |
| version: "3.1" | |
| services: | |
| redis: | |
| image: redis:alpine | |
| container_name: php-starter-kit-redis |
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 qrcode | |
| def generate_quick_response_code(): | |
| qr = qrcode.QRCode( | |
| version=1, | |
| error_correction=qrcode.constants.ERROR_CORRECT_L, | |
| box_size=10, | |
| border=4, | |
| ) | |
| qr.add_data('https://borakim-b.github.io/') |
NewerOlder