gosaturn / ddup Goto Github PK
View Code? Open in Web Editor NEWall kinds of ...
all kinds of ...
在Git工作区的根目录下创建.gitignore
文件,把要忽略的文件名填进去,Git就会自动忽略这些文件。
比如:
vi .gitignore
*.pyc
# 查看当前配置信息
git config --list
# 强制替换当前邮箱&用户名
git config --global --replace-all user.email "要替换成该邮箱"
git config --global --replace-all user.name "要替换成该用户名"
from 主机A
to 主机B
主机A
: ssh-copy-id xx@xxx(B的账号&机器IP)
主机B
: vi ~/.ssh/authorized_keys 文件中会生成A的认证信息
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABA.....8t25AD /Users/xxx/.ssh/id_rsa
上传图片时,超过1m的图片,nginx返回413错误。
<html>
<head><title>413 Request Entity Too Large</title></head>
<body bgcolor="white">
<center><h1>413 Request Entity Too Large</h1></center>
<hr><center>nginx/1.9.10</center>
</body>
</html>
看了下nginx日志,
2017/06/22 21:59:37 [error] 172678#172678: *432605 client intended to send too large body: 3011529 bytes, client: 10.3.23.40, server: gosaturn.com, request: "POST /***/tools/upload_picture/?type=ueditor&pgc_watermark=1&action=uploadimage&encode=utf-8 HTTP/1.1", host: "gosaturn.com"
strace -p pid
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.