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
{ | |
"config": { | |
"chainId": 99, | |
"homesteadBlock": 0, | |
"eip150Block": 0, | |
"eip155Block": 0, | |
"eip158Block": 0, | |
"byzantiumBlock": 0 | |
}, | |
"alloc": {}, |
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
configure --disable-all --enable-cli --enable-session --enable-hash | |
--enable-redis=shared --enable-redis-session | |
--enable-yaf=shared | |
--disable-zts |
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
<?php | |
/** | |
* php-ansi-color | |
* | |
* Original | |
* https://github.com/loopj/commonjs-ansi-color | |
* | |
* @code | |
* <?php | |
* require_once "ansi-color.php"; |
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
# For a description of the file format, see the Users Guide | |
# http://cygwin.com/cygwin-ug-net/using.html#mount-table | |
# This is default anyway: | |
none / cygdrive binary,noacl,posix=0,user 0 0 | |
none /cygdrive cygdrive binary,noacl,posix=0,user 0 0 | |
D:/Cygwin/bin /usr/bin ntfs binary,posix=0,noacl 0 0 | |
D:/Cygwin/lib /usr/lib ntfs binary,posix=0,noacl 0 0 | |
D:/Cygwin / ntfs binary,posix=0,noacl,override 0 0 |
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 | |
[[ $EUID != 0 ]] && echo "Please run as root. Terminating..." && exit 1 | |
export JAIL=/srv/http | |
## 删除所有文件 | |
remove_all() { | |
umount -f $JAIL/run > /dev/null 2>&1 | |
umount -f $JAIL/tmp > /dev/null 2>&1 |
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
[Unit] | |
Description=Nginx Web Server | |
[Service] | |
Type=forking | |
ExecStartPre=/usr/bin/chroot /srv/http /usr/bin/nginx -t -q | |
ExecStart=/usr/bin/chroot /srv/http /usr/bin/nginx | |
ExecReload=/usr/bin/chroot /srv/http /usr/bin/nginx -s reload | |
ExecStop=/usr/bin/chroot /srv/http /usr/bin/nginx -s quit |
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 | |
# Updated: Wednesday Dec 14, 2022 | |
# 必须以超级用户权限运行,似乎没啥必要... | |
[[ $EUID != 0 ]] && echo "Please run as root. Terminating..." && exit 1 | |
# 显示系统时间 | |
timedatectl status | |
echo "" |