Using nsq to generate pdf service with puppeter under node (eggjs)

This article mainly introduces how to use nsq in nodeJs, and other implementations will be output in subsequent articles. cause Some time ago, I made a node service to generate pdf from web pages. In the process of generating puppeter and canvas, the consumption of memory is relatively large, the generation time of pages with large internal cap ...

Posted on Thu, 18 Jun 2020 05:38:47 -0400 by John Canyon

Simple intelligent home central control system based on Wio Terminal (initial version)

After continuous learning, the early generation of simple smart home central control system has been completed, and the functions filled in when applying for the project have been completed, but some functions are not implemented with Wio Terminal (on the one hand, because the code volume is too large, ...

Posted on Thu, 18 Jun 2020 03:12:19 -0400 by paparts

Please don't write a full screen try catch anymore!

background During the software development process, it is inevitable to handle all kinds of exceptions. For me, at least half of the time is spent dealing with all kinds of exceptions, so there will be a lot of try {...} catch {...} finally {...} code blocks in the code, which not only has a lot of redundant code, but also affects the readabil ...

Posted on Wed, 17 Jun 2020 18:14:51 -0400 by elite_prodigy

How to implement a composer package of your own

Preface For small development partners, code packages are a common part of the development process.For example, PHP has composer, Java has maven, front-end has npm, yarn, Mac has brew, Linux has yum.Using these packages, we can easily manage the external code components introduced by the code, help us to improve development efficiency, and help ...

Posted on Wed, 17 Jun 2020 12:44:53 -0400 by paul_20k

From design to development, a workflow system that can be easily used and managed by everyone

Workflow introduction Workflow is the calculation model of a workflow, that is, the logic and rules of how the work in the workflow is organized together in a computer, represented by an appropriate model, and calculated. Workflow is not a "new person" in IT field. Workflow idea was proposed in 1960s. It was tried in 1970s, but bec ...

Posted on Wed, 17 Jun 2020 12:26:35 -0400 by ypirc

How to create your own composer code package

Preface For small development partners, code packages are a common part of the development process.For example, PHP has composer, Java has maven, front-end has npm, yarn, Mac has brew, Linux has yum.Using these packages, we can easily manage the external code components introduced by the code, help us to improve development efficiency, and help ...

Posted on Wed, 17 Jun 2020 12:08:05 -0400 by mark_nsx

labelme batch processing json files, json_to_dataset method

labelme batch processing json files, json_to_dataset method Step 1: find json_to_dataset.py file Step 2 modify json_to_dataset.py file Step 3 find labelme_json_to_dataset.exe file Step 4 switch paths Step 5: pass in the. json file path and perform the conversion complete This is the data generated ...

Posted on Wed, 17 Jun 2020 03:47:42 -0400 by jabba_29

Imitating Baidu net disk to realize file slice upload and breakpoint continuation on web side

Unable to restrain the emotions of the early morning, the humid voice of a rough man's shy rose opened quietly. Is it my aesthetic view that tiktok has seen many times in harmony? Many of the functions I wrote are independent in my daily development, and I will consolidate and comb the overall imp ...

Posted on Tue, 16 Jun 2020 23:48:01 -0400 by Kyori

Gulp compresses html, css, js file processes, listens to tasks, creates servers with gulp, runs multiple tasks at the same time, and reverses agents

1, Initialization First, do a project initialization to record the tools used in your project Open a console under your project file, and enter the command yarn init -y to initialize   Enter the command yarn add gulp-g --- global installation of gulp. Here I will not show it if I have already installed it in advance. Then enter the comman ...

Posted on Tue, 16 Jun 2020 22:14:55 -0400 by Anarchatos

Python 3 learning record

day1 new file Tone font configure IDLE run module Look at python built-in functionsVariable variable Support for Chinese variablesString string Single quotation mark double quotation mark escape character\Alt + P returns to the previous statement \Put at the end to indicate that the sentence is not f ...

Posted on Tue, 16 Jun 2020 13:25:30 -0400 by Platinumweaver