摘要:Android SDK在线更新镜像服务器中国科学院开源协会镜像站地址:IPV4/IPV6:mirrors.opencas.cn端口:80IPV4/IPV6:mirrors.opencas.org端口:80IPV4/IPV6:mirrors.opencas.ac.cn端口:80上海GDG镜像服务器地址...
阅读全文
摘要:// 获取窗口宽度if (window.innerWidth)winWidth = window.innerWidth;else if ((document.body) && (document.body.clientWidth))winWidth = document.body.clientWid...
阅读全文
摘要:alert($(window).height()); //浏览器时下窗口可视区域高度alert($(document).height()); //浏览器时下窗口文档的高度alert($(document.body).height());//浏览器时下窗口文档body的高度alert($(docume...
阅读全文
摘要:以下设置对所用的Linux系统如Redhat/Ubuntu/Debian/CentOS等都有效,但您必须是管理员root或者具有管理员权限vim /etc/resolv.conf在其中加入:nameserver 180.76.76.76nameserver 114.114.114.114保存退出,使...
阅读全文
摘要:sudo /etc/init.d/networking restart
阅读全文
摘要:1. 安装xdebug第一步: 得到本地PHP配置信息在终端中运行: php -i > outputphp.txt然后将得到的txt文件中的信息拷贝并复制到http://xdebug.org/wizard.php 这个页面提供的一个textarea中. 然后点击下方的Analyze按钮, 它会自动帮...
阅读全文
摘要:打开文件浏览器,例如从“位置” 里打开 “主文件夹”,点 “编辑” –>“首选项”,把 “图标视图默认值” 下的“默认缩放级别” 改为 75%。现在图标大小跟WinXP 下的差不多。或者在 系统工具(或者使用快捷键Alt+F2打开运行窗口。键入gconf-editor,打开Gnome配置编辑器) -...
阅读全文
摘要:http://idea.lanyus.com/
阅读全文
摘要:CentOS6.5掉电或重启,它的IP会被DHCP重新分配,如果要远程控制这台电脑,不得不去打开显示器去查看它的新IP,这样太麻烦了。于是需要将这台电脑的IP设置成静态的。网上常规的设置静态ip的方式设置完后,无法ping通,比如ping www.baidu.com 显示ping: unknown ...
阅读全文