版本:Openwrt19.07 芯片:MT7268NN 1、在源码 /target/linux/rampis/dts目录中,打开 mt7628an.dtsi 查看注册复用的GPIO gpio: gpio@600 { compatible = "mediatek,mt7621-gpio"; reg = ...
分类:
其他好文 时间:
2021-03-01 13:13:23
阅读次数:
0
python学习之面向对象 类定义 与python的函数定义类似,只不过把def关键字替换为class class calculator(): pass a=calculator() print(type(a)) 输出 <class 'main.calculator'> 构造函数 与php的定义类似 ...
分类:
编程语言 时间:
2021-03-01 12:58:32
阅读次数:
0
######cut -d 指定分隔符 -f 指定列数 1,2,3 [root@rongbiz002 26]# awk '{print $1}' /www/wwwlogs/c2p.rongbiz.com-access_log|head -n5 |cut -d '.' -f 1,2,3 112.64.5 ...
分类:
系统相关 时间:
2021-02-27 13:40:48
阅读次数:
0
linux crontab报以下错误解决 [root@china ~]# crontab -l 拒绝权限You (root) are not allowed to access to (crontab) because of pam configuration. 解决: 1.查看定时任务的日志/va ...
分类:
数据库 时间:
2021-02-27 13:40:22
阅读次数:
0
protoc 编译工具 windows 平台下载对应平台的 protobuf,并配置环境变量 protobuf linux 环境先安装依赖 sudo apt-get install autoconf automake libtool curl make g++ unzip git clone htt ...
分类:
其他好文 时间:
2021-02-27 13:31:02
阅读次数:
0
array_fill — 用给定的值填充数组 说明 array_fill ( int $start_index , int $count , mixed $value ) : array 用 value 参数的值填充 count 个元素到数组, 开始键名由 start_index 参数指定。 参数 ...
分类:
Web程序 时间:
2021-02-27 13:28:45
阅读次数:
0
CentOS7 的防火墙配置跟以前版本有很大区别,CentOS7这个版本的防火墙默认使用的是firewall,与之前的版本Centos 6.x使用iptables不一样 一、iptables防火墙 1、基本操作 查看防火墙状态 service iptables status 停止防火墙 servic ...
分类:
系统相关 时间:
2021-02-27 13:22:40
阅读次数:
0
? | 导语 本文主要是讲Linux的调度系统, 由于全部内容太多,分三部分来讲,调度可以说是操作系统的灵魂,为了让CPU资源利用最大化,Linux设计了一套非常精细的调度系统,对大多数场景都进行了很多优化,系统扩展性强,我们可以根据业务模型和业务场景的特点,有针对性的去进行性能优化,在保证客户网络 ...
分类:
系统相关 时间:
2021-02-27 13:18:28
阅读次数:
0
在项目里找\app\Providers\RouteServiceProvider.php这个文件 然后找protected $namespace = 'App\\Http\\Controllers';这行代码 没有找到就加在class RouteServiceProvider extends Ser ...
分类:
其他好文 时间:
2021-02-27 13:15:07
阅读次数:
0
1.查看所有现有环境: conda info -e conda list:查看安装了哪些包。 conda install package_name(包名):安装包 conda env list 或 conda info -e:查看当前存在哪些虚拟环境 conda update conda:检查更新当 ...
分类:
其他好文 时间:
2021-02-27 13:11:50
阅读次数:
0