随笔
BraidTim
这个作者很懒,什么都没留下…
展开
-
postgresql 查询缺失的序号
最近爬某数据,为了效率用了线程,但是偶尔连接缺失,所以爬下来的结果中会有缺失的数据这里希望找出缺失的序号,再次爬数据`例如表名为target_table,希望查缺失的列叫_seqselect * from (select x._seq - y._seq as shift,x._seq,y._seq from(select 1+ROW_NUMBER() over(order by _seq desc ) as _id_,_seq from target_table order by _seq des原创 2021-03-23 16:02:55 · 491 阅读 · 0 评论 -
ubuntu 20.04.1 LTS配置eos
安装完linux系统之后,按照https://github.com/EOSIO/eos的教程,有wget https://github.com/eosio/eos/releases/download/v2.0.9/eosio_2.0.9-1-ubuntu-18.04_amd64.debsudo apt install ./eosio_2.0.9-1-ubuntu-18.04_amd64.deb两步,但是下载完之后安装的时候提示depends没有安装,分别是libicu60libtinfo5那原创 2021-02-25 19:01:59 · 416 阅读 · 0 评论 -
git-github简易使用日志
最近有个项目要在多个电脑上配置,就简单写写用git和github怎么实现此类文章很多,这里就做一个最简单的操作首先安装gitsudo apt-get install git然后设置你的github用户名密码git config --global user.name “Your Name”git config --global user.email “email@example.com”然后生成秘钥对ssh-keygen -t rsa -C “youremail@example.com”一路原创 2021-03-17 18:30:06 · 232 阅读 · 0 评论