Commit 75f92752 by pengkai_kai

上传一篇值得阅读的文章——如何聪明地提出和解决一个问题

parent 48eab1b1
The MIT License (MIT)
The MIT License (MIT)
Copyright (c) 2016 Ryan Wu
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
{
{
"structure": {
"readme": "README.md"
}
}
<table>
<table>
<tbody>
<tr>
<td align="left">Revision 3.10</td>
<td align="left">21 May 2014</td>
<td align="left">esr</td>
</tr>
<tr>
<td align="left" colspan="3">
新增 Stack Overflow 段落
</td>
</tr>
<tr>
<td align="left">Revision 3.9</td>
<td align="left">23 Apr 2013</td>
<td align="left">esr</td>
</tr>
<tr>
<td align="left" colspan="3">
修正 URL
</td>
</tr>
<tr>
<td align="left">Revision 3.8</td>
<td align="left">19 Jun 2012</td>
<td align="left">esr</td>
</tr>
<tr>
<td align="left" colspan="3">
修正 URL
</td>
</tr>
<tr>
<td align="left">Revision 3.7</td>
<td align="left">06 Dec 2010</td>
<td align="left">esr</td>
</tr>
<tr>
<td align="left" colspan="3">
新增非英文母語者的提示
</td>
</tr>
<tr>
<td align="left">Revision 3.7</td>
<td align="left">02 Nov 2010</td>
<td align="left">esr</td>
</tr>
<tr>
<td align="left" colspan="3">
數個翻譯版本消失了
</td>
</tr>
<tr>
<td align="left">Revision 3.6</td>
<td align="left">19 Mar 2008</td>
<td align="left">esr</td>
</tr>
<tr>
<td align="left" colspan="3">
小更新以及新增連結
</td>
</tr>
<tr>
<td align="left">Revision 3.5</td>
<td align="left">2 Jan 2008</td>
<td align="left">esr</td>
</tr>
<tr>
<td align="left" colspan="3">
更新翻譯連結
</td>
</tr>
<tr>
<td align="left">Revision 3.4</td>
<td align="left">24 Mar 2007</td>
<td align="left">esr</td>
</tr>
<tr>
<td align="left" colspan="3">
新增"當詢問有關程式碼的問題時"段落
</td>
</tr>
<tr>
<td align="left">Revision 3.3</td>
<td align="left">29 Sep 2006</td>
<td align="left">esr</td>
</tr>
<tr>
<td align="left" colspan="3">
加入 Kai Niggemann 編寫的好建議
</td>
</tr>
<tr>
<td align="left">Revision 3.2</td>
<td align="left">10 Jan 2006</td>
<td align="left">esr</td>
</tr>
<tr>
<td align="left" colspan="3">
加入 Rick Moen 編寫的內容
</td>
</tr>
<tr>
<td align="left">Revision 3.1</td>
<td align="left">28 Oct 2004</td>
<td align="left">esr</td>
</tr>
<tr>
<td align="left" colspan="3">
新增 'Google 是你的好朋友' 文件
</td>
</tr>
<tr>
<td align="left">Revision 3.0</td>
<td align="left">2 Feb 2004</td>
<td align="left">esr</td>
</tr>
<tr>
<td align="left" colspan="3">
關於在網路論壇上適當禮儀主要版本
</td>
</tr>
</tbody>
</table>
(function(window) {
(function(window) {
String.prototype.repeat = function(num) {
return new Array(num + 1).join(this);
};
var url = document.URL,
headers = jQuery("article :header"),
result;
for (var i = 3; i < headers.length; i++) { //skip H1, history, and toc
var header = headers[i],
headerText = header.textContent.trim();
var anchorText = headerText.toLowerCase();
anchorText = anchorText.replace(" ", "-");
anchorText = anchorText.replace(/,|:|、/g, "");
var hIndex = parseInt(header.nodeName.substring(1)) - 1,
indent = " ".repeat(hIndex),
link = ['<pre>', indent, '* [', headerText, '](', '#', anchorText, ')', '\n', '</pre>'];
result += link.join('');
}
var win = window.open("", "win");
win.document.body.innerHTML = result;
})(window);
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment