跳转到主要内容

最近更新的页面

HTML 语言简介

HTML 教程

概述 HTML 是网页使用的语言,定义了网页的结构和内容。浏览器访问网站,其实就是从服务器下载 HTML 代码,然后渲染出网页。 HTML 的全名是“超文本标记语言”(HyperText Mar...

由 壳壳虫 更新于 4 年前

async 函数

ES6 教程

含义 ES2017 标准引入了 async 函数,使得异步操作变得更加方便。 async 函数是什么?一句话,它就是 Generator 函数的语法糖。 前文有一个 Generator 函数,依...

由 壳壳虫 更新于 4 年前

Enum 类型

C 语言教程

如果一种数据类型的取值只有少数几种可能,并且每种取值都有自己的含义,为了提高代码的可读性,可以将它们定义为 Enum 类型,中文名为枚举。 enum colors {RED, GREEN, BL...

由 壳壳虫 更新于 4 年前

对象的新增方法

ES6 教程

本章介绍 Object 对象的新增方法。 Object.is() ES5 比较两个值是否相等,只有两个运算符:相等运算符( ==)和严格相等运算符( ===)。它们都有缺点,前者会自动转换数据类...

由 壳壳虫 更新于 4 年前

flex布局

CSS 教程

网页布局(layout)是CSS的一个重点应用。 传统的布局有下面几种。 display: block; display: inline; display: list-item; display...

由 壳壳虫 更新于 4 年前

Configuring Subject Mapping

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

Supported since NATS Server version 2.2 Subject mapping is a very powerful feature of the NATS se...

由 cocobook-sync 更新于 4 年前

Decentralized JWT Authentication/Authorization

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

With other authentication mechanisms, configuration for identifying a user and Account, is in the...

由 cocobook-sync 更新于 4 年前

struct 结构

C 语言教程

简介 C 语言内置的数据类型,除了最基本的几种原始类型,只有数组属于复合类型,可以同时包含多个值,但是只能包含相同类型的数据,实际使用中并不够用。 实际使用中,主要有下面两种情况,需要更灵活强大...

由 壳壳虫 更新于 4 年前

脚本入门

Bash 脚本教程(网道)

脚本(script)就是包含一系列命令的一个文本文件。Shell 读取这个文件,依次执行里面的所有命令,就好像这些命令直接输入到命令行一样。所有能够在命令行完成的任务,都能够用脚本完成。 脚本的...

由 cocobook-sync 更新于 4 年前

函数

JavaScript 教程

函数是一段可以反复调用的代码块。函数还能接受输入的参数,不同的参数有唯一对应的返回值。 概述 函数的声明 JavaScript 有三种声明函数的方法。 (1)function 命令 functi...

由 壳壳虫 更新于 4 年前

预处理器(Preprocessor)

C 语言教程

简介 C 语言编译器在编译程序之前,会先使用预处理器(preprocessor)处理代码。 预处理器首先会清理代码,进行删除注释、多行语句合成一个逻辑行等工作。然后,执行 #开头的预处理指令。本...

由 壳壳虫 更新于 4 年前

Domain Change

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

Changing the domain after the first setup is currently not supported by Nextcloud. That is mainly...

由 cocobook-sync 更新于 4 年前

Request-Reply Walkthrough

NATS 文档(英文原版) NATS Concepts

NATS supports request-reply messaging. In this tutorial you explore how to exchange point-to-poin...

由 cocobook-sync 更新于 4 年前

Account Information

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

Account Information JetStream is multi-tenant so you will need to check that your account is enab...

由 cocobook-sync 更新于 4 年前

Mixed Authentication/Authorization Setup

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

Mixing both nkeys static config and decentralized JWT Authentication/Authorization is possible bu...

由 cocobook-sync 更新于 4 年前

Memory Resolver Tutorial

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

The MEMORY resolver is a server built-in resolver for account JWTs. If there are a small number ...

由 cocobook-sync 更新于 4 年前

NKeys

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

NKeys are a new, highly secure public-key signature system based on Ed25519. With NKeys the serve...

由 cocobook-sync 更新于 4 年前

TLS Authentication

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

The server can require TLS certificates from a client. When needed, you can use the certificates ...

由 cocobook-sync 更新于 4 年前

Tokens

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

Token authentication is a string that if provided by a client, allows it to connect. It is the mo...

由 cocobook-sync 更新于 4 年前

Docker Swarm

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

Step 1: Create an overlay network for the cluster (in this example, nats-cluster-example), and i...

由 cocobook-sync 更新于 4 年前