msconfig --启动项
dxdiag --启用加速
mstsc --远程桌面
control --控制面板
winkey+d : 将桌面上的所有窗口瞬间最小化
winkey+f : 搜索窗口。
winkey+r : 打开‘运行’对话框……”
alt + tab : 选中自己希望要打开的窗口。而alt+tab+shift键则可以反向显示当前打开的窗口。
winkey+e : 打开资源管理器
查看进程
ps -ef |grep java
Content-type
text/plain:纯文本,文件扩展名.txt
text/html:HTML文本,文件扩展名.htm和.html
image/jpeg:jpeg格式的图片,文件扩展名.jpg
image/gif:GIF格式的图片,文件扩展名.gif
audio/x-wave:WAVE格式的音频,文件扩展名.wav
audio/mpeg:MP3格式的音频,文件扩展名.mp3
video/mpeg:MPEG格式的视频,文件扩展名.mpg
application/zip:PK-ZIP格式的压缩文件,文件扩展名.zip
application/x-download:所有下载通用
点击跳转
<div><input type="button" value="redirect" onclick="window.location='<%=BASE_PATH %>/account/'"></div>
页面几秒后跳转
第一种:
<script type="text/javascript">
//<!--
function isIFrameSelf(){try{if(window.top ==window){return false;}else{return true;}}catch(e){return true;}}
function toHome(){ if(!isIFrameSelf()){ window.location.href="http://news.sina.com.cn/guide/";}}
window.setTimeout("toHome()",5000);
//-->
</script>
第二种:
<meta http-equiv="refresh" content="5;URL=http://www.pynon.com/">
mysql控制台乱码解决
SHOW VARIABLES LIKE 'character_set%';
set character_set_results=GBK;
mysqldump -uroot -p abc > abc.sql 导出数据库脚本
解决乱码(判断是否是IE)
String charTypeString="true".equals(request.getParameter("isIE"))?"GBK":"UTF-8";
content = new String(content.getBytes("ISO-8859-1"), charTypeString);
windows\system32\drivers\etc\hosts文件 修改host
求BASE_PATH 以及判断是否为登录用户
<%String BASE_PATH=request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+request.getContextPath()+"/"; User user = (User)session.getAttribute("user"); boolean isLogin=(user==null?false:true); %>
2.6*3.8 cm 3.5*5英寸 9张(一寸)
2.6*3.5 cm 4*6英寸 12张 (一寸)
3.5*4.8 cm 3.5*5英寸 4张 4*6英寸 8张(两寸)
裁剪和新建分辨率都用300像素\英寸
格式化日期:
java.text.SimpleDateFormat s= new java.text.SimpleDateFormat("yyyy-MM-dd HH:mm:ssssssss");
System.out.println("连接master:"+s.format(new Date(System.currentTimeMillis())));
linux下查看java进程
ps -ef |grep java
java -Djava.ext.dirs=lib com.suqin.test.TestSuqin