Wider Github and Zhihu
The main div for GitHub and Zhihu is too narrow, which makes my high-resolution screen not that useful. In this case, I update some exiting stylish script to improve.
The main div for GitHub and Zhihu is too narrow, which makes my high-resolution screen not that useful. In this case, I update some exiting stylish script to improve.
在18.04出来之前,一直用Ubuntu的16.04,安装网易音乐之后,只需要在/usr/share/applications/netease-cloud-music.desktop 添加一个 --no-sandbox就可以解决了。 1Exec=netease-cloud-music --no-sandbox %U
Bought a TP-link AC1200 wifi adapter long before and not used it so far. Yesterday, I find it again when I collected my old stuff. Since my old Dell laptop does not support 5G channel, and its built-in wifi adapter sucks, why not have a try!!!
12jackson InvalidDefinitionException: Cannot find a (Map) Key deserializer for type [simple type, class XXXX]
In recent times, I did a lot practise of micro-service with spring boot. And handled a lot of JSON(Jackson) related serialization and deserialization issues. In this post, I will share some tricky how to “fix” Circular References.
作为一个以Java为主开发语言的攻城狮,我觉得我已经离不开Jetbrains的产品了。JB公司前段时间推出的toolbox小工具我也在第一时间使用了(不用的话根本就追不上版本帝的更新节奏)。然而,最近我吧我的系统改为深度的Linux(15.4)之后,我发现toolbox挂了。。。挂了。。。
在做服务器端API开发的时候,如何保持文档的更新是一个比较头疼的问题。试过写成word文档,缺点很明显: 更新不及时 不便于查阅 也试过用其他的在线API管理工具,太懒了,总是无法保持更新。而且大多数服务还是收费的。
I used to use swiftype as my site search engine, however, it does not provide nay free plan now, what’s more, the price is too high for my personal blog (Seems my previous free plan is not auto cancelled by swiftype). However, it is time to find an alternative now. And it is Tipue search.
这篇文章将简单介绍一下如何用Jersey(DropWizard)在一次Request中接受多个文件。其实Google一下,SO上会有很多回答,只是在这边献丑一下。
前段时间趁着参加一个无聊活动的过程中折腾了一下OpenShift,即使有一些不足,但是感觉它比我想象的好用。底下就扯扯我是瞎折腾过程中得经验。
其实下面这些个assert语句都可以通过junit测试。 12345678@Testpublic void integerValueOfTest() { Assert.assertTrue(Integer.valueOf(-128) == Integer.valueOf(-128)); Assert.assertFalse(Integer.valueOf(128) == Integer.valueOf(128)); Assert.assertTrue(Integer.valueOf(127) == Integer.valueOf(127)); Assert.assertTrue(Integer.valueOf(1) == Integer.valueOf(1)); Assert.assertFalse(Integer.valueOf(1000) == Integer.valueOf(1000));}
这是我在StackOverflow上提的第一个问题:Why Objects.hash() returns different values for the same input?
对于PDF文件,我一直都是用Foxit Reader,但是最近在测试网站在IE中显示PDF文件的时候(IE真操蛋,没有内置的PDF渲染器,需要插件支持),公司让我安装一下Adobe Reader。 无奈 之下又得安装一下。没想到整个安装过程比我想象的折腾。