Skip to content

Instantly share code, notes, and snippets.

Avatar

Savorboard yang-xiaodong

View GitHub Profile
View gist:f4752bde5d0c86c320949de75ae85bc2
{
"state": "open",
"settings": {
"index": {
"creation_date": "1558674881768",
"number_of_shards": "1",
"number_of_replicas": "0",
"uuid": "xuaarFusTAWt0qmAqVFXlA",
"version": {
"created": "5060599"
@yang-xiaodong
yang-xiaodong / cap-2.3-SqlMigrationScript.md
Last active Aug 29, 2018
CAP v2.3 sql migration script
View cap-2.3-SqlMigrationScript.md

MySQL

ALTER TABLE `cap.published` MODIFY Id BIGINT NOT NULL;
ALTER TABLE `cap.received` MODIFY Id BIGINT NOT NULL;

PostgreSql

View NPOIHelper.cs
using System;
using System.Data;
using System.IO;
using NPOI.SS.UserModel;
using NPOI.XSSF.UserModel;
using NPOI.HSSF.UserModel;
namespace NPOIOprateExcel
{
public class ExcelUtility