会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
一条图图犬
博客园
首页
新随笔
联系
管理
订阅
1
2
3
4
5
···
21
下一页
2022年9月2日
yum换源
摘要: yum换源 备份 cd /etc/yum.repos.d Centos-Base.repo Centos-Base.repo.bak 下载阿里源 wget -O Centos-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo 缓存 yum
阅读全文
posted @ 2022-09-02 20:47 一条图图犬
阅读(24)
评论(0)
推荐(0)
2021年9月4日
最近读书
摘要: 占星术杀人事件 吕氏春秋 白话资治通鉴 IBM历史
阅读全文
posted @ 2021-09-04 11:14 一条图图犬
阅读(22)
评论(0)
推荐(0)
2020年12月6日
bixby
摘要: 当我 直接使用bixby并说出命令, 这是一个细粒度的操作,说什么做什么, 不说就不做。 当我 使用bixby快捷方式(关联着一串操作), bixby会了解到我目前的状态和意图, 做出一些反应。 当我 设置bixby日常程序, 我什么都不用管, bixby会全自动解决。他会执行我预先设定的针对场景的
阅读全文
posted @ 2020-12-06 00:12 一条图图犬
阅读(215)
评论(0)
推荐(0)
笔记/写作软件对比
摘要: 笔记/写作软件对比 软件名称 支持平台 价格 MD支持 VCS 保通用文本格式到iCloud 主要优点 应用场景 iOS备忘录 Apple free no no No 打开速度超快 散碎片段 滴答清单 Apple, Android ¥130 / y yes no no Cross platform
阅读全文
posted @ 2020-12-06 00:11 一条图图犬
阅读(281)
评论(0)
推荐(0)
2020年7月12日
使用macbook ssh连接到linux服务器, 并开启图形界面转发
摘要: 问题场景 希望在macbook上查看linux服务器的图形, 例如使用feh命令或者 cv2.imshow() 等情形. 如果没正确配置则会报错: feh ERROR: Can't open X display. It *is* running, yeah? 配置 首先下载安装 https://ww
阅读全文
posted @ 2020-07-12 15:33 一条图图犬
阅读(815)
评论(0)
推荐(0)
2020年7月2日
采坑日记
摘要: scipy.ndimage.rotate函数默认启用了插值, 用于处理非图像ndarray的时候很容易出错 切记将order=0
阅读全文
posted @ 2020-07-02 15:29 一条图图犬
阅读(121)
评论(0)
推荐(0)
2020年4月25日
[头条刷题] 判断一个字符串的组合是否为另一个字符串的子串 leetcode 567
摘要: 这种方法比较笨, 就是设定一个窗口, 遍历的时候更新窗口, 判断窗口构成的map是否和查询字符串构成的map一致
阅读全文
posted @ 2020-04-25 19:38 一条图图犬
阅读(453)
评论(0)
推荐(0)
2020年4月24日
[头条刷题] 斐波那切数列
摘要: ```C++ int fib(const int num){ std::vector fibs({0, 1}); if( num == 0 || num == 1){ return num; } else{ int len = fibs.size(); int elem ...
阅读全文
posted @ 2020-04-24 21:23 一条图图犬
阅读(144)
评论(0)
推荐(0)
2020年4月23日
C++ const用于iterator
摘要: ```C++ // 本着能用const一定要要用的原则, 在使用STL iterator的时候也要注意使用const , 避免某些情况下避免STL的内容 std::vector::iterator iter = ivec.begin(); // iter可以改变, ivec内容也可以改变 const std::vector::iterator c_iter = ivec.begin(); // i
阅读全文
posted @ 2020-04-23 20:41 一条图图犬
阅读(136)
评论(0)
推荐(0)
C++实现类似python中的字符串split函数
摘要: ```C++void string_split(const std::string& s, std::vector& tokens, const std:: string& delimeters){ std::string::size_type lastPos = s.find_first_not_of(delimeters, 0); std::string::size_type po...
阅读全文
posted @ 2020-04-23 15:05 一条图图犬
阅读(328)
评论(0)
推荐(0)
1
2
3
4
5
···
21
下一页
公告