CentOs自启动管理

开机自启动 touch /etc/init.d/service 赋予脚本可执行权限 chmod a+x /etc/init.d/service service服务加入chkconfig管理列表 chkconfig --add /etc/init.d/service chkconfig service on 启动 systemctl start service init.d/ init.d/ init.d/ init.d/ init.d/ init.d/ init.d/ init.d/ init.d/ /etc/systemd/v2ray.service /etc/systemd/supervisord.service

MacOS VSCode 禁用GPU加速

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 //1.cd到VSCode执行程序所在目录 cd /Applications/Visual\ Studio\ Code.app/Contents/MacOS/ //2.将Electron(VSCode可以行程序)重名

动画解决方案

vap: VAP是企鹅电竞开发,用于播放特效动画的实现方案。具有高压缩率、硬件解码等优点。同时支持 iOS,Android,Web 平台。

tomcat多站点多域名配置

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 <Engine name="Catalina" defaultHost="docs.quansuwangluo.com"> <!--For clustering, please take a look at documentation at:

nginx反向代理配置

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 upstream web_docs { ip_hash; server 127.0.0.1:8082 weight=1 max_fails=2 fail_timeout=30s; } server { listen 443 ssl; server_name docs.quansuwangluo.com; index index.html index.htm index.php; ssl_certificate cert/quansuwangluo.com.pem; ssl_certificate_key cert/quansuwangluo.com.key; ssl_session_timeout 5m; ssl_ciphers ECDHE-RSA-AES128-GCM-SHA256:ECDHE:ECDH:AES:HIGH:!NULL:!aNULL:!MD5:!ADH:!RC4; ssl_protocols TLSv1 TLSv1.1 TLSv1.2; ssl_prefer_server_ciphers on; client_max_body_size

xcode自定义文件模板

xcode自带模板: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Xcode/Templat 自定义模板目录: ~/Library/Developer/Xcode/Templates/Custom 1 2 3 4 5 6 7 //___FILEHEADER___ 头部信息 //___VARIABLE_productName___ ___VARIABLE_+Identifier(TemplateInfo.