Github?? ?? ?? ???
git filter-branch --force --index-filter 'git rm --cached --ignore-unmatch app/img/*' --prune-empty --tag-name-filter cat -- --all git push origin master --force rm -rf .git/refs/original/ git reflog expire --expire=now --all git gc --prune=now git gc --aggressive --prune=now
iconv? ???? ??? ?? ???? GB2312 - UTF8? ??
iconv -f gb2312 -t utf-8//IGNORE av - ed2k-Collection.data > ??? Teaching.txtwc -l ??? Teaching.txt av-ed2k-Collection.data
Nginx? ?? IP? ?? ?? ??? ?? ?? ?? ?? ?? ?????. ?? IP? ?? ??
http {
limit_req_zone $binary_remote_addr zone=one:10m rate=8r/s; server { location /search/ { limit_req zone=one burst=5; }
Nginx? ???? ??? ??? ?? ??
sudo apt-get install apache2-utils sudo htpasswd -c /etc/nginx/.htpasswd myusername server { listen 80; server_name ip_address; location /backend { root /var/www/sunzhongwei.com; index index.html index.htm; auth_basic "Restricted"; auth_basic_user_file /etc/nginx/.htpasswd; } } sudo /etc/init.d/nginx reload
??? ??? github
ssh- keygen -t rsa -C "mail "
??/?? rsa ? ?? ?????.
?? ??? ??? ?????(/Users/MZero/.ssh/id_rsa):
?? github?. ??? ??? ?? ?? ??? ?????.>SSH ? GPG ? —> ? SSH ?
$ ssh -T git@github.com
??? ???????? ???? ???? ?? ??????
git pull/push ???? ? ?? ??? ??? ????? ?? ???
git config --global credential.helper store
?? ???? mysql ?? ??? ??
vi /etc/sysconfig/iptables
-A INPUT -m state --state NEW -m tcp -p tcp --dport 3306 -j ACCEPT
service iptables restart
"123"?? ???? "root"@xx .yy.zz.cc? aaa.*? ?? ?? ?? ??;
?? ???;
aaa.*? ?? ?? "root"@"%"? ?? ?? " 123" ;
ssh ?? ? ???
ssh-keygen -t rsa -C "you@homestead"
$ sudo vim /etc/ssh/sshd_config
RSAAuthentication yes
PubkeyAuthentication yes
AuthorizeKeyFile ~/.ssh/authorized_keys
service sshd restart
?? ? ??? ??? ~/.ssh/authorized_keys ??? ???? ?? ??? ???? ?????. 600
chmod 600 ~/.ssh/authorized_keys
$ vim .bash_profile
alias c14='ssh [??? ??]@[server_ip] (-i ~/.ssh/[?? ? ??] )'
$ ?? .bash_profile
$ c14
Nginx ?? 502? ?? ?? ??
nginx ?? ??, ?? ??? ?? nginx ?? ??
nginx ?? 502 ??? ??? ??? ????? php-fpm? ??? ???? ??? ??? ?????.
nginx ?? php? ?????. fpm ?? ???? ?? ??? ?????.
nginx? https ? http2 ?? ?? ??
curl https://nginx.org/download/ng... |
tar xzf - && cd nginx- * # ?? nginx? ???? ?????
./configure [old_config_arguments] --with-http_ssl_module --with-http_v2_module # ?? [old_config_arguments]? nginx -V
makesudo make install
443 SSL http2 ??;
ssl_certificate /home/brook/ssl/chained.pem;
ssl_certificate_key /home/brook/ssl/domain.key;
ssl_dhparam /home/brook /ssl/dhparams.pem;
ssl_ciphers EECDH+CHACHA20:EECDH+CHACHA20-draft:EECDH+AES128:RSA+AES128:EECDH+AES256:RSA+AES256:EECDH+3DES:RSA+ 3DES:!MD5;
ssl_prefer_server_ciphers on;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
ssl_session_cache shared:SSL:50m;
ssl_session_timeout 1d;
ssl_session_tickets on;
add_header Strict-Transport-Secur ?? ??= 31536000;
nginx ??? ?? ??
sudo ln -s /etc/php5/mods- available/mcrypt.ini 20-mcrypt.ini
sudo service apache2 restart
? ??? ?? ???? ?? ??: ??? ?????? ???? ? ???? GitHub ???? ????? ???? ????? ?? ???

? AI ??

Undress AI Tool
??? ???? ??

Undresser.AI Undress
???? ?? ??? ??? ?? AI ?? ?

AI Clothes Remover
???? ?? ???? ??? AI ?????.

Clothoff.io
AI ? ???

Video Face Swap
??? ??? AI ?? ?? ??? ???? ?? ???? ??? ?? ????!

?? ??

??? ??

???++7.3.1
???? ?? ?? ?? ???

SublimeText3 ??? ??
??? ??, ???? ?? ????.

???? 13.0.1 ???
??? PHP ?? ?? ??

???? CS6
??? ? ?? ??

SublimeText3 Mac ??
? ??? ?? ?? ?????(SublimeText3)