MySQL大小写敏感配置, COLLATE

MySQL大小写敏感配置, COLLATE https://blog.csdn.net/fdipzone/article/details/73692929 1 show global variables like '%lower_case%'; lower_case_file_system 表示当前系统文件是否大小写敏感,只读参数,无法修改。 ON 大小写不敏感 OFF 大小写敏感 lower_case_table_names 表示表名是否大小

debug1,expecting SSH2_MSG_KEX_ECDH_REPLY

‘debug1,expecting SSH2_MSG_KEX_ECDH_REPLY’ debug1: expecting SSH2_MSG_KEX_ECDH_REPLY 设置网卡接口的MTU值,改成: 1200 1 sudo ip link set dev eth0 mtu 1200 /etc/systemd/network/en0s25.network [Match] Name=enp0s25 [Link] MTUBytes=9000 [Network] Address=192.168.1.101/24 Gateway=192.168.1.1/24 DNS=192.168.1.1 以太网的MTU是1500,而隧道的MTU值1400左右,比以太

OpenStack 高可用 (HA)

OpenStack 高可用 (HA) 高可用性是指提供在本地系统单个组件故障情况下,能继续访问应用的能力,无论这个故障是业务流程、物理设施、IT软/硬件的故障。最好的可

go module proxy, goproxy, athens

go module proxy, goproxy, athens goproxy.io 1 export GOPROXY=https://goproxy.io,direct goproxy.cn 1 2 export GO111MODULE=on export GOPROXY=https://goproxy.cn GO 版本大于 1.13,可以直接使用 go env -w 命令设置 GOPROXY 1 2 3 4 go env -w GOPROXY=https://goproxy.io,direct # 清除 go env go env -u GOPROXY 1 2 3 4 5 6 # 阿里云 export GOPROXY=https://mirrors.aliyun.com/goproxy/ #

Go gc

Go gc gctrace 1 2 GODEBUG='gctrace=1' go run main.go 1 gc 15 @941.135s 0%: 0.058+91+0.002 ms clock, 0.058+0.35/26/61+0.002 ms cpu, 75->75->38 MB, 77 MB goal, 1 P gc # @#s #%: #+#+# ms clock, #+#/#/#+# ms cpu, #->#-># MB, # MB goal, # P where the fields are as follows: gc # the GC number, incremented at each GC @#s time in seconds since program start #% percentage of time

内存, mem

内存, mem 内存对于缓存更新策略,要区分Write-Through和Write-Back两种策略。前者更新内容直接写内存并不同时更新Cache,

angular pwa

angular pwa ng new project0 ng add @angular/pwa –project project0 ng build –prod cd project0 && http-server -p 8080 -c-1 dist/project0/ curl http://127.0.0.1:8080/ngsw/state chrome://serviceworker-internals/ 1 2 ng new my-app --routing

rock 5b

rock 5b 1 2 3 4 5 yay -S rkdeveloptool # 按住板子上的 Maskrom mode 键, 把 usb type a to c 插头插到电脑上, 放开 maskrom mode 键 lsusb # result: Bus 001 Device 112: ID 2207:350b Fuzhou Rockchip Electronics Company sudo rkdeveloptool ld 默认用户名密码 rock/rock https://wiki.radxa.com/Rock5/install/usb-install-emmc

angular material

angular material 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 yarn add @angular/material @angular/cdk @angular/animations app.module.ts import { MatSliderModule } from '@angular/material/slider'; import 'hammerjs'; … @NgModule ({.... imports: [..., MatSliderModule, …] }) app.component.html styles.css @import ‘@angular/material/prebuilt-themes/deeppurple-amber.css’; https://material.angular.io/ https://material.angular.cn/guides https://github.com/stbui/angular-material-app/tree/master/src/app https://material.io/ https://material.angular.io/components/categories

nginx 部署静态页面

nginx plain html 部署静态页面 1 2 3 4 5 6 7 8 9 <!DOCTYPE html> <html> <head> <meta charset="utf-8"> </head> <body> hello </body> </html> 1 2 3 4 5 6 server{ listen 80; server_name hello.wiloon.dev; root /var/www; index hello.html; }

chrome 启动参数

chrome 启动参数 1 2 3 4 5 6 chromium \ --user-data-dir=/path/to/cache/dir \ --incognito \ --no-first-run \ --process-per-site \ --app='https://baidu.com'

Intel Compute Stick

Intel Compute Stick Intel® Compute Stick STCK1A32WFC Intel Atom® Processor Z3735F (2M Cache, up to 1.83 GHz) Intel® Compute Stick STK1A32SC Intel Atom® x5-Z8300 Processor (2M Cache, up to 1.84 GHz) 2GB DDR3L-1600 Intel® Compute Stick STK1AW32SC Intel Atom® x5-Z8300 Processor (2M Cache,

angular deploy to nginx

angular deploy to nginx 1 ng build --aot “` server { listen 8081; server_name localhost; location / { root C:/website/angular/ng-prime/dist; // 这是angular生成的dist文件夹存放的位置 index index.html; try_files $uri $uri/ /index.html; // 注意此句,一定要加上。否则配置的子路