Amazon AWS Kinesis Video Streams with WebRTC demo example
title: Amazon AWS Kinesis Video Streams with WebRTC demo examplecategories:[Linux C]tags: [Amazon cloud platform]date: 2021/12/22< div align = 'right' > Author: Hackett < / div ><div align ='right'> WeChat official account: overtime apes </div>The following step-by-step instructions describe how to download, build, and r ...
Posted by xconspirisist on Thu, 23 Dec 2021 04:02:28 +0100
Linux kernel read / write file
Linux kernel read / write file
Read and write file data in the driver to be debugged. For example, when the driver needs to record more logs, you can write the information printed by printk() function to the file for subsequent analysis. There is no standard library available for operating files in the kernel. Some kernel functions need to be ...
Posted by kjelle392 on Wed, 22 Dec 2021 22:34:10 +0100
Nginx learning - nginx seven layer load balancing (will you not see it yet?)
Load balancing is divided into four layers of load balancing and seven layers of load balancing The so-called four layer load balancing refers to the transport layer in the OSI reference model, which is mainly based on ip + port load balancing Realize four layer load balancing: Hardware: F5,BIG-IP,EADWARE Software: lvs,nginx,hayproxy The so-c ...
Posted by shan111 on Wed, 22 Dec 2021 20:16:19 +0100
Signal carrying information (signal registration function - advanced version)
1. Signal registration function - advanced version
Function prototype of sigaction:
#include <signal.h>
int sigaction(int signum, const struct sigaction *act, struct sigaction *oldact);
struct sigaction {
void (*sa_handler)(int); //Signal processor, no additional data, SIG_IGN is ignored, SIG_DFL is the default action
vo ...
Posted by sillysillysilly on Wed, 22 Dec 2021 15:59:36 +0100
Shell: basic syntax
Shell overview
Getting started with Shell scripts
1. Script format
2. Create a Shell script: HelloWorld
tdx96@ubuntu:~/datas$ touch hellworld.sh
tdx96@ubuntu:~/datas$ vim hellworld.sh
Input:
#!/bin/bash
echo "helloworld today"
Execution:
tdx96@ubuntu:~/datas$ sh hellworld.sh
helloworld today
perhaps
tdx96@ubuntu:~/datas$ bash h ...
Posted by jonabomer on Wed, 22 Dec 2021 10:37:12 +0100
Puppeter docker Failed to launch chrome
Recently, a puppeter service was used in the project to take a screenshot. The front-end service should be packaged into the docker image
First, I use node as the initial image and print the front-end code into the image. The final image will report an error when running the screenshot, saying that it is missing: libx11 xcb so. 1. There should ...
Posted by mooshuligan on Wed, 22 Dec 2021 07:50:50 +0100
A Linux command with sufficient front end
prefaceAfter translating the official documents of TypeScript, I used VuePress to build a blog and realized the automatic deployment of GitHub and Gitee Pages, but I finally decided to build my own website. In the process of building the website, linux commands are indispensable. Therefore, this article writes a basically sufficient Linux comma ...
Posted by huntrguy102 on Wed, 22 Dec 2021 02:18:42 +0100
Comprehensive analysis of advanced core knowledge in Java and learning materials for linux
* Static inner class. be used for hash Operation!
*/
public static class SimpleHash {
private int cap;
private int seed;
public SimpleHash(int cap, int seed) {
this.cap = cap;
this.seed = seed;
}
/**
* Calculate hash value
*/
public int hash(Object value) {
int h;
return (value == null) ? 0 : Math.abs(seed * (c ...
Posted by enkidu72 on Tue, 21 Dec 2021 21:56:46 +0100
Modules commonly used in ansible
1.ansible management mode
Ad-Hoc ##Use the ansible command to directly complete the management, which is mainly used in the use scenario of temporary commands
playbook ##ansible script is mainly used for large-scale project scenarios and requires early planning
2. How to get help in ad hoc execution mode
ansible-doc ##Instructions for disp ...
Posted by overlordhu on Tue, 21 Dec 2021 05:01:35 +0100
Architecture design of ELK massive log collection system
This article mainly talks about building a log collection and analysis system. For how to deploy ELK using docker, please refer to my previous article https://blog.csdn.net/qq_36534560/article/details/119954728
Log collection system
brief introduction
Integrate the application with SpringBoot, and then extend to ELK technology stack to rea ...
Posted by diegueins on Tue, 21 Dec 2021 02:39:29 +0100