上一页 1 2 3 4 5 6 7 ··· 41 下一页
摘要: 原文 https://blog.allegro.tech/2023/11/how-does-btree-make-your-queries-fast.html 阅读全文
posted @ 2023-12-26 10:46 talentzemin 阅读(7) 评论(0) 推荐(0) 编辑
摘要: 背景 C#项目要携带用户信息,通过JWT, 跳转到Java项目。为了验证Token,所以用于签名的key和算法必须一致。 Java项目JWT的实现 String secret = "PKCS8 encode private key"; PKCS8EncodedKeySpec keySpec = ne 阅读全文
posted @ 2023-12-26 09:46 talentzemin 阅读(134) 评论(0) 推荐(0) 编辑
摘要: 相关好文 https://www.thenile.dev/blog/transaction-isolation-postgres 阅读全文
posted @ 2023-12-14 00:21 talentzemin 阅读(3) 评论(0) 推荐(0) 编辑
摘要: 代码 public class SamlUtil { private static SamlUtil samlUtil; private static final Object lock = new Object(); private SamlUtil() { } public static Sam 阅读全文
posted @ 2023-12-12 10:30 talentzemin 阅读(4) 评论(0) 推荐(0) 编辑
摘要: 背景 项目早期底层方法捕获了能考虑到的业务异常,但即便如此,生产环境还是会产生各种难以预料的结果,所以在上层调用的时候,这些异常就进入了Exception中,返回到UI上就是“System error” try { } catch(bizException1 | bizException2) { } 阅读全文
posted @ 2023-12-11 20:36 talentzemin 阅读(17) 评论(0) 推荐(0) 编辑
摘要: Ref https://ayende.com/blog/198241-B/the-subtleties-of-proper-b-tree-implementation 阅读全文
posted @ 2023-12-11 09:40 talentzemin 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 代码 项目启动,第一次访问该方法 public ActionResult Index() { Response.Cookies["Test"].Value = "TestCookieValue"; var result = Request.Cookies["Test"].Value; //此处res 阅读全文
posted @ 2023-12-01 17:15 talentzemin 阅读(10) 评论(0) 推荐(0) 编辑
摘要: Ref https://einarwh.wordpress.com/2017/01/21/donkey-code/ 阅读全文
posted @ 2023-11-29 13:37 talentzemin 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 代码 var myScriptBundle = new ScriptBundle("~/bundles/script").Include("~/Scripts/myscript.js"); bundles.Add(myScriptBundle); var myStyleBundle = new St 阅读全文
posted @ 2023-11-24 15:19 talentzemin 阅读(14) 评论(0) 推荐(0) 编辑
摘要: 版本信息 WSL:2 Linux: Ubuntu 20.04 LTS keyCloak:21.1.2 JDK: 17.0.9 Linux命令 所有命令若有权限问题,前面加sudo即可 rm -r folder mv folder target 查看版本信息 lsb_release -a JDK安装配 阅读全文
posted @ 2023-11-23 10:15 talentzemin 阅读(210) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 41 下一页