20:File class and IO stream - IO character stream

1: Character input stream: java.io.Reader abstract class is a super class representing all classes used to read character streams. It can read character information into memory. It defines the basic common function methods of character input streams. public void close(); closes the flow and releases ...

Posted on Thu, 27 Feb 2020 01:09:24 -0500 by phice

C + + design pattern

C + + design pattern Introduction to design mode Object oriented design principles Key techniques of reconstruction Design pattern Component collaboration TemplateMethod (template method mode) Strategy Observer mode Single duty Decorator (decoration mode) Bridge (bridge mode) objects creating ...

Posted on Tue, 25 Feb 2020 21:01:49 -0500 by neox_blueline

bond interface parameter configuration

The simplest creation command for the Bond interface is as follows, using the default for any parameter: ip link add bond1 type bond or: ip link add type bond The name of the interface is determined by the kernel in the format bond%d. The command above, bond1 device created, default parameters can be v ...

Posted on Tue, 25 Feb 2020 20:41:20 -0500 by daboymac

Some basic commands of switch router

Basic configuration command of switch router Today I learned some basic configuration commands of switches and routers, and I'll share them with you here!! ) Here is a small experiment I did, including topology and some commands!! At the end of the day, there are God's notes!! ) Homework 1. 1. Pu ...

Posted on Tue, 25 Feb 2020 07:45:48 -0500 by Seraph

Python crawls to get the dichroism, mom will never worry about me being poor again

I. General Situation Generally, everyone can have a dream of wealth freedom and time freedom. In addition to our hard work, some people are lucky enough to buy a lottery ticket and get to the top of life in an instant. Lottery really let some people realize this dream, but the probability is too low to imagine. So we should strive hard and be ...

Posted on Tue, 25 Feb 2020 05:25:44 -0500 by padiwak

java calls JNI to exit abnormally and locate through core

Scene description There are jni calls in java, and all irregular java processes disappear without any exception logs. By analyzing the core file of linux, we can locate the problem in the program. JNI example First, we construct a JNI with an exception. There is an exception in the C function. The following files and comm ...

Posted on Sat, 22 Feb 2020 10:00:56 -0500 by chet139

014A link aggregation

Article directory Background: Two layer Ethernet link aggregation Three layer link aggregation Background: With the continuous expansion of the network scale, users put forward higher and higher requirements for the bandwidth and reliability of the backbone link. In traditional technology, high- ...

Posted on Sat, 22 Feb 2020 03:30:53 -0500 by mark_nsx

CrackMe160 learning notes 049

Preface Although this topic is simple, it gives people a sense of immediate brightness. On the Mac terminal, 0 and O are similar. I made a mistake at the beginning and didn't find out. thinking First find the location of the judgment. Step by step analysis. You can see that there are 7 failed jumps ...

Posted on Wed, 19 Feb 2020 11:07:49 -0500 by deeem

Connection and use of Git and Github

Connection and use of Git and Github Foreplay: Git installation 1. Sign up for Github account and create project. To use git to upload a project to GitHub, you need to have a GitHub account first. If you don't register, you need to register first. Address: https://github.com/login if you don't have ...

Posted on Tue, 11 Feb 2020 05:21:32 -0500 by earthlingzed

Open source virtual machine Bochs installation and stepping on the pit

Because you want to write a simple operating system, you need to install a virtual machine to simulate the hardware. VMware is not suitable for this scenario, because you will use hardware level virtualization, and bochs, the open-source virtual machine, uses software to virtualize all the hardware, so debugging can be very fine-grained. For ex ...

Posted on Tue, 11 Feb 2020 04:26:15 -0500 by racer x