Ten common simplified versions of Go algorithm
Recently, I have time to watch Go. I feel that the language of Go is really good. I'm Baidu. Let's talk about the algorithm today
What is algorithm
A series of calculation steps used to convert input data into output results
The significance of the algorithm
Used to solve specific problems
The efficiency of different algorithms to ...
Posted by kobayashi_one on Thu, 21 Nov 2019 15:45:22 +0100
My toolbox - chat room
Technical points
websocket Technology
When it comes to chat rooms, the preferred technology is WebSocket, which is a single TCP Connect to full duplex Communication protocol, which is more suitable for business requirements than long connection and short connection
Personal summary: long and short connections and polling ar ...
Posted by makka on Wed, 20 Nov 2019 22:54:21 +0100
Skip with parameters in small program code scanning
The QR code to be scanned is generated by the grass QR code. This website is very good and easy to use. You can directly input the text to generate the QR code or put the link to generate the QR code.
Forage QR Code: https://cli.im/
index.wxml
<view class="container">
<button bindtap='getScancode'>Binding vehic ...
Posted by mwichmann4 on Wed, 20 Nov 2019 21:15:21 +0100
Write a common java encryption tool class
1. narration
There are many encryption algorithm classes under the java security package, and we can simply call them. Although they have complete functions, they are a little cumbersome to use. I encapsulate some common encryption algorithms and their common methods here to simplify the code.
The structure of tool class is as follows:
Call st ...
Posted by mbarmawi on Wed, 20 Nov 2019 09:39:36 +0100
Mybatis-Spring Source Analysis
Analyzing how Mybatis integrates into the framework using Spring's extension points, Mybatis's own extension points are no longer covered in this analysis
Build environment
Upload Github https://github.com/mybatis/spring .After several unsuccessful attempts through Git, the zip package was directly downloaded and imported into Idea.
The imp ...
Posted by lice200 on Wed, 20 Nov 2019 08:01:31 +0100
MQTT protocol performance test: use jmeter+ant+emqx to test and generate test report
preparation:
1) install jdk and configure environment variables. Please search for specific steps by yourself
2) install jmeter3.1 and above
3) jmeter installs the mqtt plug-in: Mqtt xmeter - [required version] - jar-with-dependencies.jar , put it in the EXT folder of JMeter installation directory (for example, F:\testPro\ap ...
Posted by jimmyt1988 on Tue, 19 Nov 2019 20:55:58 +0100
Design pattern adapter pattern
github project: https://github.com/wangjianxiandev/design
Turkey posing as duck:
Suppose that the duck is made by one company, but another company makes a turkey. But if the turkey wants to be a duck, it needs to introduce an adapter between the turkey and the duck. After the adapter, the outside world looks like a duck, so the ...
Posted by Naug on Tue, 19 Nov 2019 20:23:30 +0100
The implementation of go like waitGroup multi concurrent scheduling with toolefy based on Toole
Swoolefy is a lightweight and high-performance memory resident API and Web application service framework based on swoole. It highly encapsulates http, websocket, udp server, and extensible rpc service based on tcp. At the same time, it supports the installation and deployment of composer package. Based on practical application, swoolefy abstrac ...
Posted by BrandonRoy on Tue, 19 Nov 2019 15:48:58 +0100
Learn typescript in practice - implement full screen browser (100 lines)
Learning a new language, the fastest way is to look at the actual code!
At the beginning of learning ts, everyone will ask "is there any practical project that can be referred to?"
OK! To meet your needs, I plan to regularly use ts to do some common business plug-ins, and the code volume is as small as possible (controlled within 🦕 1 ...
Posted by MadDawgX on Tue, 19 Nov 2019 09:11:31 +0100
payload season 9 recurrence for liangshen based on white list Regsvr32
0x00 Regsvr32 introduction:
The Regsvr32 command is used to register COM components. It is a command provided by Windows system to register or uninstall controls with the system, and runs in command line mode. Regsvr32.exe of WinXP and above system is under windows\system32 folder; regsvr32.exe of 2000 system is under winnt\sy ...
Posted by okuto1973 on Mon, 18 Nov 2019 17:15:37 +0100