Front end page export PDF

This is an encapsulated vue component, which simply sets the export header, content, and bottom The content can be paged. It can export all pages of the list The implementation is based on html2canvas to convert the page to image, and then use jspdf to add the generated image directly to pdf html2canvas configuration reference address JSPDFS G ...

Posted by nolos on Tue, 17 Dec 2019 18:02:46 +0100

LinkedList source code analysis

I. overview This paper is based on JDK8 The underlying LinkedList is realized by the data structure of two-way collection Memory does not need continuous space guarantee Element search can only be sequential traversal search Better performance for add and delete operations LinkedList can be used as List, queue and stack. It supports adding an ...

Posted by txhoyt on Tue, 17 Dec 2019 09:57:45 +0100

Common project dependency summary

Every time I take over a new project, I see a lot of dependencies without comments. Some of them are hard to remember. I have to look up their meanings on the Internet for a long time every time, so I will read them when I write this article for later development to improve the development efficiency. Edited on October 12, 2 ...

Posted by texhead on Mon, 16 Dec 2019 23:17:32 +0100

ubuntu 16.04 configuring the YouCompleteme plug-in

This thing has been killing me for several days, and it has worked out. It's not bad. I'm here to record my method and hope to help the people behind me. 1. Delete the original vim package sudo apt-get remove --purge vim vim-runtime vim-gnome vim-tiny vim-common vim-gui-common 2. Installation dependency vim dependence sudo ...

Posted by djot on Sun, 15 Dec 2019 21:18:34 +0100

Auto rotate ViewPager

1. overview github address: https://github.com/luoshenzhi/AutoPlayViewPager I didn't want to build the wheel again, but I didn't feel satisfied after trying several, so I had to do it myself 1.1 characteristics The code is less intrusive. Just change the class name without changing the adapter Draw indicators by code, n ...

Posted by xhelle on Sun, 15 Dec 2019 21:07:46 +0100

Simplest state switching layout

Simplest state switching layout Function introduction Loading data Data load failed Data load is empty Network load failed Retry click event Support custom layout Rendering display The simplest way to use it 1.Add it in your root build.gradle at the end of repositories: allprojects { repositories { ... maven { ...

Posted by hypuk on Sun, 15 Dec 2019 18:20:07 +0100

Talk about the RemotingTooMuchRequestException of rocketmq

order This paper focuses on the remoting toomuchrequestexception of rocketmq RemotingTooMuchRequestException rocketmq-remoting-4.6.0-sources.jar!/org/apache/rocketmq/remoting/exception/RemotingTooMuchRequestException.java public class RemotingTooMuchRequestException extends RemotingException { private static final long serialVersionUID = 43 ...

Posted by Blaze(!) on Sun, 15 Dec 2019 15:09:02 +0100

Spring boot series tutorial automatic configuration selection takes effect

191214 spring boot series tutorials automatic configuration selection takes effect After writing a series of Spring blogs for so long, I found a problem. All previous articles focused on making one thing work. Is there anything that goes against it? We know that @ ConditionOnXxx can be used to determine whether a configuration class can be ...

Posted by dsds1121 on Sun, 15 Dec 2019 13:50:17 +0100

Interpretation of React source code [2] update and creation

May your future be pure and bright, like your lovely eyes at the moment. ——Pushkin WeChat public number "JavaScript whole stack" Nuggets master of oneness Master of oneness by bilibilibili Source Github address: https://github.com/Walker-Leee/react-learn-code-v16.12.0 We have explored the origin of species, and we have ...

Posted by torrentmasta on Fri, 13 Dec 2019 18:21:05 +0100

Building the source code analysis environment of btcpool ore pool

Chain code and platform of Fabric 1.0 source code Notes 1. Overview of platforms The platforms code is centralized in the core/chaincode/platforms directory. core/chaincode/platforms directory, the programming language platform implementation of chain code, such as golang or java. Platform.go, platform interface definition, and platform related ...

Posted by djs1 on Thu, 12 Dec 2019 22:26:57 +0100