自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(9)
  • 收藏
  • 关注

原创 sed 命令替换字符串

sed命令 -E 正则表达式扩展模式s| 竖线符号表示分隔符,一般用/ 比较多\2表示 (.+)\3表示 (361度)

2024-03-30 15:02:25 194

原创 aioredis asyncio 协程 Coroutines

【代码】aioredis asyncio 协程 Coroutines。

2023-12-22 10:41:30 383

原创 create-react-app 报错 FETCH_ERROR

Mac OS 创建 react 项目报错, create-react-app 报错 FETCH_ERROR

2022-11-09 20:51:58 148 1

原创 August 13, 2021, GitHub will no longer accept account passwords

昨天收到 GitHub 邮件,要用 token 进行验证。mac 要先清除缓存的用户名密码,然后在提示输入密码的时候,输入 token参考以下链接:生成tokenhttps://docs.github.com/en/github/authenticating-to-github/creating-a-personal-access-tokenhttps://zhuanlan.zhihu.com/p/342855489https://github.blog/2020-12-15-t..

2021-01-27 18:42:11 146

原创 golang tour Couldn‘t find tour files

Couldn't find tour files: could not find go-tour content; check $GOROOT and $GOPATHgo get golang.org/x/tour备注:go 代理https://goproxy.cn/https://goproxy.io/https://search.gocenter.io/在 go 官方文档上,安装 tour 项目。安装完以后,tour 会被安装到 GOPATH bin 文件夹下,运行的时候报错。

2020-11-03 14:32:29 760

原创 渐进分析的一些备注

渐进符号的具体解释,可以参考《算法导论》一书

2020-08-21 10:59:08 90

原创 Visual Studio Code 配置 virtualenv

vs code 配置 virtualenv,网上都说配置 json,这个字段 python.pythonPath可是新版 vs code 没有编辑 json 啊?点击左下角的齿轮,进入设置,搜 path,或者 python path。然后输入 python 路径,请见下图:...

2019-11-06 13:16:33 508

原创 django celery beat 报错 can't compare offset-naive and offset-aware datetimes

celery -A proj beat -l info --scheduler django_celery_beat.schedulers:DatabaseScheduler在启动 django celery beat 的时候,出现这个错误TypeError: can't compare offset-naive and offset-aware datetimes通过查看报错位置的源...

2019-09-27 11:48:07 1640 1

原创 Ubuntu Snap 离线安装 Redis Desktop Manager

Ubuntu Snap 离线安装 Redis Desktop Manager在 Ubuntu 上用过 snap 安装软件的同学都知道,下载慢的简直没法用,下面我们来看看怎么离线安装。就像安装 .deb包一样。本篇博客就以Redis Desktop Manager 为例。一种解决方法是,这个网站可以下载 snap 包https://uappexplorer.com/snap/ub...

2019-08-22 17:29:32 3808 1

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除