摘要:
随笔 - 0 文章 - 0 评论 - 0 随笔 - 0 文章 - 0 评论 - 0 C++初学之LeetCode刷题基础 2019/5/13 个人说明:这是我第一次写博客文章,主要是试写,写的不好请谅解。 初学C++ 下面是关于函数部分的学习 内联函数 默认参数列表 缺省参数列表 哑元函数 内联函数 阅读全文
2025年2月24日 #
摘要:
debain12 git 代理设置 sudo apt install ncat # vim ~/.ssh/config Host github.com User git Hostname github.com ProxyCommand /usr/bin/ncat --proxy 127.0.0.1: 阅读全文
2025年1月2日 #
摘要:
基础知识 gas gas是衡量执行某些操作所需的计算量的单位,用来计算为了执行操作而需要支付给网络的费用数额。 通俗理解,Gas 是给矿工的佣金,并以 ETH 支付,无论是交易、执行智能合约并启动 DApps,还是支付数据存储费用,都需要用到 Gas。 Gas的目的是限制执行交易所需的工作量,同时为 阅读全文
2024年12月26日 #
摘要:
GO echart 简单使用 package main import ( "os" "github.com/go-echarts/go-echarts/v2/charts" "github.com/go-echarts/go-echarts/v2/event" "github.com/go-echa 阅读全文
2024年10月8日 #
摘要:
debain12 系统配置记录 1. rclone 自动 配置 (base) lyr@debian:~$ sudo vim /etc/systemd/system/rclone-webdav.service (base) lyr@debian:~$ sudo cat /etc/systemd/sys 阅读全文
2023年2月9日 #
摘要:
ts基础类型 let s = 'st'; console.log(s); let arr: Array<number | string> = [1, 2, 3, '4']; let tupe: [number, string] = [0, '1']; // // 函数类型 // 对象 let obj 阅读全文
2022年11月16日 #
摘要:
golang etcd 操作 go get -u -x google.golang.org/grpc@v1.26.0 package main import ( "context" "fmt" "time" "github.com/coreos/etcd/clientv3" ) func main( 阅读全文
2022年6月21日 #
摘要:
vscode 配置运行redis 参考视频教程 https://github.com/wenfh2020/youtobe/blob/master/redis-debug.md https://wenfh2020.com/2020/01/05/redis-gdb/ 我的配置 { // See http 阅读全文
摘要:
vscode 配置 c,c++ debug 运行环境 这里我们要配置 tasks.json ,最好搞一个模板 ctrl shift + p, 打开 open user tasks { // See https://go.microsoft.com/fwlink/?LinkId=733558 // f 阅读全文
摘要:
vscode 调试golang配置 { // 使用 IntelliSense 了解相关属性。 // 悬停以查看现有属性的描述。 // 欲了解更多信息,请访问: https://go.microsoft.com/fwlink/?linkid=830387 "version": "0.2.0", "co 阅读全文
摘要:
docker 分段构建 参考教程 # Go语言环境基础镜像 FROM golang:latest # 将源码拷贝到镜像中 COPY server.go /go/release/ # 指定工作目录 WORKDIR /go/release # 编译镜像时,运行 go build 编译生成 app 可执行 阅读全文