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
/** | |
* @license Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved. | |
* Minor edits 2019 - Diego Doná | |
* For licensing, see LICENSE.md. | |
*/ | |
export default function Base64UploaderPlugin( editor ) { | |
editor.plugins.get( 'FileRepository' ).createUploadAdapter = ( loader ) => { | |
// Configure the URL to the upload script in your back-end here! | |
return new UploadAdapter(loader, editor.t); |
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/bash | |
## nginx | |
NGINX=nginx-1.19.4.tar.gz | |
if [ ! -f "${NGINX}" ];then | |
wget https://nginx.org/download/${NGINX} | |
fi | |
ND=$(basename $NGINX .tar.gz) |