Eric Steven Raymond, Thyrsus Enterprises, < [email protected] >
Rick Moen, < [email protected] >
翻译:柯非, < [email protected] >
这篇译文基于2014.05.21更新的原文修订版3.10。
特别感谢王刚,此前本文的翻译是由他进行的。
Eric Steven Raymond, Thyrsus Enterprises, < [email protected] >
Rick Moen, < [email protected] >
翻译:柯非, < [email protected] >
这篇译文基于2014.05.21更新的原文修订版3.10。
特别感谢王刚,此前本文的翻译是由他进行的。
Prereq:
apt-get install zsh
apt-get install git-coreGetting zsh to work in ubuntu is weird, since sh does not understand the source command. So, you do this to install zsh
wget https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | zsh
| // 客户端实现 | |
| const net = require('net') | |
| const tls = require('tls') | |
| const localServer = new net.Server() | |
| localServer.on('connection', (socket) => { | |
| socket.pause() | |
| const context = { |
| # WeChat aud file converter to wav files | |
| # Dependencies: | |
| # SILK audio codec decoder (available at https://github.com/gaozehua/SILKCodec) | |
| # ffmpeg | |
| # | |
| # By Gabriel B. Nunes ([email protected]) | |
| # Adapted from another script by Nicodemo Gawronski ([email protected]) | |
| # | |
| import os, argparse, subprocess |
| // Used in https://jina.ai/tokenizer (Aug. 14th version) | |
| // Define variables for magic numbers | |
| const MAX_HEADING_LENGTH = 6; | |
| const MAX_HEADING_CONTENT_LENGTH = 200; | |
| const MAX_HEADING_UNDERLINE_LENGTH = 200; | |
| const MAX_HTML_HEADING_ATTRIBUTES_LENGTH = 100; | |
| const MAX_LIST_ITEM_LENGTH = 200; | |
| const MAX_NESTED_LIST_ITEMS = 5; | |
| const MAX_LIST_INDENT_SPACES = 7; | |
| const MAX_BLOCKQUOTE_LINE_LENGTH = 200; |