Build your own tool library (similar to lodash) from 0 to a series and publish it to npm

By 2020, we need to try to build our own tool links to make things even more lazy_development_ Final example @magic-zhu/helper This is a demo package we published to npm by ourselves Then use it in your project npm install @magic-zhu/helper const helper = require ('@magic-zhu/helper') let {typeOf} = ...

Posted by ClyssaN on Sun, 09 Feb 2020 18:52:14 -0800

ldap move operation

Recently, the epidemic was serious, and no one left home after returning from Shenzhen on No. 29.01.22. Today is 2020.02.09, originally tomorrow's ticket, the home road closed, the ticket was returned. Every day we pay attention to the epidemic, we will also see all kinds of public revelations, criticiz ...

Posted by jvrothjr on Sat, 08 Feb 2020 18:13:25 -0800

Android RefreshLayout implements pull-up refresh drop-down loading and data De duplication list pages

Add the following dependencies to build.gradle of app in the project: //RefreshLayout implementation 'com.scwang.smartrefresh:SmartRefreshLayout:1.1.0' implementation 'com.scwang.smartrefresh:SmartRefreshHeader:1.1.0' //glide is used to load pictures in item implementation 'com.github.bumptech.glide:gl ...

Posted by notaloser on Sat, 08 Feb 2020 06:16:24 -0800

ROS melody speech recognition learning

ROS speech recognition control robot (2) Article directory ROS speech recognition control robot (2) Create Ros package control logic Control the little turtle by writing instructions Voice to text Create Ros package In the previous section, the voice to text is implemented. The content of ...

Posted by yshaf13 on Sat, 08 Feb 2020 04:04:06 -0800

Smooth restart of GoLang service

elicit questions In the process of developing with go, if we modify the code, it is control+c that kills the running process, and then go run or go build that runs. When our project goes online, killing the process directly will lead to online service interruption, which is absolutely not allowed in ...

Posted by benrussell on Sat, 08 Feb 2020 03:31:02 -0800

File System (01): Manage Excel and PDF file types based on the SpringBoot framework

Source code for this article: GitHub. Click here || GitEE. Click here 1. Introduction to Document Types 1. Excel Documents Excel is a spreadsheet software.Intuitive interfaces, excellent computing functions and chart tools are often used in system development to transfer data to Excel files or to import Excel data into the system, which involve ...

Posted by Round on Thu, 06 Feb 2020 18:54:39 -0800

Python Crawler Serial 5-Proxy, Cookie Resolution

1. ProxyHandler Processing (Proxy Server) 1. Using proxy IP is a common means of crawling 2. Get the address of the proxy server: www.xicidaili.com www.goubanjia.com 3. Proxies are used to hide real access. Proxies do not allow frequent access to a fixed site, so proxies must be many. 4. Basic usage steps: (1) Set proxy address (2) Create a Pox ...

Posted by landavia on Wed, 05 Feb 2020 08:49:12 -0800

PyTorch: Digital recognizer competition

background Since I learned PyTorch last time, I have left it for a long time. I almost forgot it. After brushing "die into DL PyTorch" once again, I tried to do the one on Kaggle Digit Reconizer Match. Reference material https://tangshusen.me/Dive-into-DL-PyTorch/#/ https://www.kaggle.com/ ...

Posted by next on Wed, 05 Feb 2020 07:10:16 -0800

Build your own Fabric network

Build your own Fabric network Article directory Build your own Fabric network 1, Generate organization structure and identity certificate 1.1. crypto-config.yaml configuration file 1.2 generate organization structure and identity certificate 2, Generate additional profiles 2.1. configtx.yaml fi ...

Posted by Vorotaev on Wed, 05 Feb 2020 05:29:12 -0800

ProcessFunction: the lowest level API of Flink

Some operators and functions mentioned above can perform some time operations, but cannot obtain the current Processing Time or Watermark timestamp of the operator, which is simple to call but relatively limited in function. If you want to get the time stamp of Watermark in the data flow, or shuttle bac ...

Posted by eddjc on Wed, 05 Feb 2020 02:21:22 -0800