2017年5月27日

chsime.exe cpu占用高

摘要: 打开管理员的命令提示符,运行 if exist "%SystemRoot%\System32\InputMethod\CHS\ChsIME.exe" (takeown /f "%SystemRoot%\System32\InputMethod\CHS\ChsIME.exe" /Aicacls "%S 阅读全文

posted @ 2017-05-27 13:17 Zing_Z 阅读(897) 评论(0) 推荐(0)

两个变量交换数字 不用第三个变量的情况下 int a = 5,b = 6

摘要: 今天可是涨见识额 记录一下 第一种方法: a=a+bb=a-ba=a-b 第二种: b= a+(a=b)*0 一句话搞定 阅读全文

posted @ 2017-05-27 12:11 Zing_Z 阅读(137) 评论(0) 推荐(0)

js禁止刷新的简单方法

摘要: //禁止用F5键 这个是键盘按下时触发document.onkeydown = function() { if ( event.keyCode==116) {event.keyCode = 0; event.cancelBubble = true; return false; } } //禁止右键弹 阅读全文

posted @ 2017-05-27 12:11 Zing_Z 阅读(408) 评论(0) 推荐(0)

导航