MySQL 主从复制(也称 A/B 复制) 的原理 Master将数据改变记录到二进制日志(binary log)中,也就是配置文件log-bin指定的文件, 这些记录叫做二进制日志事件(binary log events); Slave通…
Leave a Comment南风 South Breeze Posts
给定一个整数数组 nums 和一个目标值 target,请你在该数组中找出和为目标值的那 两个 整数,并返回他们的数组下标。 你可以假设每种输入只会对应一个答案。但是,数组中同一个元素不能使用两遍。 示例: 给…
1 Comment产生问题 Antd 项目每次 build 时,访问页面抛出 500 错误。于是,打算加一个 error_page 来表示项目正在维护 Nginx 配置 500 页面模板 server { …… fastcgi_intercept_e…
Leave a Commentjszip file-saver import JSZip from ‘jszip’; import FileSaver from ‘file-saver’; const getBase64Image = img => { let c…
1 Comment这个库比较好用:https://github.com/shivammathur/homebrew-php 旧⬇️ 安装已经停止维护的源 https://github.com/eXolnet/homebrew-deprecate…
Leave a Comment基础转义 less div { > span { width: calc(~’100% – 10px’); } } 编译为css div > span { width: calc(100% – 10px); } 变量插值 les…
Leave a Comment