01 2016 档案

android 镜像源
摘要:Android SDK在线更新镜像服务器中国科学院开源协会镜像站地址:IPV4/IPV6:mirrors.opencas.cn端口:80IPV4/IPV6:mirrors.opencas.org端口:80IPV4/IPV6:mirrors.opencas.ac.cn端口:80上海GDG镜像服务器地址... 阅读全文

posted @ 2016-01-25 11:39 水长东09 阅读(176) 评论(0) 推荐(0)

js 获取浏览器可视窗口大小,滚动条高度
摘要:// 获取窗口宽度if (window.innerWidth)winWidth = window.innerWidth;else if ((document.body) && (document.body.clientWidth))winWidth = document.body.clientWid... 阅读全文

posted @ 2016-01-13 10:56 水长东09 阅读(343) 评论(0) 推荐(0)

jquery 获取浏览器可视窗口大小,滚动条高度
摘要:alert($(window).height()); //浏览器时下窗口可视区域高度alert($(document).height()); //浏览器时下窗口文档的高度alert($(document.body).height());//浏览器时下窗口文档body的高度alert($(docume... 阅读全文

posted @ 2016-01-13 10:55 水长东09 阅读(392) 评论(0) 推荐(0)

linux dns 连外网
摘要:以下设置对所用的Linux系统如Redhat/Ubuntu/Debian/CentOS等都有效,但您必须是管理员root或者具有管理员权限vim /etc/resolv.conf在其中加入:nameserver 180.76.76.76nameserver 114.114.114.114保存退出,使... 阅读全文

posted @ 2016-01-07 23:48 水长东09 阅读(336) 评论(0) 推荐(0)

Linux/Ubuntu下刷新DNS缓存的方法
摘要:sudo /etc/init.d/networking restart 阅读全文

posted @ 2016-01-07 09:41 水长东09 阅读(687) 评论(0) 推荐(0)

PhpStorm中配置xdebug调试环境
摘要:1. 安装xdebug第一步: 得到本地PHP配置信息在终端中运行: php -i > outputphp.txt然后将得到的txt文件中的信息拷贝并复制到http://xdebug.org/wizard.php 这个页面提供的一个textarea中. 然后点击下方的Analyze按钮, 它会自动帮... 阅读全文

posted @ 2016-01-06 11:25 水长东09 阅读(222) 评论(0) 推荐(0)

ubuntu 调整桌面图标大小
摘要:打开文件浏览器,例如从“位置” 里打开 “主文件夹”,点 “编辑” –>“首选项”,把 “图标视图默认值” 下的“默认缩放级别” 改为 75%。现在图标大小跟WinXP 下的差不多。或者在 系统工具(或者使用快捷键Alt+F2打开运行窗口。键入gconf-editor,打开Gnome配置编辑器) -... 阅读全文

posted @ 2016-01-06 10:28 水长东09 阅读(1281) 评论(0) 推荐(0)

phpstorm 激活
摘要:http://idea.lanyus.com/ 阅读全文

posted @ 2016-01-04 13:22 水长东09 阅读(133) 评论(0) 推荐(0)

CentOS 6.5设置静态IP教程 并且可以ping通
摘要:CentOS6.5掉电或重启,它的IP会被DHCP重新分配,如果要远程控制这台电脑,不得不去打开显示器去查看它的新IP,这样太麻烦了。于是需要将这台电脑的IP设置成静态的。网上常规的设置静态ip的方式设置完后,无法ping通,比如ping www.baidu.com 显示ping: unknown ... 阅读全文

posted @ 2016-01-02 10:37 水长东09 阅读(3427) 评论(0) 推荐(0)

导航