会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
熵之寒
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
···
8
下一页
2022年6月6日
线性同余
摘要: uint private _seed; function srand(uint64 seed) external { _seed = seed; } event Random(uint[] value); // 线性同余 function _rand(uint seed) internal view
阅读全文
posted @ 2022-06-06 14:34 熵殇
阅读(38)
评论(0)
推荐(0)
2022年5月30日
go eth 踩坑 crypto.Sign 与 eth.account.signHash 或者 web3Process.web3.eth.personal.sign 签名结果不同 除了最后一位 都匹配
摘要: golang签名与web3 都不相同 由于 签名最后一位的asc码不同
阅读全文
posted @ 2022-05-30 11:44 熵殇
阅读(861)
评论(0)
推荐(0)
2022年4月25日
开启linux sftp
摘要: 修改配置文件 vim /etc/ssh/sshd_config Subsystem sftp /usr/libexec/openssh/sftp-server 修改为 Subsystem sftp internal-sftp 重启sshd服务 systemctl restart sshd
阅读全文
posted @ 2022-04-25 18:01 熵殇
阅读(663)
评论(0)
推荐(0)
2022年4月19日
truffle 使用笔记
摘要: Migrate 文件 1 导入合约的2种形式 const openherobox = await OpenHeroBox.deployed(); const openherobox = await OpenHeroBox.at("0x159275AE3cA6354f7F23FF8CA9fFEc2B0
阅读全文
posted @ 2022-04-19 18:15 熵殇
阅读(117)
评论(0)
推荐(0)
2022年1月28日
django 源码分析
摘要: 定时器场景 from threading import Timer class CustomTimer(Timer): def run(self): while not self.finished.is_set(): self.function(*self.args, **self.kwargs)
阅读全文
posted @ 2022-01-28 15:33 熵殇
阅读(109)
评论(0)
推荐(0)
2021年11月22日
aws rds 储存空间占用 异常排查 存储空间占满
摘要: 管理基于表的 MySQL 日志 PDF RSS 可通过创建数据库参数组并将 log_output 服务器参数设置为 TABLE,将一般日志和慢速查询日志引向数据库实例上的表。系统随后会将一般查询记录到 mysql.general_log 表,并将慢速查询记录到 mysql.slow_log 表。可以
阅读全文
posted @ 2021-11-22 10:09 熵殇
阅读(482)
评论(0)
推荐(0)
2021年9月27日
django orm 笔记
摘要: 常用filter 选项 __isnull 可以判断 为空字段 __lenght 判断char 长度select_for_update() 可以确保数据一致性 数据库加锁
阅读全文
posted @ 2021-09-27 17:45 熵殇
阅读(30)
评论(0)
推荐(0)
2021年8月9日
locust websocket 测试购买demo
摘要: locust websocket 测试购买demo
阅读全文
posted @ 2021-08-09 10:00 熵殇
阅读(94)
评论(0)
推荐(0)
2021年7月12日
docker-compose mysql
摘要: [mysql] default-character-set = utf8mb4 [client] default-character-set = utf8mb4 [mysqld] pid-file = /var/run/mysqld/mysqld.pid socket = /var/run/mysq
阅读全文
posted @ 2021-07-12 11:27 熵殇
阅读(265)
评论(0)
推荐(0)
2021年5月21日
docker 安装rocketmq
摘要: 启动nameserver docker run -d -p 9876:9876 --name rmqserver foxiswho/rocketmq:server-4.5.1 启动broker docker run -d -p 10911:10911 -p 10909:10909 --name rm
阅读全文
posted @ 2021-05-21 10:26 熵殇
阅读(152)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
···
8
下一页
公告