WeihanLi.Npoi export Excel according to template
Intro
The original export method is more suitable for simple export. Each data is in one row. Although the data column has a high degree of customization, if one data corresponds to more than one row, it can't be done. So we want to support export according to template. In version 1.8.0, the function of export according to template is introduc ...
Added by Thresher on Tue, 21 Apr 2020 18:03:02 +0300
EFCore Extended Select Method (Customize Query Statements to Entities)
EFCore Extended Select Method (Customize Query Statements to Entities)
Often when working with databases, queries return fields that are inconsistent with what we define as entities, so it is cumbersome to create a large number of models for UI or interface layers and to manually correspond to the fields.This article addresses these repeti ...
Added by welsh_sponger on Fri, 17 Apr 2020 20:51:39 +0300
Use iCarousel to achieve the effect of 3D horizontal screen sliding
iCarousel introduction
Open source address: https://github.com/nicklockwood/iCarousel
iCarousel is a class based on scrollView. The main effect type of this class is rotation. For iphone, iPad and Mac OS. iCarousel already comes with many basic effects.
As a third-party framework integrated into the project, iCarouse ...
Added by Jim_Bo on Wed, 15 Apr 2020 21:36:44 +0300
JS Component Series - JsPlumb Production Flowchart and Detailed Relevant Effects
Top
Foreword: The previous project used JsPlumb, a drag-and-drop flowchart technology from the Web, which is not really difficult, but it feels good to share some flash-like effects made with HTML in the project.
Jsplumb website: https://jsplumbtoolkit.com
GitHub: https://github.com/sporritt/jsplumb/
1. Effect Diagram Display
...
Added by RTT on Wed, 15 Apr 2020 03:55:48 +0300
Mars open source monthly (March 2020)
This month, Mars released 0.4.0b1 ,0.4.0b2 and 0.3.2 as well as 0.3.3 , click the link to view the detailed Release Notes. The two releases this month are special cases. 0.4.0b2 fixes the more urgent problems in 0.4.0b1.
Mars project release cycle
Here is a brief introduction to the release cycle of Mars. Mars takes one month as the release cy ...
Added by Supplement on Mon, 13 Apr 2020 10:57:13 +0300
EF multi tenant instance: fast implementation of sub database and sub table
Preface
In this essay, we continue to demonstrate how to implement EF multi tenancy.
Today, we mainly demonstrate the transformation under multi tenancy, as shown in the following figure
Implementation
Project structure
This time, our sample project is streamlined, with only one API project, directly containing all the code.
As ...
Added by akumakeenta on Mon, 06 Apr 2020 04:53:13 +0300
http network request sent by qt
4. Send http request
4.1 copy mynetworkobject.cpp and mynetworkobject.h to your project
(ps: these two documents were found on the Internet, and I have modified them)
4.2 add "mynetworkobject.h" to the header file
// I added it in mainwindow.h (no special explanation below, take this demo as an example)
#inc ...
Added by Strings on Mon, 06 Apr 2020 04:08:50 +0300
[pytorch SSD target detection] train the data set created by yourself
Make target detection data set similar to pascal voc format: https://www.cnblogs.com/xiximayou/p/12546061.html
Source: https://github.com/amdegroot/ssd.pytorch
The copied code has many holes to step on...
I uploaded it to Google collab. The current directory structure is as follows:
It should be noted that although we only have two ...
Added by ticallian on Mon, 06 Apr 2020 02:05:15 +0300
20 lines to implement a Promise
Author: dream at dawn source: gold digging
Preface
During the interview, there are often interviewers who ask you to implement A Promise. If you implement it by referring to the A + specification, it may not end until dark.
When it comes to Promise, the core function we first think of is asynchronous chain call. This article will take yo ...
Added by mdannatt on Sun, 05 Apr 2020 08:53:29 +0300
LeetCode 36. Valid Sudoku
My LeetCode: https://leetcode-cn.com/u/ituring/
My LeetCode brush Title source [GitHub]: https://github.com/izhoujie/Algorithmcii
LeetCode 36. Valid Sudoku
subject
Determine if a 9x9 Sudoku is valid.Just u according to the following rule u, verify that the number that has been filled in is valid.
Numbers 1-9 can only appear once per line.
Nu ...
Added by Thundarfoot on Sat, 04 Apr 2020 20:44:55 +0300