C++ links: Coroutines
https://github.com/MattPD/cpplinks / C++ Standard / C++20 / Coroutines
(draft; work in progress)
#coroutines (C++ Slack): https://cpplang.slack.com/archives/C5JS5JXT5
https://github.com/MattPD/cpplinks / C++ Standard / C++20 / Coroutines
(draft; work in progress)
#coroutines (C++ Slack): https://cpplang.slack.com/archives/C5JS5JXT5
class Runner { | |
std::function<void(void)> m_func; | |
boost::posix_time::ptime m_nextFireTime; | |
ctx::continuation m_cont; | |
public: | |
Runner() { init(); } | |
void init() { | |
m_cont = ctx::callcc( |
有时候安装提示成功,但是不能驱动仍然不能正常工作。提示windows不能校验证书。其错误代号是52。解决方式:https://appuals.com/how-to-fix-usb-error-digital-signature-code-52-error/。
找到注册表中HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\
的对应的驱动设备的CLASSID,然后删除里面的UpperFilter
以及LowerFilters
。
一种出现的情况是,先安装了驱动,然后再安装了bushoud。
*.pdb
文件tracepdb -f some.pdb
生成对应*.tmf
文件internal.h
中,找到TraceGuid
Let's Encrypt的证书签发的时候,通过一个叫做certbot的东西来实现的。这个东西的原理是,在本地执行,然后生成一个随机的文件放置到特定的目录下,然后,Let's Encrypt的颁发服务器访问这个文件,如果能够正常地获取,则表明我们对于本地的机器有控制权。然后就可以签发了。
首先,需要配置nginx,设置对应的url访问规则
location ^~ /.well-known/acme-challenge {
default_type "text/plain";
alias /webapps/myapp/.well-known/acme-challenge/;
autoindex off;
}
有时候、程序执行的时候,找不到动态链接库,这是因为找不大,不在标准的位置。可以考虑通过LD_LIBRARY_PATH
来设定位置。如:
LD_LIBRARY_PATH="/opt/boost/lib:${LD_LIBRARY_PATH}" ./program
详见github上的官方文档
假设已经装好,配置到 http://192.168.8.211:8880
修改 /etc/docker/daemon.json,添加