会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
webmans
博客园
首页
新随笔
联系
订阅
管理
2024年3月22日
消息筛选器/屏幕无操作锁屏
摘要: #region 系统锁屏[DllImport("user32")]public static extern bool LockWorkStation();//调用LockWorkStation()锁屏#endregion #region 消息筛选器internal class MessageFilt
阅读全文
posted @ 2024-03-22 00:05 web男
阅读(11)
评论(0)
推荐(0)
2020年9月26日
nmcli 网络管理工具
摘要: systemctl status NetworkManager 查看网卡信息 nmcli 查看网络设备状态 nmcli device status 查看网络详细信息 nmcli device show ens32 设置静态ip nmcli connection modify ens32 ipv4.a
阅读全文
posted @ 2020-09-26 21:21 web男
阅读(344)
评论(0)
推荐(0)
2020年9月22日
linux yum仓库配置
摘要: 挂载光盘 mount /dev/cdrom /media 查看挂载 df 配置yum cd /etc/yum.repos.d/ ls vim CentOS-Media.repo 将BaseOS 与AppStream地址改到 /media gpgcheck =0 enable = 1 查看yum服务
阅读全文
posted @ 2020-09-22 15:25 web男
阅读(1040)
评论(0)
推荐(0)
linux 防火墙selinux ,firewalld, iptables
摘要: selinux: 状态查看 sestatus 关闭 vi /etc/selinux/config 修改为 selinux=disabled firewalld: 状态查看 systemctl status firewalld 临时关闭开机后重启: systemctl stop firewalld 永
阅读全文
posted @ 2020-09-22 14:53 web男
阅读(178)
评论(0)
推荐(0)
linux root密码重置
摘要: 1.开机进入linux内核 按e, 进入编辑模式 2.找到内核版本号输入 rd.break 按ctrl+x, 进入switch_root 3.mout查看、重新挂载根分区 mount - o remount,rw / sysroot 4.切换到sysroot chroot /sysroot 5.重置
阅读全文
posted @ 2020-09-22 13:08 web男
阅读(225)
评论(0)
推荐(0)
2018年2月27日
sass 安装
摘要: 推荐:http://www.ruanyifeng.com/blog/2012/11/compass.html 安装sass sass基于Ruby语言开发而成,因此安装sass前需要安装Ruby 参考:https://www.sass.hk/install/ 安装sass gem install sa
阅读全文
posted @ 2018-02-27 12:37 web男
阅读(111)
评论(0)
推荐(0)
2018年1月27日
npm install 出错
摘要: 2014年2月27日,npm不再支持自签名证书。 因为npm install走的是https协议,需要通过数字证书来保证的 解决方法1: 取消ssl验证:npm config set strict-ssl false 如果还没成功,则将npm源更换为国内镜像:npm config set regis
阅读全文
posted @ 2018-01-27 12:09 web男
阅读(190)
评论(0)
推荐(0)
node -v正确,npm -v 出错;
摘要: 查看用户环境变量有%SystemRoot%\system32 重新安装cmd.exe后问题解决 拷贝cmd.exe 到C:\windows\system32 下
阅读全文
posted @ 2018-01-27 12:02 web男
阅读(423)
评论(0)
推荐(0)
node.js
摘要: 1.安装node.js 下载node.js 2.命令行输入 node -v; //输出node版本号; npm -v ; //输出npm版本号; 3.使用严格模式 可以在js文件开头写 ‘use strict' 也可以使用 node --use_strict file.js
阅读全文
posted @ 2018-01-27 11:55 web男
阅读(102)
评论(0)
推荐(0)
2017年12月26日
Less 学习
摘要: 1.定义变量; @name; 2.变量减运算时 -号 左右要有空格; 3. &代表上层选择器的名称; 4.逻辑运算符; and 与; not 非; , 或; 5. when 条件判断; 6.数量不定的参数用 @arguments; 7.比较运算符;> ,>=, =, =<, < 等号在尖头; 8.属
阅读全文
posted @ 2017-12-26 17:36 web男
阅读(114)
评论(0)
推荐(0)
下一页
公告