Using nexus to build private warehouse under Centos

1, Download and install download Server is centos, go to https://www.sonatype.com/download-oss-sonatype Download the unix version of. install decompression tar xvf nexus-3.21.1-01-unix.tar.gz mv nexus-3.21.1-01 /home/nexus Open port It will start on port 8081 by default, because my port 8081 has been used, use port 8082 instead. firewall- ...

Posted on Tue, 17 Mar 2020 00:20:36 -0700 by zeppis

Laravel event asynchronous example

It was sorted out yesterday Event mechanism of Laravel Today, I want to verify its asynchronous operation. 1, preparation 1.1 create Event and Listener respectively, \App\Events\Test::class => [ \App\Listeners\TestA::class ], app\Events\Test: <?php namespace App\Events; use Illuminate\Broadcasting\Channel; ...

Posted on Mon, 16 Mar 2020 22:10:07 -0700 by ud2008

How to register dubbo with zookeeper

Dubbo's Provider and Consumer will create a registration center when they start. The registration center can choose zookeeper and Redis. Zookeeper is commonly used In Dubbo, zkclient is used to operate the zookeeper server by default. It encapsulates the original customer list of zookeeper to a certain extent. When operating zookeeper, it is m ...

Posted on Mon, 16 Mar 2020 03:35:59 -0700 by Tezread

Simple operation of python Dictionary (modify, delete, nest, traverse, copy)

1, Python dictionary A dictionary is another variable container model and can store any type of object. Each key value key = & gt; value pair of the dictionary is divided by colon: comma is used between each key value pair, and the whole dictionary is included in curly bracket {}, with the format as follows: d = {key1 : value1, key2 : val ...

Posted on Mon, 16 Mar 2020 01:24:16 -0700 by jokullsolberg

A quick understanding of Atomic (Atomic integer / Atomic reference / Atomic array / LongAdder)

Catalog Preface Ask: is int thread safe? Demarcation line of basic chapter of Atomic Atomic integer (base type) Overall introduction AtomicInteger Improvement of the above int type example Source code analysis CAS Atomic reference Unsafe implementation Security implementation - using CAS ...

Posted on Sun, 15 Mar 2020 22:38:25 -0700 by rkm11

[C ා] use EasyHook to inject WS2 ා 32.dll to implement send and recv to intercept data packets

Foreword: Four years ago, because I wanted to get the help of a game, I went into programming. At the beginning, I was still using easy language, and then I became addicted to programming. A few days before the middle school entrance examination, people were holding English books and Chinese, and I ...

Posted on Sun, 15 Mar 2020 04:06:10 -0700 by The Chancer

Judgment exercises

Judgment exercises 1. Enter an integer to judge whether it is greater than 0 and less than 0 or equal to 0 // Enter an integer var num = 0; // judge if (num > 0) { // output console.log(num + "The value of is greater than 0"); } else if (num < 0) { // output console.log(num + "The ...

Posted on Sun, 15 Mar 2020 01:39:41 -0700 by adredz

golang tcp handshake / wave experiment, close ﹣ wait optimization

Three handshakes, four waves, as is often said in books The following is an excerpt from other blogs Gorang's tcp programming is relatively simple, but if we grab packets, we will find that in many cases, especially in the explicit complex network environment, it is difficult to repeat four waves Exp ...

Posted on Sun, 15 Mar 2020 01:36:00 -0700 by cursed

systemC/TLM: simple use of peq

In system C / TLM programming, peq is a very important tool, especially in simulation of pipeline and other scenes in RTL. We can think that peq is a pipeline that can set path delay. A transaction has a delay set at the entrance. Once the delay arrives, the transaction can be seen from the exit. The sa ...

Posted on Sat, 14 Mar 2020 23:57:56 -0700 by SamShade

Which of the 10 most practical tips for refactoring have you used?

LZ has been studying the source code of virtual machine recently. Unfortunately, at present, it is just a little bit of a clue, which can't be shared with you. The huge source code of JAVA virtual machine can't be solved overnight. LZ is ashamed. This time, let's put aside the JAVA virtual machine source code, which is relatively low-level. LZ ...

Posted on Sat, 14 Mar 2020 07:30:08 -0700 by millsy007