Geek

博客园 首页 新随笔 联系 订阅 管理

#

摘要: 随笔 - 0 文章 - 0 评论 - 0 随笔 - 0 文章 - 0 评论 - 0 C++初学之LeetCode刷题基础 2019/5/13 个人说明:这是我第一次写博客文章,主要是试写,写的不好请谅解。 初学C++ 下面是关于函数部分的学习 内联函数 默认参数列表 缺省参数列表 哑元函数 内联函数 阅读全文
posted @ 2019-05-13 22:44 .geek 阅读(2246) 评论(0) 推荐(0)

2025年4月14日 #

摘要: pandas 行索引 pandas索引修改 >>> df.index = pd.Index(list('ABCD')) >>> df.columns = pd.Index(list('abcd')) >>> df a b c d A 0.776520 0.093637 0.819028 0.3046 阅读全文
posted @ 2025-04-14 15:06 .geek 阅读(16) 评论(0) 推荐(0)

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: 阅读全文
posted @ 2025-02-24 00:11 .geek 阅读(32) 评论(0) 推荐(0)

2025年1月2日 #

摘要: 基础知识 gas gas是衡量执行某些操作所需的计算量的单位,用来计算为了执行操作而需要支付给网络的费用数额。 通俗理解,Gas 是给矿工的佣金,并以 ETH 支付,无论是交易、执行智能合约并启动 DApps,还是支付数据存储费用,都需要用到 Gas。 Gas的目的是限制执行交易所需的工作量,同时为 阅读全文
posted @ 2025-01-02 18:55 .geek 阅读(15) 评论(0) 推荐(0)

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 阅读全文
posted @ 2024-12-26 14:49 .geek 阅读(121) 评论(0) 推荐(0)

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 阅读全文
posted @ 2024-10-08 14:39 .geek 阅读(84) 评论(0) 推荐(0)

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 阅读全文
posted @ 2023-02-09 12:00 .geek 阅读(31) 评论(0) 推荐(0)

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( 阅读全文
posted @ 2022-11-16 11:11 .geek 阅读(189) 评论(0) 推荐(0)

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 阅读全文
posted @ 2022-06-21 14:59 .geek 阅读(517) 评论(0) 推荐(0)

摘要: vscode 配置 c,c++ debug 运行环境 这里我们要配置 tasks.json ,最好搞一个模板 ctrl shift + p, 打开 open user tasks { // See https://go.microsoft.com/fwlink/?LinkId=733558 // f 阅读全文
posted @ 2022-06-21 14:25 .geek 阅读(338) 评论(0) 推荐(0)

摘要: vscode 调试golang配置 { // 使用 IntelliSense 了解相关属性。 // 悬停以查看现有属性的描述。 // 欲了解更多信息,请访问: https://go.microsoft.com/fwlink/?linkid=830387 "version": "0.2.0", "co 阅读全文
posted @ 2022-06-21 13:37 .geek 阅读(368) 评论(0) 推荐(1)