最近更新的页面
npm view 命令
查看某个模块发布过的所有版本。 $ npm view [PackageName] versions
npm version
npm version用来指定模块的版本,然后会将新的版本号写入 package.json和 package-lock.json。 它的命令行用法如下。 npm version [ <new...
Customising Visuals
You may want to customise BookStack to use custom branding, or you may just not like the default ...
BookStack System CLI
The BookStack System CLI allows easy running of BookStack infrastructure-level tasks such as back...
编程风格
本章探讨如何将 ES6 的新语法,运用到编码实践之中,与传统的 JavaScript 语法结合在一起,写出合理的、易于阅读和维护的代码。 多家公司和组织已经公开了它们的风格规范,下面的内容主要参...
TLS Authentication in clusters
When setting up clusters, all servers in the cluster, if using TLS, will both verify the connecti...
Reverse proxy
The server part of Nextcloud Office (coolwsd daemon) is listening on port 9980 by default, and cl...
Reference management
The reference management system brings 2 features in Nextcloud: The link previews (also called re...
命令行环境
命令行参数 C 语言程序可以从命令行接收参数。 $ ./foo hello world 上面示例中,程序 foo接收了两个命令行参数 hello和 world。 程序内部怎么拿到命令行参数呢?C...
运算符的扩展
本章介绍 ES6 后续标准添加的一些运算符。 指数运算符 ES2016 新增了一个指数运算符( **)。 2 ** 2 // 4 2 ** 3 // 8 这个运算符的一个特点是右结合,而不是常见...
Protocol Demo
The virtues of the NATS protocol manifest quickly when you experience how easy it is to use NATS....
CORS 通信
CORS 是一个 W3C 标准,全称是“跨源资源共享”(Cross-origin resource sharing),或者通俗地称为“跨域资源共享”。它允许浏览器向跨源的服务器,发出 XMLHt...
nsc
NATS account configurations are built using the nsc tool. The NSC tool allows you to: Create and...
The LDAP configuration API
All methods require that the "OCS-APIREQUEST" header be set to "true". Methods take an optional "...
Cookie
概述 Cookie 是服务器保存在浏览器的一小段文本信息,一般大小不能超过4KB。浏览器每次向服务器发出请求,就会自动附上这段信息。 HTTP 协议不带有状态,有些请求需要区分状态,就通过 Co...
比较运算符
概述 比较运算符用于比较两个值的大小,然后返回一个布尔值,表示是否满足指定的条件。 2 > 1 // true 上面代码比较 2是否大于 1,返回 true。 注意,比较运算符可以比较各种类型的...
Receiving Messages
In general, applications can receive messages asynchronously or synchronously. Receiving messages...
Union 结构
有时需要一种数据结构,不同的场合表示不同的数据类型。比如,如果只用一种数据结构表示水果的“量”,这种结构就需要有时是整数(6个苹果),有时是浮点数(1.5公斤草莓)。 C 语言提供了 Union...
locale.h
简介 locale.h是程序的本地化设置,主要影响以下的行为。 数字格式 货币格式 字符集 日期和时间格式 它设置了以下几个宏。 LC_COLLATE:影响字符串比较函数 strcoll()和 ...
Getting Around and Finding Content
There are many ways to get around and find content within your BookStack instance outside of foll...