二当家的黑板报

Just because you can, doesn’t mean you should.


  • Home

  • About

  • Tags

  • Categories

  • Archives

  • Search

看完上手——awk

Posted on 2020-01-01 | Edited on 2020-05-05 | In 看完上手
Symbols count in article: 1.4k | Reading time ≈ 1 mins.
测试文件:test.txt 内如如下: 12341,2,3,4,56,7,8,9,1011,12,13,14,1516,17,18,19,20 输入方式12345# 通过管道cat test.txt | awk '{print $0}'# 文件放最后awk '{pri ...
Read more »

java api系列之HashMap

Posted on 2019-12-29 | Edited on 2020-05-05 | In java api系列
Symbols count in article: 11k | Reading time ≈ 10 mins.
java api系列目录java api系列 简述首先看一下官方文档是怎么介绍HashMap的: Hash table based implementation of the Map interface. This implementation provides all of the option ...
Read more »

java 16进制转换10进制

Posted on 2019-12-01 | Edited on 2020-05-05 | In 问题总结
Symbols count in article: 748 | Reading time ≈ 1 mins.
通常,在java里面,将16进制字符转换成10进制数字,可以这么写: 1234String s = "b81f7";long r = Long.parseLong(s, 16);System.out.println(r);//输出 754167 但是s如果是比较长的数,如:000000000000 ...
Read more »

mysql字符串与数字比较问题

Posted on 2019-09-08 | Edited on 2020-05-05 | In 笔记
Symbols count in article: 2.4k | Reading time ≈ 2 mins.
由于某些原因,项目中使用到雪花id(固定18位的数字)作为mysql表的PRIMARY KEY,且id类型为varchar。 使用id做偏移量分页时,踩到了一些类型的坑,如下: 123456mysql> select '465543153571602432' <= 46554315357 ...
Read more »

webflux的delay原理详解

Posted on 2019-07-28 | Edited on 2020-05-05 | In java
Symbols count in article: 2.3k | Reading time ≈ 2 mins.
反应式编程一开始是从前端和客户端开始兴起,现在大有蔓延到后端的趋势,Spring5推出的webflux就是反应式编程的产物。 webflux对比于springMVC,性能高出很多,网上已经有很多的测评,不再在过多说明。 上图看出对比于同步,异步所用的线程是比较少的,不过有个前提是,程序逻辑中有阻塞 ...
Read more »

Mac效率神器Alfred

Posted on 2019-06-09 | Edited on 2020-05-05 | In 笔记
Symbols count in article: 2.6k | Reading time ≈ 2 mins.
曾经,为了转化时间戳,我写了个Python脚本来提高效率,后来感觉不好编辑,又写了时间戳在线转化工具,感觉还行,后续就写了一系列在线工具来提高工作效率。 翻译就使用Chrome的有道或谷歌翻译插件,谷歌身份验证器使用的也是Chrome插件,所以工作严重依赖Chrome,屏幕经常在idea和Chrom ...
Read more »

sha512在线加密

Posted on 2019-04-27 | Edited on 2020-05-05 | In 在线工具
Symbols count in article: 9.4k | Reading time ≈ 9 mins.
超级好用的sha512在线加密工具
Read more »

sha256在线加密

Posted on 2019-04-27 | Edited on 2020-05-05 | In 在线工具
Symbols count in article: 7.2k | Reading time ≈ 7 mins.
超级好用的sha256在线加密工具
Read more »

sha1在线加密

Posted on 2019-04-27 | Edited on 2020-05-05 | In 在线工具
Symbols count in article: 5.6k | Reading time ≈ 5 mins.
超级好用的sha1在线加密工具
Read more »

md5在线加密

Posted on 2019-04-27 | Edited on 2020-05-05 | In 在线工具
Symbols count in article: 5.1k | Reading time ≈ 5 mins.
超级好用的md5在线加密工具
Read more »
12…5
二当家的

二当家的

技术改变世界

43 posts
13 categories
29 tags
GitHub 微信公号 知乎 简书
© 2018 – 2020 二当家的 | 246k | 3:44