跳转到内容

SRE笔记

  • 密码
    • 短链
  • 服务器
  • 关于

SRE类别订阅

vue.config.js配置跨域

devServer: { host: '0.0.0.0', port: port… 继续阅读 vue.config.js配置跨域

  • 发表于: 2022-05-23 2022-06-06
  • 作者: bfyt
  • 分类: SRE
  • 标签: http, https, js, proxy, vue
  • 发表评论: vue.config.js配置跨域

heic批量转jpg工具

https://liuziangexit.com/HEIF-Utility/EN/

  • 发表于: 2022-05-19 2022-05-19
  • 作者: bfyt
  • 分类: SRE
  • 标签: https
  • 发表评论: heic批量转jpg工具

fatal: unable to access ‘https://github.com/xxx.git/’: Peer’s Certificate has expired.

use git git clone https://github.com/xxx.git

  • 发表于: 2022-05-19 2022-05-19
  • 作者: bfyt
  • 分类: SRE
  • 标签: bash, git, https
  • 发表评论: fatal: unable to access ‘https://github.com/xxx.git/’: Peer’s Certificate has expired.

nginx识别带下划线的header

默认不识别,需要在nginx.conf打开 underscores_in_headers on; #… 继续阅读 nginx识别带下划线的header

  • 发表于: 2022-05-19 2022-05-19
  • 作者: bfyt
  • 分类: SRE
  • 标签: nginx
  • 发表评论: nginx识别带下划线的header

nginx return json

location / { default_type application/json; return… 继续阅读 nginx return json

  • 发表于: 2022-05-19 2022-05-19
  • 作者: bfyt
  • 分类: SRE
  • 标签: code, https, json, nginx
  • 发表评论: nginx return json

docker run ubuntu desktop with xrdp

# https://hub.docker.com/r/danielguerra/ubuntu-xrd… 继续阅读 docker run ubuntu desktop with xrdp

  • 发表于: 2022-05-19 2022-05-19
  • 作者: bfyt
  • 分类: SRE
  • 标签: bash, Docker, https, ubuntu
  • 发表评论: docker run ubuntu desktop with xrdp

idea 修改 第三方 jar包

直接在自己包并排创建一个目标jar的同名包名 复制目标class到此处修改

  • 发表于: 2022-05-17 2022-05-17
  • 作者: bfyt
  • 分类: SRE
  • 标签: idea
  • 发表评论: idea 修改 第三方 jar包

若依 timeout 10000ms exceeded

全局配置request.js: // 创建axios实例 const service = axios… 继续阅读 若依 timeout 10000ms exceeded

  • 发表于: 2022-05-17 2022-05-17
  • 作者: bfyt
  • 分类: SRE
  • 标签: js
  • 发表评论: 若依 timeout 10000ms exceeded

rsync断点续传 网络闪断

#!/bin/bash PASSWORD='/home/nova/Desktop/rsyn… 继续阅读 rsync断点续传 网络闪断

  • 发表于: 2022-05-17 2022-05-17
  • 作者: qqlv
  • 分类: SRE
  • 标签: bash
  • 发表评论: rsync断点续传 网络闪断

mysqldump skip some tables

#!/bin/sh for j in `mysql -uroot -e "USE spse… 继续阅读 mysqldump skip some tables

  • 发表于: 2022-05-17 2022-05-17
  • 作者: qqlv
  • 分类: SRE
  • 标签: bash, grep, MySQL, sql
  • 发表评论: mysqldump skip some tables

CentOS cannot change locale UTF-8

glibc: yum install -y glibc-common vim /etc/syscon… 继续阅读 CentOS cannot change locale UTF-8

  • 发表于: 2022-05-17 2022-05-17
  • 作者: qqlv
  • 分类: SRE
  • 标签: bash, glibc, vim, yum
  • 发表评论: CentOS cannot change locale UTF-8

uniapp hide navigationBarTitleText

单路由隐藏: { "path": "pages/sys/login/i… 继续阅读 uniapp hide navigationBarTitleText

  • 发表于: 2022-05-17 2022-05-17
  • 作者: qqlv
  • 分类: SRE
  • 标签: json, uniapp
  • 发表评论: uniapp hide navigationBarTitleText

golang net.DialTimeout

func checkAlive(ip string, port int) bool { isAliv… 继续阅读 golang net.DialTimeout

  • 发表于: 2022-05-16 2022-05-16
  • 作者: qqlv
  • 分类: SRE
  • 标签: go, golang, tcp
  • 发表评论: golang net.DialTimeout

golang use uber automaxprocs

import ( “fmt” _ “go.uber.org/automaxprocs” “runti… 继续阅读 golang use uber automaxprocs

  • 发表于: 2022-05-12 2022-05-12
  • 作者: qqlv
  • 分类: SRE
  • 标签: go, golang
  • 发表评论: golang use uber automaxprocs

golang multi stage build Dockerfile

FROM golang:1.17-alpine3.13 as builder RUN mkdir /… 继续阅读 golang multi stage build Dockerfile

  • 发表于: 2022-05-12 2022-05-12
  • 作者: qqlv
  • 分类: SRE
  • 标签: go, golang, https
  • 发表评论: golang multi stage build Dockerfile

golang compile to plugin mode

go build -buildmode=plugin -o plugin1.so plugin1.g… 继续阅读 golang compile to plugin mode

  • 发表于: 2022-05-12 2022-05-12
  • 作者: qqlv
  • 分类: SRE
  • 标签: bash, go, golang
  • 发表评论: golang compile to plugin mode

lsof查看被删除的文件

lsof / |grep -i deleted

  • 发表于: 2022-05-12 2022-05-12
  • 作者: qqlv
  • 分类: SRE
  • 标签: bash, grep
  • 发表评论: lsof查看被删除的文件

golang get file md5

func Md5File(filePath string) (string, error) { va… 继续阅读 golang get file md5

  • 发表于: 2022-05-12 2022-05-12
  • 作者: qqlv
  • 分类: SRE
  • 标签: go, golang, hash, I/O
  • 发表评论: golang get file md5

golang reflect.DeepEqual 比较map对象

func TestMapEqu(t *testing.T) { m1 := map[string]a… 继续阅读 golang reflect.DeepEqual 比较map对象

  • 发表于: 2022-05-10 2022-05-10
  • 作者: qqlv
  • 分类: SRE
  • 标签: go, golang
  • 发表评论: golang reflect.DeepEqual 比较map对象

docker run grafana:8.5.2

docker run \ –user root \ -d \ -p 3000:3000 \ –n… 继续阅读 docker run grafana:8.5.2

  • 发表于: 2022-05-10 2022-05-10
  • 作者: qqlv
  • 分类: SRE
  • 标签: bash, Docker, Grafana
  • 发表评论: docker run grafana:8.5.2

分页

上一页 页码: 1 … 页码: 25 页码: 26 页码: 27 页码: 28 页码: 29 页码: 30 页码: 31 页码: 32 页码: 33 页码: 34 页码: 35 … 页码: 163 下一页

搜索

搜索:

近期评论

  • 周周 发表在《Kubernetes部署NextCloud网盘》
  • mysql m-s via gtid – SRE笔记 发表在《MySQL SET GTID_NEXT》
  • kangder 发表在《Kubernetes部署NextCloud网盘》
  • xs 发表在《Kubernetes部署NextCloud网盘》
  • test 发表在《gin不转义html标签》

标签

aws (15) bash (1123) Blockchain (28) centos (28) Docker (105) elasticsearch (26) eth (34) fil (39) go (129) golang (154) Grafana (13) hpc (15) http (299) https (1999) ingress (14) iptables (20) java (75) JVM (20) kubernetes (309) Linux (546) lotus (30) mongoDB (41) MySQL (184) nginx (112) php (25) python (148) redis (34) s3 (75) shell (20) springboot (32) tcp (69) tomcat (15) ubuntu (31) vue (18) windows (42) wordpress (14) zabbix (37) 夏小胖 (31) 安全 (55) 工具 (451) 折腾 (24) 推荐 (15) 硬件 (61) 网络 (246) 资源 (49)

归档

  • 2025 年 5 月
  • 2025 年 3 月
  • 2024 年 12 月
  • 2024 年 11 月
  • 2024 年 10 月
  • 2024 年 9 月
  • 2024 年 8 月
  • 2024 年 7 月
  • 2024 年 6 月
  • 2024 年 5 月
  • 2024 年 4 月
  • 2024 年 3 月
  • 2024 年 2 月
  • 2024 年 1 月
  • 2023 年 12 月
  • 2023 年 11 月
  • 2023 年 10 月
  • 2023 年 9 月
  • 2023 年 8 月
  • 2023 年 7 月
  • 2023 年 6 月
  • 2023 年 5 月
  • 2023 年 4 月
  • 2023 年 3 月
  • 2023 年 2 月
  • 2023 年 1 月
  • 2022 年 12 月
  • 2022 年 11 月
  • 2022 年 10 月
  • 2022 年 9 月
  • 2022 年 8 月
  • 2022 年 7 月
  • 2022 年 6 月
  • 2022 年 5 月
  • 2022 年 4 月
  • 2022 年 3 月
  • 2022 年 2 月
  • 2022 年 1 月
  • 2021 年 12 月
  • 2021 年 11 月
  • 2021 年 10 月
  • 2021 年 9 月
  • 2021 年 8 月
  • 2021 年 7 月
  • 2021 年 6 月
  • 2021 年 5 月
  • 2021 年 4 月
  • 2021 年 3 月
  • 2021 年 2 月
  • 2021 年 1 月
  • 2020 年 12 月
  • 2020 年 11 月
  • 2020 年 10 月
  • 2020 年 9 月
  • 2020 年 8 月
  • 2020 年 7 月
  • 2020 年 6 月
  • 2020 年 5 月
  • 2020 年 4 月
  • 2020 年 3 月
  • 2020 年 2 月
  • 2020 年 1 月
  • 2019 年 12 月
  • 2019 年 11 月
  • 2019 年 10 月
  • 2019 年 9 月
  • 2019 年 8 月
  • 2019 年 7 月
  • 2019 年 6 月
  • 2019 年 5 月
  • 2019 年 4 月
  • 2019 年 3 月
  • 2019 年 2 月
  • 2019 年 1 月
  • 2018 年 12 月
  • 2018 年 11 月
  • 2018 年 10 月
  • 2018 年 9 月
  • 2018 年 8 月
  • 2018 年 7 月
  • 2018 年 6 月
  • 2018 年 5 月
  • 2018 年 4 月
  • 2018 年 3 月
  • 2018 年 2 月
  • 2018 年 1 月
  • 2017 年 12 月
  • 2017 年 11 月
  • 2017 年 10 月
  • 2017 年 8 月
  • 2017 年 7 月
  • 2017 年 6 月
  • 2017 年 5 月
  • 2017 年 4 月
  • 2017 年 3 月
  • 2017 年 2 月
  • 2017 年 1 月
  • 2016 年 12 月
  • 2016 年 11 月
  • 2016 年 10 月
  • 2016 年 9 月
  • 2016 年 8 月
  • 2016 年 7 月
  • 2016 年 6 月
  • 2016 年 5 月
  • 2016 年 4 月
  • 2016 年 3 月
  • 2016 年 2 月
  • 2016 年 1 月
  • 2015 年 12 月
  • 2015 年 10 月
  • 2015 年 9 月
  • 2015 年 8 月
  • 2015 年 7 月
  • 2015 年 6 月
  • 2015 年 5 月
  • 2015 年 4 月
  • 2015 年 3 月
  • 2015 年 2 月
  • 2015 年 1 月
  • 2014 年 12 月
  • 2014 年 11 月
  • 2014 年 10 月
  • 2014 年 9 月
  • 2014 年 8 月
  • 2014 年 7 月
  • 2014 年 6 月
  • 2014 年 5 月
  • 2014 年 2 月