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
| #!/bin/sh | |
| GIT_WORK_TREE=/home/application git checkout -f | |
| docker exec -i application_workspace_1 /bin/bash -c 'npm install' | |
| docker exec -i application_workspace_1 /bin/bash -c 'composer install' | |
| docker exec -i application_workspace_1 /bin/bash -c 'typings install' | |
| docker exec -i application_workspace_1 /bin/bash -c 'ng build' |
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
| #!/bin/sh | |
| GIT_WORK_TREE=/home/application git checkout -f | |
| cd /home/application && docker-compose up -d --build | |
| docker exec -i application_workspace_1 /bin/bash -c 'composer install' | |
| docker exec -i application_workspace_1 /bin/bash -c 'npm install' | |
| docker exec -i application_workspace_1 /bin/bash -c 'php artisan cache:clear' | |
| docker exec -i application_workspace_1 /bin/bash -c 'php artisan config:cache' | |
| docker exec -i application_workspace_1 /bin/bash -c 'php artisan migrate --force' | |
| docker exec -i application_workspace_1 /bin/bash -c 'php artisan optimize' |
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
| // Task parameters | |
| /dir "C:\Program Files\Docker Toolbox" | |
| // Commands | |
| "%ConEmuDrive%\Program Files\Git\bin\sh.exe" --login -i -new_console:C:"C:\Program Files\Docker Toolbox\docker-quickstart-terminal.ico" "C:\Program Files\Docker Toolbox\start.sh" |
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
| export default class Bs { | |
| constructor(selector) { | |
| this.selector = selector; | |
| } | |
| tooltip() { | |
| let uid = 0; | |
| document.querySelectorAll(this.selector).forEach(el => { | |
| el.addEventListener('mouseover', ev => { |
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
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <title>TinyMCE Upload Base64Image</title> | |
| <script src="https://cloud.tinymce.com/stable/tinymce.min.js"></script> | |
| <script> | |
| tinymce.init({ | |
| selector: 'textarea', | |
| height: 500, |
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
| deb http://ubuntu.c3sl.ufpr.br/ubuntu/ xenial main restricted | |
| deb http://ubuntu.c3sl.ufpr.br/ubuntu/ xenial universe | |
| deb-src http://ubuntu.c3sl.ufpr.br/ubuntu/ xenial universe | |
| deb http://ubuntu.c3sl.ufpr.br/ubuntu/ xenial-updates universe | |
| deb-src http://ubuntu.c3sl.ufpr.br/ubuntu/ xenial-updates universe | |
| deb http://ubuntu.c3sl.ufpr.br/ubuntu/ xenial multiverse | |
| deb http://ubuntu.c3sl.ufpr.br/ubuntu/ xenial-updates multiverse | |
| deb http://ubuntu.c3sl.ufpr.br/ubuntu/ xenial-backports main restricted universe multiverse | |
| deb http://ubuntu.c3sl.ufpr.br/ubuntu/ xenial-security main restricted | |
| deb http://ubuntu.c3sl.ufpr.br/ubuntu/ xenial-security universe |
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 callbackFunc = (name, callback) => { | |
| setTimeout(() => { | |
| return callback(name + '123'); | |
| }, 3000); | |
| } | |
| const qCallbackFunc = (name) => { | |
| return new Promise((resolve, reject) => { | |
| callbackFunc(name, (result) => { | |
| console.log(result); |
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
| [[runners]] | |
| name = "rdponline-docker" | |
| url = "https://gitlab.com/" | |
| token = "152d782cda979eff7b7f30ee4ce67d" | |
| executor = "docker" | |
| builds_dir = "/apptest/builds" | |
| [runners.docker] | |
| tls_verify = false | |
| image = "node:carbon" | |
| privileged = false |
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
| FROM node:carbon | |
| RUN groupadd -r docker && usermod -aG docker node | |
| RUN chown -R node:docker /usr/local/lib/node_modules | |
| RUN chown -R node:docker /usr/local/bin | |
| RUN npm install --quiet -g pm2 | |
| WORKDIR /ai/esta |
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
| { | |
| "apps": [ | |
| { | |
| "name": "server", | |
| "script": "/app/node-server/server.js", | |
| "exec_mode" : "cluster", | |
| "instances" : 3, | |
| "watch": ["./"], | |
| "ignore_watch": ["node_modules", "./websocket.js", ".git"] | |
| }, |
OlderNewer