Jenkins Jenkinx-client Curl operation jenkins

There are two ways for Jenkins to call Java remotely, one is REST API, the other is to use jenkins-client. Reference link: https://www.cnblogs.com/zjsupermanblog/archive/2017/07/26/7238422.html Implementation of jenkins-client The bottom layer of jenkins-client is implemented by sending post requests using HttpClient HttpPost, which encapsulate ...

Posted by Jpauls104 on Fri, 17 May 2019 14:27:57 -0700

Data Structure and Algorithms-String Sorting

Data Structure and Algorithms-String Sorting For many sorting applications, the keys that determine the order are strings. Next, you'll learn about string-specific sorting methods that are more efficient than the general sorting methods you learned earlier, such as bubbles, inserts, merges, and so on. The first method is the low-bit-first (LSD) ...

Posted by iamchris on Fri, 17 May 2019 13:24:16 -0700

[aftertaste C] input/output

flow In C language, stream represents the source of arbitrary input or the destination of arbitrary output. field name pointer Access to streams in C programs is achieved through file pointers. The type of this pointer is FILE* (in Standard stream and redirection Text files and binary files In text files, byt ...

Posted by cocpg on Fri, 17 May 2019 04:53:51 -0700

Pin Scavenger Login

Functional Description Log in through pin-sweep code and get the logged-in user information.This eliminates the need to develop your own login system.Relatively convenient. Background description Now E is the main push, and the official case is E. In fact, the background call process of this E application is different from the original scanner ...

Posted by jen56456 on Fri, 17 May 2019 04:50:41 -0700

Section 4: Data Extraction of Wechat Widget Program and Application of template

In order to optimize demo better, the code is optimized from two parts after referring to the official documents. Extract the simulated data from page js separately and simulate the returned data more realistically Create a new folder data in the project, then create a posts-data.js file under the folder, and extrac ...

Posted by mike760534211 on Fri, 17 May 2019 01:05:11 -0700

tensorflow serving java case

Background introduction This article is a reference case for tensorflow serving java api, basically introducing the use of the core API of TFS. The case is divided into three parts: Dynamic Update Model: Used to load the model dynamically when TFS is in runtime. Getting model state: Used to get basic information about the loaded model. Online ...

Posted by narch31 on Thu, 16 May 2019 21:21:55 -0700

12 - An Overview of NodeWatchFileSystem Modules for webpack Sources

The rest is a watch module, which is deeper. First, we will discuss the whole content and then explain it separately. The flow chart is as follows:   NodeWatchFileSystem const Watchpack = require("watchpack"); class NodeWatchFileSystem { constructor(inputFileSystem) { this.inputFileSystem = inputFileSystem; this.watcherOp ...

Posted by jamess on Thu, 16 May 2019 12:38:34 -0700

Deep Understanding of ES6 - Knowledge of JS Classes

Basic class declarations Class declarations begin with the class keyword, followed by the class name; the rest of the grammar looks like method abbreviations in object literals, and commas are not required between methods. class Person { //Constructor equivalent to prototype constructor(name) { this.name = name; } SayNa ...

Posted by padma on Thu, 16 May 2019 11:11:39 -0700

Section 51: Collection Framework Map in Java

Title Map Brief Book Author: Dashu Xiaosheng Collection Framework Map in Java 01 Map provides three collection views: Key set Value set Key-Value Mapping Set public String getWeek(int num){ if(num<0 || num>7){ throw new NoWeekException(num+"No corresponding week"); String[] weeks = {"","Monday"...."Sunday"}; ...

Posted by Charles Wong on Thu, 16 May 2019 03:13:06 -0700

Running Principle of Python Essay Virtual Machine

When it comes to Python's operating mechanism, you have to start with. pyc files and bytecodes. The PyCodeObject object is created when the module is loaded, that is, import. .pyc file Executing python test.py compiles test.py into bytecode and interprets execution, but does not generate test.pyc If other modules such as import urllib2 are loa ...

Posted by raheel on Thu, 16 May 2019 01:57:35 -0700