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
| esphome: | |
| name: <Name of the device> | |
| friendly_name: <friendly_name> | |
| esp8266: | |
| board: esp01_1m | |
| early_pin_init: false | |
| # Enable logging | |
| logger: |
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 | |
| # Generate self signed root CA cert | |
| openssl req -nodes -x509 -newkey rsa:2048 -keyout ca.key -out ca.crt -subj "/C=AU/ST=NSW/L=Sydney/O=MongoDB/OU=root/CN=`hostname -f`/[email protected]" | |
| # Generate server cert to be signed | |
| openssl req -nodes -newkey rsa:2048 -keyout server.key -out server.csr -subj "/C=AU/ST=NSW/L=Sydney/O=MongoDB/OU=server/CN=`hostname -f`/[email protected]" | |
| # Sign the server cert |
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
| 'use strict'; | |
| var gulp = require('gulp'); | |
| var browserSync = require('browser-sync'); | |
| var nodemon = require('gulp-nodemon'); | |
| gulp.task('default', ['browser-sync']); | |
| gulp.task('browser-sync', ['nodemon'], function() { | |
| browserSync.init(null, { |
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
| nginx-proxy: | |
| restart: always | |
| image: jwilder/nginx-proxy | |
| ports: | |
| - "80:80" | |
| - "443:443" | |
| volumes: | |
| - /home/core/certs:/etc/nginx/certs:ro | |
| - /etc/nginx/vhost.d | |
| - /usr/share/nginx/html |
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
| # javascript | |
| alias node="docker run -it --rm -v \`pwd\`:/pwd -w /pwd node:0.12.2-slim node" | |
| alias npm="docker run -it --rm -v \`pwd\`:/pwd -w /pwd node:0.12.2-slim npm" | |
| alias gulp='docker run --rm -v $(pwd)/:/mnt/ -e UID=$(id -u) -e GID=$(id -g) zenoss/gulp gulp' | |
| # PHP | |
| alias composer="docker run -it --rm -v $(pwd):/directory -w /directory composer/composer" | |
| alias symfony="docker run --rm -it -u \`id -u\` -v \`pwd\`:/tmp -w /tmp romqin/symfony-installer" | |
| # Docker |