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
/* | |
After migration to Gulp 4 and rewrite of gulpfile I have found out that gulp-sass plugin cannot | |
write compiled css files to disk before his task is resolved, even if the task is run in series() | |
call, causing unmatched glob pattern error. Usage of src(globs, { allowEmpty: true }) is not a | |
solution, because task must be run twice in order to output correct file. | |
..after few hours of despair and googling | |
*/ | |
const { series, dest, src } = require('gulp') |
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
/** | |
* This file is part of the forked Nextras community extensions of Nette Framework | |
* | |
* @license MIT | |
* @link https://github.com/nextras/forms | |
* @author Jan Skrasek | |
* @author Tomas Valiasek | |
*/ | |
// main init function, function is appended to $.fn |
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 | |
cd /tmp | |
wget https://github.com/nats-io/nats-server/releases/download/v2.10.5/nats-server-v2.10.5-amd64.rpm | |
yum install -y /tmp/nats-server-v2.10.5-amd64.rpm | |
rm -rf /tmp/nats-server-v2.10.5-amd64.rpm | |
useradd -U -M -r -s /sbin/nologin nats | |
mkdir -p /var/nats | |
mkdir -p /etc/nats/ssl | |
cat <<EOF > /etc/nats/nats-server.conf |
OlderNewer