Home
Yates Zhang
Cancel

Blockchain 引诱人充手续费的骗局

refer to: https://etherscan.io/tx/0x74c3c589a909aa4f17ee406ba7388b2507eca3b027663e77bbd97ddc4ddd5a9a 这个是典型的TRX的:

域名转出流程transfer Away From Godaddy

refer to: 我的没转成功。 总之顺序就是: 1. 在现有的域名后台拿到转移码。 2. 在新的域名后台导入,写入这个转移码。3. 交点费。  就可以了。

斗鱼pc端存在内存泄漏22g的网页内存占用

Web Apifox的使用类似swagger

refer to: https://www.apifox.cn/?  跨平台的版本 基本使用: 1. 创建文档(略) 太简单了略。 2. 调试文档 可以选择不同的环境,决定了不同的服务器地址 设置代理 发现请求要加上header 所以我们就给它加上: 所以就有结果了:

Rails Pluck Vs Map

refer to:  https://stackoverflow.com/questions/45347317/which-one-is-faster-between-map-collect-select-and-pluck pluck:  pick 1 attribute from array map: re-implement your function my_ar...

Rails Rspec Factory Girl

例子,如果某个model对应的factory定义为: factory  :tx do   blockend block为一个独立的model,  tx belongs_to block 那么,在创建的该tx的时候,我们应该: create :tx, block: Block.new 不应该这样调用:   create :tx, bl...

Rails Mysql Utf8mb4 Mysql2error Incorrect String Value Error

refer to: https://stackoverflow.com/questions/22464011/mysql2error-incorrect-string-value 1. change your  database.yml: development: adapter: mysql2 database: db username: password: ...

Mysql Too Many Connections

refer to: https://www.thegeekdiary.com/mysql-error-too-many-connections-and-how-to-resolve-it/ This error is caused by mysql, but not rails config. check variable: max_connections: SHOW VARIAB...

Rails Sidekiq有点可怕啊

1. 无法根据redis来准确删除某个任务,隐藏的特别深,只能使用flushall 2. 网上的策略都不好使,例如: https://stackoverflow.com/questions/25889699/sidekiq-stop-one-single-running-job https://stackoverflow.com/questions/48348723/sidekiq-lis...

Rails Upsert的使用解释 必须与id配合才可以

refer to :  https://stackoverflow.com/questions/4695563/upsert-in-rails-activerecord https://stackoverflow.com/questions/58759765/how-does-the-upsert-function-in-rails-work https://apidock....