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
<!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 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 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 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 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' |
NewerOlder