Java serialization 101 dataoutputstream, PrintStream method details

1, java.io.DataOutputStream; data byte output stream 1. The "int i = 2" in memory can be written into the hard disk file, not the string, but the binary data, which can be of type.   package com.bjpowernode.java_learning; import java.io.*; ​ public class D101_1_DataOutputStream { public static void main(String[] args) throws IO ...

Posted on Mon, 23 Mar 2020 10:51:14 -0400 by kcgame

Creating and discovering hidden processes based on centos 7 Linux

1, Hide process 1. The tools used in this paper are https://github.com/gianlucaborello/libprocesshider Can be downloaded 2. The idea is to realize the hijacking of system functions by using LD ˊ preload Ld_preload, an environment variable, is used to load dynamic libraries. The priority of dynamic library loading is the highest. Generally, t ...

Posted on Mon, 23 Mar 2020 10:13:26 -0400 by dickey

Solve the time-out problem of "ERROR: Timeout after 10 minutes" when git on Jenkins

Environment: using jenkins to pull github code through pipeline When a new Job is created on Jenkins recently, the Pipeline pipeline method is used to automatically publish project error reports as follows: ERROR: Timeout after 10 minutes" ERROR: Error fetching remote repo 'origin' Started by user liucx Building in workspace /opt/jenkins/works ...

Posted on Mon, 23 Mar 2020 10:07:07 -0400 by Fife Club

Get host compatible ipv6 in URL quickly

0x01 one sentence solution 1. If the python version is more than 2.7 and the ipv6 url meets the RFC3986 specification, the urlparse can be used directly 2. If the version is low or the url containing ipv6 does not conform to the specification, urlparse cannot be used for parsing. You need to customize a method implementation, as follows impo ...

Posted on Mon, 23 Mar 2020 06:52:43 -0400 by VLE79E

Exploration of Serverless multi environment configuration scheme

I believe that after reading the previous several articles about Serverless Component, we have experienced the traversal it brings to our development. But in our daily development projects, it is not just a simple project deployment. In our agile development process, there are keywords such as development, joint debugging, testing, pre release ...

Posted on Mon, 23 Mar 2020 06:04:28 -0400 by lalloo

Installation and use of web management tool wok for KVM

I. overview kvm has no web management page. When using kvm virtualization, it usually needs to rely on other management systems or command-line mode, which brings great inconvenience to small-scale use of kvm, while wok is very convenient and lightweight to use kimchi to manage kvm Based on cherrypy's web framework, Wok can be extended by some ...

Posted on Sun, 22 Mar 2020 12:14:47 -0400 by spikeon

java thread implementation

java thread implementation First of all, single thread can be understood as one person, and multi thread can be understood as many persons. Generally, it takes less time for a task to be assigned to multiple persons than to be assigned to one person. So java multithreading is to work faster and save time. Two ways to create java threads Inherit ...

Posted on Sun, 22 Mar 2020 06:50:46 -0400 by kyoru

vuepress-theme-reco + Github Actions to build static blogs and deploy to third-party servers

Latest blog links Github Link Understand this document before viewing it. Basic operations for vuepress Configure with official documentation: vuepress-theme-reco VuePress SamKirkland / FTP-Deploy-Action Final results Final Effect Link thinking Download the official theme template (scaffolding) for vuepress-theme-reco, modify ...

Posted on Sun, 22 Mar 2020 04:36:40 -0400 by macattack

Create VuePress + GithubPages + TravisCI online documents

Catalog Final results thinking population process Something Used Relevant Create a Github repository Create a Github repository SSH Key Link Github Generate SSH Key Github Add SSH Key Test SSH Key Configure VuePress Install VuePress Install yarn Debian / Ubuntu Windows Replace domestic sources Install VuePress VuePress directory ...

Posted on Sun, 22 Mar 2020 01:46:16 -0400 by henryhund

Data flow monitoring visualization 1 tree structure

The data flow here refers to all components or services in the process of data flow from the front end to the back end. For example, the user's http request goes first to Nginx, then to back-end service 1, then to discovery service, then to cache service, and then to back-end service 2, Then there is the database, and other calls. Generally sp ...

Posted on Sat, 21 Mar 2020 10:18:16 -0400 by suave4u