1、执行单条cmd命令public static string ExecuteCmd(string command){ Process p = new Process(); p.StartInfo.FileName = "cmd.exe"; p.StartInfo.UseShellExecute =... ...
分类:
其他好文 时间:
2020-07-14 13:21:31
阅读次数:
54
我使用的是root命令 操作系统:CoreOS_2345_3.0_x64 执行命令,将<username>替换为用户名 # sudo vi /etc/sudoers.d/<username> 然后输入一下内容保存 <username> ALL=(ALL) NOPASSWD:ALL 然后使用该user ...
分类:
其他好文 时间:
2020-07-14 00:56:40
阅读次数:
79
第二天 Enfore 实施 执行 强制 Procedure 步骤 过程 程序 手续 Occasion 场合 时候 活动 时机 机会 Retreat 撤退 撤离 退却 后退 Utter 说 发出 发射 完全的 Urban 城市 城镇 都市的 Loan 贷款 暂借 借贷 Lobby 门厅 大厅 休息室 ...
分类:
其他好文 时间:
2020-07-14 00:48:50
阅读次数:
86
[HTML formnovalidate 属性 HTML 标签实例带有两个提交按钮的表单(一个进行验证,另一个不进行验证): E-mail: 浏览器支持Internet Explorer 10、Firefox、Opera 和 Chrome 支持 formnovalidate 属性。注意:Safari... ...
分类:
Web程序 时间:
2020-07-13 21:12:19
阅读次数:
78
构建项目 将vue项目打包,打包后会在项目根路径下生成一个dist文件,这个就是需要发布到nginx服务器上的静态页面。(不同项目配置的打包命令可能稍有不同) npm run dev 具体看的脚手架 安装Nginx 1、打开terminal终端 2、安装Command Line Tools xcod ...
分类:
系统相关 时间:
2020-07-13 11:38:24
阅读次数:
147
ResponseError: OOM command not allowed when used memory > 'maxmemory'. redis内存不足,需要修改配置 redis.conf, 修改其中的配置项: maxmemory maxmemory-policy Could not con ...
分类:
其他好文 时间:
2020-07-13 11:35:15
阅读次数:
91
用pixel 2 XL刷官方镜像,结果不断提示getvar:all FAILED (remote: 'unknown command'),搜了半天没发现有什么解决方案,最后根据Google搜到的一些零星的结果硬把坑踩过去了。 重点主要就两点: 1.platform-tools版本不能高于26 2.A ...
分类:
移动开发 时间:
2020-07-12 19:15:48
阅读次数:
138
一、通过homebrew查看是否有异常(首先你得安装了Homebrew) $ brew doctor 二、根据提示修改zsh配置 Warning: Homebrew's sbin was not found in your PATH but you have installed formulae t ...
分类:
其他好文 时间:
2020-07-12 18:34:10
阅读次数:
134
Redis的复制功能分为同步(sync)和命令传播(command propagate)两个操作。 ##同步 同步操作用于将从服务器的数据库状态更新至主服务器当前所处的数据库状态。 ###1. 旧版本的执行步骤 从服务器向主服务器发送SYNC命令 主服务器执行BGSAVE命令,生成RDB文件,并使用 ...
分类:
其他好文 时间:
2020-07-12 14:23:39
阅读次数:
65
1 #1.查询工资最低的员工信息:last name, salary 2 SELECT 3 last_name, 4 salary 5 FROM 6 employees 7 WHERE 8 salary = ( 9 SELECT 10 MIN(salary) 11 FROM 12 employees ...
分类:
数据库 时间:
2020-07-12 10:44:40
阅读次数:
76