0

centos查看硬盘温度

Posted in Linux at 五月 30th, 2014 / No Comments »

hddtemp /dev/sda hddtemp的下载地址:http://pkgs.org/centos-6/epel-x86_64/hddtemp-0.3-0.20.beta15.el6.x86_64.rpm.html 查看cpu的温度用sensors http://os.51cto.com/art/201002/184810.htm

0

eclipse中js文件无法自动定位

Posted in Linux at 五月 30th, 2014 / No Comments »

eclipse有多个视图,在Project Explorer视图中的,js文件无法定位。 在Navigator视图和Package Explorer视图中可以打开。 左侧explorer上,有个双向的箭头,点一下,就会把路径和当前文件自动对应。或者点击explo...

一般来说linux下查询域名解析有两种选择,nslookup或者dig,而在使用上我觉得dig更加方便顺手。 如果是在debian下的话,只要装上dnsutils这个包就可以使用dig命令了。 nslookup的用法: $nslookup www.yuexuan.or...

<html> <head> <meta charset="utf-8" /> <title>Test</title> <style> #aa{ border:1px solid #ccc; height:400px; width:400px; text-align:center; margi...

0

linux 查看CapsLock状态

Posted in Linux at 五月 28th, 2014 / No Comments »

新买的ThinkPad T440p居然没有CapsLock灯,找了些资料准备自己写一个软件显示当前CapsLock状态。 主要问题是查询当前的CapsLock状态,使用命令可以这样查看: a1445864f514ddcaee331cb938c06dad000 另外也可以直接...

0

DD_belatedPNG使用动态资源

Posted in JavaScript at 五月 28th, 2014 / No Comments »

DD_belatedPNG用来解决ie6下的png透明问题很好用,但它对于url是动态资源的情况就不处理了比如 <img src=”index.do?img=xxx” alt=”" /> 看了它的源码DD_belatedPNG_0.0.8a.js是这样写的: a1445864f514d...

xset q Keyboard Control: auto repeat: on key click percent: 0 LED mask: 00000000 XKB indicators: 00: Caps Lock: off 01: Num Lock: off 02: Scroll Lock: off 03: Compos...