2021-04-11 install and configure the Java environment on the MAC side.

Java basic disk preface From the following points, write a separate article in detail. (ps: write only practical content) 1. Install and configure environment variables on the Mac side. 2. Basic grammar. 3. Object oriented. 4. Collection framework. 5. Exception frame. 6. IO framework (InputStream, OutputStream). 7. Multithreading. 8. ...

Added by metrathon on Tue, 08 Mar 2022 19:41:13 +0200

Mac Catalina, Big sur install iraf

Based on Multipass In Catalina and later versions, MacOS no longer supports 32-bit software, so installing iraf / piraf on Mac cannot open xgterm. The best way I've found so far is to use Multipass (a lightweight ubuntu virtual machine) to install iraf Multipass installation & basic commands Enter command: sudo snap install multipas ...

Added by hideous on Mon, 07 Mar 2022 19:29:32 +0200

mac vim installs the YouCompleteMe plug-in for automatic completion

preface I often use vim for c/c++/go development. Although vim also has its own automatic completion (control+n, control+p), it is still troublesome in operation. I hope it can be realized. If you enter some words, you can directly pop up a drop-down box to prompt all possible words. A search on the Internet found that everyone was pushing You ...

Added by jamfrag on Sat, 19 Feb 2022 02:00:06 +0200

[Mac OS development] use gcd to quickly sort the array, and use gcd multithreading to find the maximum value in the array

Function of this example: use gcd to sort an array with 40000 numbers, and the numbers in the array are randomly generated The generated array code is as follows _numsMutableArray = [[NSMutableArray alloc] init]; for (int i = 0; i < 40000; i++) { NSNumber *temp = [NSNumber numberWithInt:arc4random_uniform(1000000)]; ...

Added by k.soule on Fri, 11 Feb 2022 17:44:45 +0200

Mac configuration terminal style

The final results are as follows: It has the functions of command history prompt, command highlighting, file directory color discrimination and so on Implementation steps: 1. Install homebrew, paste the following commands into the terminal, and then install step by step according to the prompts. /bin/zsh -c "$(curl -fsSL https://gitee.com ...

Added by jammesz on Tue, 08 Feb 2022 09:22:59 +0200

Homebrew installation and use

Homebrew installation and use Homebrew installation Enter the following command on the Mac terminal and wait for the installation to complete /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" Error after installing homebrew - bash: brew: command not found solution In fact, solving this probl ...

Added by stebut05 on Mon, 24 Jan 2022 10:49:27 +0200

Configuration of iTerm2 terminal with zsh shell plug-in

  Previously, there were several blogs about oh my Zsh and powerlevel 10K color schemes, all of which are flower boxing and embroidered legs, which can make people happy at most. Today, let's introduce some practical configurations that can improve work efficiency. Plugins   The default login shell has been changed to zsh in the lat ...

Added by KMC1499 on Wed, 24 Nov 2021 23:43:37 +0200

Installation and configuration of Ubuntu firewall

Ubuntu Install UFW firewall sudo apt-get install ufw For general users, only the following settings are required: sudo apt-get install ufw sudo ufw enable sudo ufw default deny The above three commands are safe enough. If you need to open some services, you can use sudo ufw allow. Enable sudo ufw enable sudo ufw default deny #Aft ...

Added by konn on Fri, 10 Jul 2020 19:12:17 +0300

Huawei -- DHCP experiment

@Huawei - DHCP experiment preface DHCP (Dynamic Host Configuration Protocol) is a protocol designed by IETF to realize automatic IP configuration. It can automatically assign TCP/IP parameters such as IP address, subnet mask, IP address of default gateway and DNS server for clients 1: Experimenta ...

Added by mikeweb on Mon, 29 Jun 2020 11:02:44 +0300

Example of network planning

Article catalog 1, Demand analysis 2, Network topology 3, ip address planning and design 4, Main equipment configuration scheme 1. Three layer switch 2. Router 0 3. Router 1 4. Layer 2 switch 5. Network test 1, Demand analysis Simulator: Cisco packet tracker version 5.3.3.0019 As shown in the ...

Added by bazza84 on Wed, 24 Jun 2020 10:17:53 +0300