一:禁用网卡(NetCard-Disable)@echooff::BatchGotAdmin:-------------------------------------REM-->Checkforpermissionsnul2>&1"%SYSTEMROOT%\system32\cacls.exe""%SYSTEMROOT%\system32\con
分类:
其他好文 时间:
2020-06-04 12:13:56
阅读次数:
87
环境 centos7系统 关闭防火墙 systemctl stop firewalld systemctl disable firewalld 关闭SELINUX sudo vim /etc/sysconfig/selinux 重启一下 sudo reboot 将SELINUX 改为disable ...
分类:
其他好文 时间:
2020-06-03 17:34:13
阅读次数:
104
[导读] 前文分析了Linux设备驱动的驱动模型,本文来聊聊Platform_driver/Platform_device这个类。做嵌入式Linux的驱动,这个也是绕不开的,所以来学习分析总结一下。 上文阅读: 注:代码分析基于linux-5.4.31 为什么有Platform_driver 前文谈 ...
分类:
系统相关 时间:
2020-06-02 22:51:47
阅读次数:
111
报错信息: error C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WA ...
分类:
编程语言 时间:
2020-06-02 12:57:42
阅读次数:
79
1. 页面出现滚动条 ———— ::-webkit-scrollbar {display: none;} 2. 处理火狐浏览器form表单回显时出现蓝色或者黄色的背景色,三种方法如下: 这是由于chrome会默认给自动填充的input表单加上input:-webkit-autofill私有属性,然后 ...
分类:
其他好文 时间:
2020-06-02 09:17:21
阅读次数:
80
PHP绕过disable_function 常规绕过 exec exec执行command命令,但是不会输出全部结果,而是返回结果的最后一行. 想得到全部的结果,可以使用第二个参数,让其输出到一个数组,数组的每一个记录代表了输出的每一行. <?php exec('ipconfig',$arr); p ...
分类:
Web程序 时间:
2020-06-01 13:41:39
阅读次数:
79
1:查看防火状态 systemctl status firewalld service iptables status 2:暂时关闭防火墙 systemctl stop firewalld service iptables stop 3:永久关闭防火墙 systemctl disable firew ...
分类:
系统相关 时间:
2020-05-31 23:16:44
阅读次数:
121
一、GitLab主要服务构成 二、GitLab的工作流程 三、Gitlab安装配置管理环境 使用centos7的环境配置 1.提前准备工作 1.关闭防火墙 systemctl stop firewalld 禁用防火墙开机启动 systemctl disable firewalld 2.关闭SELIN ...
分类:
其他好文 时间:
2020-05-31 11:20:47
阅读次数:
71
vardialog=layer.open({type:2,title:‘客户订单‘,content:‘ordersForm.jsp‘,maxmin:true,area:layui.setter.area,btn:[‘保存‘,‘取消‘],btnAlign:‘c‘,yes:function(index,layero){variframeWindow=window[‘layui-layer-iframe
分类:
其他好文 时间:
2020-05-31 09:19:10
阅读次数:
69
用抽象构建框架,用实现扩展细节 因为抽象灵活性好,适应性广,只要抽象的合理,可以基本保持软件架构的稳定。而软件中易变的细节,我们用抽象派生的实现类进行扩展,当软件需要发生变化时,我们只需要根据需求重新派生一个实现类扩展就可以了。当然前提是我们的抽象要合理,需对抽象的变更有前瞻性和预见性才行。 单一职 ...
分类:
其他好文 时间:
2020-05-30 22:15:09
阅读次数:
86