Sticky Posts

异音相从谓之和,同声相应谓之韵。- 刘勰《文心雕龙》 作者之用心未必然,而读者之用心何必不然。- 谭献《复堂词录序》 凡作诗之体,意是格,声是律,意高则格高,声辨则律清,格律全,然后始有调。- 空海《文镜秘府论・论文意》 词之为体,要眇宜修,能言诗之所不能言,而不能尽言诗之所能言。诗之境阔,词之言长。- 王国维《人间词话》 # 先秦 # 佚名 # 桃夭 12345桃夭桃之夭夭,灼灼其华。之子于归,宜其室家。桃之夭夭,有蕡其实。之子于归,宜其家室。桃之夭夭,其叶蓁蓁。之子于归,宜其家人。 #...

Categories

Post List

repost: XML Serialization and Deserialization with Jackson # 1. Overview In this tutorial, we’ll learn how to serialize Java objects to XML data using Jackson 2.x, and deserialize them back to a POJO. We’ll focus on the basic operation that doesn’t require a lot of complexity or customization. # 2....

repost: Jackson Annotation Examples # 1. Overview In this tutorial, we’ll do a deep dive into Jackson Annotations. We’ll see how to use the existing annotations, how to create custom ones, and finally, how to disable them. # 2. Jackson Serialization Annotations First, we’ll take a look at the...

repost: Microsoft Word Processing in Java with Apache POI # 1. Overview Apache POI is a Java library for working with the various file formats based on the Office Open XML standards (OOXML) and Microsoft’s OLE 2 Compound Document format (OLE2). This tutorial focuses on the support of Apache POI for...

repost: Ports that are blocked by browsers - Keenformatics Today I was experimenting with a small project using Docker and Flask. I just created two identical services and exposed them on two different ports: nothing fancy. However, to my surprise, only one of the two seemed to be working. The...

repost: Custom Excel number format by [Svetlana Cheusheva](https://www.ablebits.com/office-addins-blog/author/svetlana-cheusheva/), updated on October 10, 2023 This tutorial explains the basics of the Excel number format and provides the detailed guidance to create custom formatting. You will learn...

repost: Oracle Type Code Mappings Use case: Imagine that you need to represent type codes for the Oracle data types across PL/SQL, Java and C. Challenge: Oracle uses different type codes in different contexts. This is fair enough if they need to adhere to standards (eg JDBC), but there’s really no...

转载:Shell 脚本必学技能:$1 变量详解 # 特殊变量说明 Shell 脚本中常用的特殊变量及其含义 变量 含义 $0 脚本名称 $1 第一个参数 $2 第二个参数 $# 参数总数 $@ 所有参数列表 # 实用案例 通过实际案例学习命令行参数的使用 goto - 快速切换目录并查看内容 1goto() { cd $1 && ls -al } mkcd - 创建并进入新目录 1mkcd() { mkdir -p $1 && cd $1...

repost: Why Two Awaits? -Tom Steven I have a simple node server that demonstrates this content. The related code is all here. You’ve seen these two await s before, right? 1234// first awaitlet response = await fetch("/some-url");// second awaitlet myObject = await...

# Content-Disposition from: atangshare/content-disposition MDN Content-Disposition The HTTP Content-Disposition header indicates whether content should be displayed inline in the browser as a web page or part of a web page or downloaded as an attachment locally. The first parameter in the HTTP...