QQBot and go cqhttp lazy 5-minute nanny installation tutorial
I run the tool Xshell
1, Install pagoda panel
Skip directly installed
yum install -y wget && wget -O install.sh http://download.bt.cn/install/install_6.0.sh && sh install.sh 6dca892c
Enter the command in the Xshell 6 command window and press enter. The installation will be successful in 10 minutes Note ...
Posted by daloss on Thu, 18 Nov 2021 21:22:51 -0800
Linux driver development | Linux interrupt
Linux interrupt
Using interrupts in IM6ULL bare metal requires a lot of work, such as configuring registers, enabling IRQ and so on. The Linux kernel provides a perfect interrupt framework. We only need to apply for interrupts and register interrupt processing functions. It is very convenient to use and does not need a series of complex regist ...
Posted by Huntress on Thu, 18 Nov 2021 21:18:52 -0800
Detailed explanation of log4j configuration file ----- self study
Let's start with a configuration file----
log4j.rootLogger=debug,stdout,logfile
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.Target=System.err
log4j.appender.stdout.layout=org.apache.log4j.SimpleLayout
log4j.appender.logfile=org.apache.log4j.FileAppender
log4j.appender.logfile.File=d:/msb.log
log4j.appender.logf ...
Posted by bpops on Thu, 18 Nov 2021 21:06:48 -0800
K8easy: one click installation of K8S highly available cluster (Revised Version)
If the original link installation is not successful, you can refer to my version. sketch Kubedm binary deploys k8s cluster. The whole deployment process is relatively cumbersome, but it is helpful for entrants to preliminarily understand k8s components, networks and other information through installation, so they still need to know.
What this ...
Posted by everydayrun on Thu, 18 Nov 2021 19:08:08 -0800
Detailed explanation of linux tput command
1. Introduction
The tput command initializes and operates your terminal session through the terminfo database. Using tput, you can change several terminal functions, such as moving or changing the cursor, changing text properties, and clearing specific areas of the terminal screen.
Like most commands in UNIX, the tput command can be used ...
Posted by ultk on Thu, 18 Nov 2021 07:47:10 -0800
Sorting of common Linux commands
1. Delete folders and files
rm command
Permission: all users can use rm command to delete directories on the terminal.
Format:
rm [option] DirName
Description of rm command options
The [options] in the command generally include the following:
-i #Ask for confirmation one by one before deleting.
-f #Even if the original file attribute ...
Posted by NeoGeo on Thu, 18 Nov 2021 07:30:10 -0800
Sliding window question set 1
1 sliding window
priority_queue is often used
0480 sliding window median
1 topic
https://leetcode-cn.com/problems/sliding-window-median/
2 problem solving ideas
1 use a multiset to maintain the current window,
1.1 do not use priority_ The element cannot be deleted because of the queue1.2 the reason why map/set is not used cannot contai ...
Posted by teongkia on Wed, 17 Nov 2021 23:36:42 -0800
Redis application learning notes
From my point of view, this article is a little rough. After all, it doesn't take much time. As an entry point, it may not enter the door?
Redis is a very powerful database. I once read his source code and marveled at the monotony of his bottom layer, but the variability of his top layer. This is in response to the sentence "Tao gener ...
Posted by BVis on Wed, 17 Nov 2021 05:47:22 -0800
Docker / docker compose instructions [notes]
Docker
1, Overview
The deployment environment (Redis, ES, Hadoop...) is required to publish a project. It is very troublesome to redeploy the environment on the server and cannot cross platform.
Therefore, it is processed by Docker with Windows, and finally released to Linux.
Traditional: development jar, operation and maintenance deplo ...
Posted by monloi on Wed, 17 Nov 2021 03:29:33 -0800
MapReduce programming practice -- WordCount running example (Python Implementation)
1, Experimental purpose
Master the basic MapReduce programming methods through experiments;Master the methods to solve some common data processing problems with MapReduce, including data merging, data De duplication, data sorting and data mining.
2, Experimental platform
Operating system: Ubuntu 18.04 (or Ubuntu 16.04)Hadoop version: 3.2.2 ...
Posted by freshneco on Tue, 16 Nov 2021 23:43:47 -0800