- EditorConfig
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
map $http_upgrade $connection_upgrade { | |
default upgrade; | |
'' close; | |
} | |
server { | |
listen 80; | |
server_name example.com; |
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 your_host_name; | |
location / { | |
proxy_set_header Host $host; | |
proxy_set_header X-Real-IP $remote_addr; | |
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; |
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/bash | |
# Author: Bo-Yi Wu | |
# Email: appleboy.tw@gmail.com | |
# License: MIT | |
CONTAINER=$1 | |
MODE=$2 | |
CURRENT=$(pwd) | |
DEPLOY_HOME="${HOME}/${CONTAINER}" | |
SOURCE="${HOME}/source" |
透過 Docker 快速安裝 Laravel
安裝 Docker 服務
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
core: | |
port: "8088" | |
notification_max: 100 | |
production: true | |
api: | |
push_uri: "/api/push" | |
stat_go_uri: "/api/status" | |
android: |
Docker 輕鬆架設 Laravel
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
{ | |
"color_scheme": "Packages/Theme - Flatland/Flatland Monokai.tmTheme", | |
"detect_indentation": false, | |
"draw_white_space": "all", | |
"file_exclude_patterns": | |
[ | |
"*.pyc", | |
"*.pyo", | |
"*.exe", | |
"*.dll", |
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
{ | |
"php_cs_fixer_on_save": true, | |
"php_cs_fixer_show_quick_panel": true, | |
/* windows setting */ | |
"phpcs_php_prefix_path": "C:\\xampp\\php\\php.exe", | |
"phpcs_commands_to_php_prefix": ["Fixer"], | |
"phpcs_executable_path": "C:\\xampp\\php\\phpcs.bat", | |
"php_cs_fixer_executable_path": "C:\\xampp\\php\\php-cs-fixer.phar", |