Wlxyzxyz's Blog
ssh端口转发
修改公网机器的配置 ``` 修改sshd_config vim /etc/ssh/sshd_config #GatewayPorts no => GatewayPorts yes #
禁止cloudflare以外的ip访问nginx的网站
添加一个文件cf.conf,里面记录的是允许访问的ip ``` # https://www.cloudflare.com/ips # IPv4 allow 173.245.48.0/2
用nginx部署flask
## 安装uWSGI https://uwsgi-docs.readthedocs.io/en/latest/WSGIquickstart.html ``` apt-get install
angular-matSort
angular中使用matSort对表格进行排序 https://material.angular.io/components/sort/overview ```html <ng-c
sony-dpt获得root权限
https://github.com/HappyZ/dpt-tools/wiki/The-Ultimate-Rooting-Guide 测试连接是否成功 python3 dpt-tools.p
powerline配置
# 安装 ``` pip install powerline-status pip show powerline-status//查看安装位置 ``` ``` mac 修改~/
css相关
css显示1/3的宽度 使用css calc() ``` .tab { width: calc(100%/3); } ``` refer: https://stackoverfl
rclone挂载网盘到vps
https://rclone.org/onedrive/ ## 1. 在有图形界面的机器上面授权 下载rclone https://rclone.org/downloads/ ```