Skip to content

Instantly share code, notes, and snippets.

🍙
Focusing

Dr_rOot agalwood

🍙
Focusing
Block or report user

Report or block agalwood

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:a1dd836de21bfe68d0b29df16afa9b55
Verifying my Blockstack ID is secured with the address 181iJnUaKcM37UfsK1Gy1BQ4V8QoVnAXBj https://explorer.blockstack.org/address/181iJnUaKcM37UfsK1Gy1BQ4V8QoVnAXBj
@agalwood
agalwood / s.zanphp.io.conf
Last active Apr 16, 2017
zanphp.io static nginx conf
View s.zanphp.io.conf
server {
listen 80;
server_name s.zanphp.io;
charset utf-8;
access_log /data/logs/nginx/s.zanphp.access.log main;
error_log /data/logs/nginx/s.zanphp.error.log;
root /home/www/zanphp.io/public;
index index.html index.htm index.php;
@agalwood
agalwood / zanphp.io.conf
Last active Jan 23, 2017
zanphp.io nginx config
View zanphp.io.conf
server {
listen 80;
server_name zanphp.io;
charset utf-8;
access_log /data/logs/nginx/zanphp.access.log main;
error_log /data/logs/nginx/zanphp.error.log;
root /home/www/zanphp.io;
index index.html index.htm index.php;
@agalwood
agalwood / debug.php
Created Aug 4, 2016
resource/config/$ENV/debug.php
View debug.php
<?php
return [
//是否开启debug, 推荐test环境开启,其他环境关闭
'debug' => true,
];
@agalwood
agalwood / server.php
Created Aug 4, 2016
resource/config/$ENV/server.php
View server.php
<?php
return [
//监听host, 默认0.0.0.0即可
'host' => '0.0.0.0',
//监听ip
'port' => '8020',
'config' => [
//是否后台运行, 推荐设置0
'daemonize' => 0,
@agalwood
agalwood / zan config
Last active Aug 4, 2016
Zan PHP Framework config directory structure
View zan config
resource/config/test/
├── connection
│ ├── kvstore.php
│ ├── mysql.php
│ └── tcp.php
├── debug.php
├── haunt.php
├── hawk.php
├── monitor
│ └── trace.php
You can’t perform that action at this time.