跳转到主要内容

最近更新的页面

App: Local Machine translation 2 (translate2)

Nextcloud 管理员手册(英文原版) Apps

The translate2 app is one of the apps that provide machine translation functionality in Nextcloud...

由 cocobook-sync 更新于 1 年前

Using the Object Store

NATS 文档(英文原版) Using NATS

The Object Store allows you to store data of any (i.e. large) size by implementing a chunking mec...

由 cocobook-sync 更新于 1 年前

字符串的新增方法

ES6 教程

本章介绍字符串对象的新增方法。 String.fromCodePoint() ES5 提供 String.fromCharCode()方法,用于从 Unicode 码点返回对应字符,但是这个方法...

由 壳壳虫 更新于 1 年前

严格模式

JavaScript 教程

除了正常的运行模式,JavaScript 还有第二种运行模式:严格模式(strict mode)。顾名思义,这种模式采用更加严格的 JavaScript 语法。 同样的代码,在正常模式和严格模式...

由 壳壳虫 更新于 1 年前

对象的扩展

ES6 教程

对象(object)是 JavaScript 最重要的数据结构。ES6 对它进行了重大升级,本章介绍数据结构本身的改变,下一章介绍 Object对象的新增方法。 属性的简洁表示法 ES6 允许在...

由 壳壳虫 更新于 1 年前

Favicon API 文档

Cravatar 开发者文档

API 概述 该 API 服务用于获取网站的 favicon 图标。不仅限于 WordPress 站点,它会自动检测并返回目标网站的 favicon 图标。如果无法获取到目标网站的 favico...

由 壳壳虫 更新于 1 年前

Slow Consumers

NATS 文档(英文原版) Running a NATS service

To support resiliency and high availability, NATS provides built-in mechanisms to automatically p...

由 cocobook-sync 更新于 1 年前

this 关键字

JavaScript 教程

涵义 this关键字是一个非常重要的语法点。毫不夸张地说,不理解它的含义,大部分开发任务都无法完成。 前一章已经提到, this可以用在构造函数之中,表示实例对象。除此之外, this还可以用在...

由 壳壳虫 更新于 1 年前

Headers 对象

Web API 教程

简介 Headers 代表 HTTP 消息的数据头。 它通过 Headers()构造方法,生成实例对象。 Request.headers属性和 Response.headers属性,指向的都是 ...

由 壳壳虫 更新于 1 年前

Walkthrough Setup

NATS 文档(英文原版) NATS Concepts

We have provided Walkthroughs for you to try NATS (and JetStream) on your own. In order to follow...

由 cocobook-sync 更新于 1 年前

Managing JetStream

NATS 文档(英文原版) Running a NATS service

Once the server is running it's time to use the management tool. Please refer to the installation...

由 cocobook-sync 更新于 1 年前

NATS Server Clients

NATS 文档(英文原版) Running a NATS service

A NATS client is an application making a connection to one of the nats servers pointed to by its ...

由 cocobook-sync 更新于 1 年前

Queue Groups

NATS 文档(英文原版) NATS Concepts

When subscribers register themselves to receive messages from a publisher, the 1:N fan-out patter...

由 cocobook-sync 更新于 1 年前

NATS Admin CLI

NATS 文档(英文原版) Running a NATS service

nats Admin CLI The nats CLI can be used to manage Streams and Consumers easily using it's --con...

由 cocobook-sync 更新于 1 年前

Go 语言图像请求

Cravatar 开发者文档

与自有程序集成页面希望增加 Golang 语言的案例,来自 @okatu-loli ,Go 实现 Cravatar 示例如下,可供参考。 package main import ( "cry...

由 壳壳虫 更新于 1 年前

条件判断

Bash 脚本教程(网道)

本章介绍 Bash 脚本的条件判断语法。 if 结构 if是最常用的条件判断结构,只有符合给定条件时,才会执行指定的命令。它的语法如下。 if commands; then commands...

由 cocobook-sync 更新于 1 年前

Publishing to Streams

NATS 文档(英文原版) Using NATS

Go func ExampleJetStream() { nc, err := nats.Connect("localhost") if err != nil { log.Fatal(e...

由 cocobook-sync 更新于 2 年前

Authenticating with a User and Password

NATS 文档(英文原版) Using NATS

For this example, start the server using: nats-server --user myname --pass password You can encry...

由 cocobook-sync 更新于 2 年前

Linux 硬件管理

Linux 教程

挂载外部硬盘 系统接入外部硬盘后,先用 fdisk 命令找出硬盘编号。 $ sudo fdisk -l 这里假定硬盘编号是 /dev/sdc。 然后,创建一个挂载点目录 /mnt/sdd。 $ ...

由 壳壳虫 更新于 2 年前

Caches, Flush and Ping

NATS 文档(英文原版) Using NATS

For performance reasons, most if not all, of the client libraries will buffer outgoing data so th...

由 cocobook-sync 更新于 2 年前