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
server { | |
listen 80; | |
root /var/www/path-to-your-project; | |
index index.html index.htm; | |
server_name _ localhost; | |
location / { | |
add_header Cache-Control public; | |
add_header Access-Control-Allow-Origin *; | |
} |
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
process.on("uncaughtException", function (err) { | |
console.log(["uncaughtException", err]); | |
}); |
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
server { | |
listen 80; | |
root /var/www/path-to-your-project; | |
index index.html index.htm; | |
server_name _ localhost; | |
location / { | |
add_header Cache-Control public; | |
add_header Access-Control-Allow-Origin *; | |
} |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Label</key> | |
<string>homebrew.minidlna</string> | |
<key>ProgramArguments</key> | |
<array> | |
<string>/usr/local/sbin/minidlnad</string> | |
<string>-d</string> |
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
[Unit] | |
Description=Deluge web if | |
[Service] | |
ExecStart=/usr/bin/deluge -u web | |
[Install] | |
WantedBy=multi-user.target | |
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
[Unit] | |
Description=Deluge daemon | |
[Service] | |
Type=forking | |
ExecStart=/usr/bin/python /usr/bin/deluged --port=58846 --config=/root/.config/deluge | |
[Install] | |
WantedBy=multi-user.target |
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
server { | |
listen 80; | |
server_name {{@domain}}; | |
root {{@root_path}}; | |
location / { | |
error_page 404 /index.php; | |
index index.php index.html index.htm; | |
try_files $uri $uri/ /index.php$is_args$query_string; | |
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
"use strict"; | |
var gulp = require('gulp'), | |
concat = require('gulp-concat'), | |
nodemon = require('gulp-nodemon'), | |
mincss = require('gulp-minify-css'), | |
uglify = require('gulp-uglify'), | |
jshint = require('gulp-jshint'), | |
head = require('gulp-header'), | |
bs = require('browser-sync').create(), |
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
# to generate your dhparam.pem file, run in the terminal | |
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048 |
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
nano /etc/bind/named.conf.local | |
``` | |
zone "evrima.net" { | |
type master; | |
file "/var/lib/bind/evrima.net.hosts"; | |
allow-transfer { | |
127.0.0.1; |
OlderNewer