摘要:
asp.net新建一个服务端程序,用来处理链接服务端: 1,新建一个处理程序 .ashx using System; using System.Collections.Generic; using System.Linq; using System.Net.WebSockets; using Sys 阅读全文
摘要:
Mysql调优之使用mysql慢查询日志优化sql语句及表索引 一,用慢查询日志找出耗时语句,并优化 # 查看mysql系统慢查询变量配置(能看到慢查询日志是否开启,日志路径等) SHOW VARIABLES LIKE '%slow%'; SHOW VARIABLES LIKE '%slow%'; 阅读全文
摘要:
最近用TortoiseSVN提交到Github身份验证,总是提示无效的用户名密码,反复确认密码没输入错的。但是就是提交不了(能获取)。 报错如下: 错误: No more credentials or we tried too many times. 错误: Authentication faile 阅读全文
摘要:
Shell脚本中也算是一门简易的编程语言了,当然循环是不能缺少的。常用到的循环有for循环和while循环。下面就分别介绍一下两种循环的结构。 【for循环】: Shell脚本中的for循环示例: #! /bin/bash ## author:Xiong Xuehao ## Use for in t 阅读全文
摘要:
shell脚本中也可以实现逻辑判断。 案例4:shell脚本中的逻辑判断 如果你学过C或者其他语言,相信你不会对if 陌生,在shell脚本中我们同样可以使用if逻辑判断。在shell中if判断的基本语法为: 1)不带else if 判断语句; then command fi #! /bin/bas 阅读全文