通过构建LFS,学习交叉编译相关概念,理解Linux系统内部的组成、依赖和运行。
Caddy2 with Cloudflare CDN (end-to-end encryption)
dashboard->profile->API Tokens->Create API Token->Create Custom Token
Permissions->zone->zone read/dns edit/analytic read
Zone Resources->specific zone->your site domain
do NOT use global API key
Ubuntu x86-64和aarch64升级OpenSSL
确认openssl版本受影响
安装编译所需工具
源码安装惯例,生产环境建议make test
备份旧openssl并为新安装的openssl做链接
装载配置,确认新版本号
Note-taking-for-Newifi2-D1-MTD
Hardware:Newifi2 D1
Bootloader:Breed written by hackpascal
A type of device file in Linux for interacting with flash memory. The MTD subsystem was created to provide an abstraction layer between the hardware-specific device drivers and higher-level applications.
Linux traditionally only knew block devices and character devices. Character devices were things like keyboards or mice, that you could read current data from, but couldn’t be seek-ed and didn’t have a size. Block devices had a fixed size and could be seek-ed. They also happened to be organized in blocks of multiple bytes, usually 512.
USB sticks, MMCs, SDs, CompactFlashes and other popular removable devices should not be confused with MTDs. Although they contain flash memory, this is hidden behind a block device interface using a FTL(Flash Translation Layer).
online独服安装Aria2+AriaNG+Caddy+FileBrowser
Online特价,3eur/mo,做下载机不错。急用,简单安装了Aria2+AriaNG+Caddy+FileBrowser,小绿锁没来得及上,history导出的,有点乱,可能会有错或遗漏…另外,现在FileBrowser不在以插件形式存在,反代一下即可…
很久不用Python了,想着简化一下日常繁琐的数据整理,写个脚本。
Script1:
1 | import pandas as pd |
金属氧化物半导体场效晶体管(简称:金氧半场效晶体管;英语:Metal-Oxide-Semiconductor Field-Effect Transistor,缩写:MOSFET),是一种可以广泛使用在模拟电路与数字电路的场效晶体管。金属氧化物半导体场效应管依照其沟道极性的不同,可分为电子占多数的N沟道型与空穴占多数的P沟道型,通常被称为N型金氧半场效晶体管(pMOSFET)与P型金氧半场效晶体管(pMOSFET)。
MOS管的电路符号有多种形式,最常见的设计是以一条垂直线代表沟道(Channel),两条和沟道平行的接线代表源极(Source)与漏极(Drain),左方和沟道垂直的接线代表栅极(Gate)。如下图所示: