「Script」Github commit记录at作者

最近在发布 kuasar-io/kuasar v1.0.1 补丁版本。在 main 分支同步 release/1.0 时,commit没有按照原有 PR 提交新 PR 进行同步,而是使用了手动 Cherry-pick 的方式同步了commit。导致发布 Release 时,Generate release notes 自动生成的PR记录无法at原作者。 ...

三月 27, 2025 · 2 分钟 · 625 字 · MorningTZH

C++公共模块回调函数实现方式

C++公共模块回调函数实现方式 在代码实现时,常常会遇到模块间函数调用的问题。对于一个公共模块,会有明确的public方法来作为接口,但是当需要发送消息(此处仅讨论回调函数)到外部业务模块的时候就很难去定义回调函数的类型。通常在命令式编程中会采用函数指针的方法,但在OO中调用者是一个类的话很难将类成员函数发给基础模块做回调函数。 ...

九月 5, 2019 · 1 分钟 · 173 字 · MorningTZH

devstack安装镜像

devstack安装镜像 pip镜像: pip 镜像我使用清华大学的,在可信列表(豆瓣的可坑死啦,不在信任列表,安装会跳问题:豆瓣源『http://pypi.douban.com/simple』) In file “~/.pip/pip.conf” [global] index-url = https://pypi.tuna.tsinghua.edu.cn/simple Ubuntu Apt 镜像 apt镜像反正看你喜欢咯!!! In file “/etc/apt/sources.list” openstack@openstack deb http://mirrors.aliyun.com/ubuntu/ trusty main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ trusty-security main restricted universe m ultiverse deb http://mirrors.aliyun.com/ubuntu/ trusty-updates main restricted universe mu ltiverse deb http://mirrors.aliyun.com/ubuntu/ trusty-proposed main restricted universe m ultiverse deb http://mirrors.aliyun.com/ubuntu/ trusty-backports main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ trusty main restricted universe multiv erse deb-src http://mirrors.aliyun.com/ubuntu/ trusty-security main restricted univer se multiverse deb-src http://mirrors.aliyun.com/ubuntu/ trusty-updates main restricted univers e multiverse deb-src http://mirrors.aliyun.com/ubuntu/ trusty-proposed main restricted univer se multiverse deb-src http://mirrors.aliyun.com/ubuntu/ trusty-backports main restricted unive rse multiverse ...

九月 20, 2016 · 2 分钟 · 521 字 · MorningTZH

Brainfuck解释器[on python]

阿婆主脑容量不够,ぜんぜん不能在大脑中运行 Brainfuck 程序,而且发现连运行过程都想不出来啊, 然而就这么几个字符完全可以自己写解释器嘛,并且可以打印出运行过程,而且可以试试看做成playground 的形式呢,想想还是挺有趣的。 ...

十二月 5, 2015 · 4 分钟 · 1566 字 · MorningTZH

Install GHC on El Capitan

最近因为在学Haskell,所以需要在电脑上安装GHC,然而遇到了一些困难,所以需要做一下记录。 ...

十二月 5, 2015 · 2 分钟 · 594 字 · MorningTZH

关于haskell随便写点什么1

LYAH字典查询函数理解指南 for what 最近在看Haskell,并且极度想要给好基友安利这一个语言。So,今天看《Learn You a Haskell for Great Good》恰巧基友被我安利烦了,问我haskell有什么好的,我刚看到§7.4 Data.Map这章,就发了看到的第一个函数给他,不过感觉他会看不懂,就想写个讲解给他,写长了之后就想成文了。 ...

十一月 7, 2015 · 6 分钟 · 2642 字 · MorningTZH