leizongmin / node-doc-cn Goto Github PK
View Code? Open in Web Editor NEWNode.js中文文档
License: Other
Node.js中文文档
License: Other
URL:http://nodeapi.ucdok.com/api/http.html#http_http_request_options_callback_3163
中文版的只有:
// write data to request body
req.write('data\n');
req.write('data\n');
req.end();
英文版的为:
var options = {
hostname: 'www.google.com',
port: 80,
path: '/upload',
method: 'POST'
};
var req = http.request(options, function(res) {
console.log('STATUS: ' + res.statusCode);
console.log('HEADERS: ' + JSON.stringify(res.headers));
res.setEncoding('utf8');
res.on('data', function (chunk) {
console.log('BODY: ' + chunk);
});
});
req.on('error', function(e) {
console.log('problem with request: ' + e.message);
});
// write data to request body
req.write('data\n');
req.write('data\n');
req.end();
类似的情况在中文版API里还不少
解决方法:在前端限制,提交未完成时,不能重复点“保存”
对于还没有翻译的段落,应该在旁边显示“翻译”按钮,方便直接提交翻译。
对于已经翻译的锻炼,在旁边显示“纠错”按钮,以便于发现错误后提交更正,同时可以选择不同的翻译结果
synopsis.html 代码不全
方便找出哪些章节还没有翻译
response.writeHead()必须在response.end() 之前调用
在 stream 章节尤为明显,不知有没有办法解决?
建议弄成 英中文对照阅读 的格式。
有些api都不知道啥意思的
http://nodeapi.ucdok.com/user/id/4 任意点击某人,他的翻译时间的月份都是8月。。应该是9月的。。
🚨 You need to enable Continuous Integration on all branches of this repository. 🚨
To enable Greenkeeper, you need to make sure that a commit status is reported on all branches. This is required by Greenkeeper because it uses your CI build statuses to figure out when to notify you about breaking changes.
Since we didn’t receive a CI status on the greenkeeper/initial
branch, it’s possible that you don’t have CI set up yet. We recommend using Travis CI, but Greenkeeper will work with every other CI service as well.
If you have already set up a CI for this repository, you might need to check how it’s configured. Make sure it is set to run on all new branches. If you don’t want it to run on absolutely every branch, you can whitelist branches starting with greenkeeper/
.
Once you have installed and configured CI on this repository correctly, you’ll need to re-trigger Greenkeeper’s initial pull request. To do this, please delete the greenkeeper/initial
branch in this repository, and then remove and re-add this repository to the Greenkeeper App’s white list on Github. You'll find this list on your repo or organization’s settings page, under Installed GitHub Apps.
如题。
如题。
smalloc章节的代码块有缺失,需要检查一下合并相邻代码块的程序是否有问题
手机上进http://nodeapi.ucdok.com/#/api/,不可以往下滑动。
官方英文的文档网页是可以的呢
翻译结果是按照段落内容的md5值来区分的,当使用不同的的设定从git中导入代码、或者使用了不同的编辑器编辑后,可能会导致换行符改变了(比如原来是 \n
,修改后变成了 \r\n
),这样虽然看起来内容是一样的,但是md5值却不同了。
待翻译完后,需要修正一下数据库内容:
\n
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.