[Notes9] led management, enter ME brush bios, raspberry pie

1.led management 1.openbmc-hollywood/common/recipes-utils/openbmc-utils/files/i2c-utils.sh. SYSFS_I2C_ROOT="/sys/bus/i2c" SYSFS_I2C_DEVICES="${SYSFS_I2C_ROOT}/devices" SYSFS_I2C_DRIVERS="${SYSFS_I2C_ROOT}/drivers" # # Return the given i2c device's absolute sysfs path. # $1 - i2c device in <bus>-00<add> format (for example 0 ...

Posted by rakennedy75 on Sun, 26 Dec 2021 22:08:29 +0100

Shell set command application

catalogue Introduction to set command Using the set command 1. Execute the set command without options 2. Basic grammar 3. Introduction to options -o +o -e or -o errexit -n or -o noexec -u or -o unset -x or -o xtrace -o pipefail example Introduction to set command The set command is a command that beginners in the shell seldom t ...

Posted by ns1025 on Sun, 26 Dec 2021 08:40:48 +0100

Merry Christmas. I teach you to use shell script to realize a Christmas tree. [little cool]

preface Christmas is coming! Yikoujun is here to wish all fans a merry Christmas! I wish all the students who take the postgraduate entrance examination a golden title! I wish my friends who are looking for a job get a hot offer! I wish all bosses a lot of money in the New Year! Here, I drew a Christmas tree with a shell script! Let's take a ...

Posted by temidayo on Fri, 24 Dec 2021 00:11:23 +0100

wav2sbc: convert wav format to txt format of SBC

The local music of some Bluetooth audio devices needs to use the sbc format, such as the Bluetooth headset of hengxuan (BES). If you are engaged in the development of BES platform, you must know it very well. Their local audio uses the sbc format in the form of txt, and it is also the sbc format of mono 16 bit and 16KHz sampling rate Realizati ...

Posted by tinyang on Thu, 23 Dec 2021 06:11:45 +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

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

It's troublesome to change Windows hosts. Stay up late and make your own modification artifact. It's almost ready to fly (you can experience internal test voting)

❤️ Welcome to subscribe Learning python from actual combat Column, using python to realize practical cases in various directions such as crawler, office automation, data visualization and artificial intelligence, which is interesting and useful! ❤️ More introduction to boutique columns can be found here The so-called poetry and distance, h ...

Posted by Tezread on Mon, 20 Dec 2021 14:22:09 +0100

A Linux tomcat automatic deployment shell script

A Linux tomcat automatic deployment shell script Because Jenkins was installed on the server to realize automatic deployment failed, we found an alternative method and copied an automatic deployment script on the Internet. This script is written in shell language, and I have never been in contact with shell programming before, so I try to d ...

Posted by ifubad on Sun, 19 Dec 2021 05:39:51 +0100

On V8 compilation

Author Yu ZiyiSource: Ali technical official accountI. IntroductionThis article is an introduction to the principles of V8 compilation, which aims to give you a perceptual understanding of the parsing process of JavaScript in V8. The main writing process of this paper is as follows:Interpreter and compiler: introduction to basic knowledge of co ...

Posted by clapton on Sat, 18 Dec 2021 20:39:02 +0100

SHELL script - variable

SHELL script - variable SHELL script introduction Programming language classification Compiled language Before the program is executed, it needs to be compiled into machine language and run the compiled results directly. The program has high execution efficiency, depends on the compiler, and has poor cross platform performance. Such as C, C ...

Posted by davey10101 on Wed, 15 Dec 2021 02:58:04 +0100