Sticky Posts
Categories
excerpt
manual
Post List
XML Serialization and Deserialization with Jackson
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....
more...
Jackson Annotation Examples
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...
more...
Java Read Excel to XML
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...
more...
Ports that are blocked by browsers
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...
more...
Custom Excel number format
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...
more...
Oracle Type Code Mappings
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...
more...
Shell 脚本必学技能 $1 变量详解
转载:Shell 脚本必学技能:$1 变量详解
# 特殊变量说明
Shell 脚本中常用的特殊变量及其含义
变量
含义
$0
脚本名称
$1
第一个参数
$2
第二个参数
$#
参数总数
$@
所有参数列表
# 实用案例
通过实际案例学习命令行参数的使用
goto - 快速切换目录并查看内容
1goto() { cd $1 && ls -al }
mkcd - 创建并进入新目录
1mkcd() { mkdir -p $1 && cd $1...
more...
Why Two Awaits?
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...
more...
HTTP Response Header Content-Disposition
# 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...
more...