class UserSettings {
constructor(user) {
this.user = user;
}
changeSettings(settings) {
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
| const TeleBot = require('telebot'); | |
| const bot = new TeleBot(TELEGRAM_BOT_TOKEN); | |
| bot.on('text', (msg) => msg.reply.text(msg.text)); | |
| bot.start(); |
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 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
| fileName | Type | Tags | output | title |
|---|---|---|---|---|
Quah-D-2020.06-Pulse-Secure-Client-on-Ubuntu-Linux.md |
Notes |
Software |
pdf_document |
Pulse Secure Client on Ubuntu Linux |
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 run --rm --interactive --tty -w /app --volume $PWD:/app node:8 yarn |
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 run --rm --interactive --tty --volume $PWD:/app composer update |
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
| #stop all containers: | |
| docker kill $(docker ps -q) | |
| #remove all containers | |
| docker rm $(docker ps -a -q) | |
| #remove all docker images | |
| docker rmi $(docker images -q) | |
| #remove intermediate containers, use "build --rm" to avoid them |
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: | |
| phpmyadmin: | |
| image: "phpmyadmin:5" | |
| ports: | |
| - "${FORWARD_PHPMYADMIN_PORT:-8001}:80" | |
| environment: | |
| PMA_HOST: "mysql" | |
| UPLOAD_LIMIT: '400M' | |
| PMA_USER: "${DB_USERNAME}" |
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
| <IfModule mod_rewrite.c> | |
| RewriteEngine On | |
| RewriteRule ^(.*)$ public/$1 [L] | |
| RewriteRule .* - [e=HTTP_AUTHORIZATION:%1] | |
| </IfModule> |
NewerOlder