在 CentOS 7 搭建 gitlab-ce

一、配置 gitlab 的 yum 源

二、安装依赖,并在系统防火墙进行 HTTP 和 SSH 配置

三、配置邮件通知(可选)

四、添加 gitlab 包仓储

五、安装 gitlab

参考:
https://about.gitlab.com/install/#centos-7
https://www.cnblogs.com/weifeng1463/p/7714492.html

Rendering on the Web

Terminology

Rendering

  • SSR: Server-Side Rendering – rendering a client-side or universal app to HTML on the server.
  • CSR: Client-Side Rendering – rendering an app in a browser, generally using the DOM.
  • Rehydration: “booting up” JavaScript views on the client such that they reuse the server-rendered HTML’s DOM tree and data.
  • Prerendering: running a client-side application at build time to capture its initial state as static HTML.

Performance

  • TTFB: Time to First Byte – seen as the time between clicking a link and the first bit of content coming in.
  • FP: First Paint – the first time any pixel gets becomes visible to the user.
  • FCP: First Contentful Paint – the time when requested content (article body, etc) becomes visible.
  • TTI: Time To Interactive – the time at which a page becomes interactive (events wired up, etc).

参考:
Rendering on the Web

代码不死

几十年前的可自定义种子的随机数生成代码

参考:
The Central Randomizer
Linear congruential generator
http://www.ict.griffith.edu.au/anthony/info/C/RandomNumbers
JavaScript随机数生成算法中为什么要用9301, 49297, 233280作为Magic Number