zend studio 7配色方案还原

x:\My Document\Zend\workspaces\DefaultWorkspace7\.metadata\.plugins\org.eclipse.core.runtime\.settings\org.eclipse.ui.workbench.prefs

如果有备份直接覆盖,没有则删掉,然后修复安装一下就行咯~~ 这样既可以保持原有的项目存在,又可以将配色方案还原的默认。

ZendStudio 8 beta版用起来还不错的样子,哈~Windows live 2010 beta也不错

Chrome OS

我不是GG粉丝,只是对新鲜的事物保持一种好奇,Chrome OS或许在不远的将来,在平板电脑或者是各种便携客户端上大显身手.

 

海盗湾BT种子:

https://torrents.thepiratebay.org/5173539/Chromium_OS_USB_Image.5173539.TPB.torrent

纳米盘下载:

http://d.namipan.com/d/0858ed7cb648dfc0eb81d52dc2036aa8a7b0503d53403a13

 

光盘镜像烧录到优盘的小工具Image Writer for Windows

https://launchpad.net/win32-image-writer/+download

 

将下载到的Chrome OS压缩包解压缩,然后用Image Writer for Windows写入优盘,将优盘插入电脑,重启,USB启动。。。慢慢体验Chrome OS吧!^_^

Demonstration of Different Ways to Play a Sound from a Web Page

    http://www.phon.ucl.ac.uk/home/mark/audio/play.htm
     

    Demonstration of Different Ways to Play a Sound from a Web Page

    Here are some examples of sound replay from a web page. View the HTML source of the page to see how it’s done. These examples have only been tested on a PC.

    Browsers tested: Internet Explorer (6.0), Firefox (1.0), Mozilla (1.7.5), Opera (7.52). Plug-ins tested: Windows Media (10.0), Quicktime (6.5.2).


猛击阅读全文

js获取浏览器高度和宽度值

<script>
document.write("屏幕尺寸:"+screen.width+"*"+screen.height)
</script>

document.documentElement.clientHeight IE下为0.
加上:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
则没问题。
否则用body

猛击阅读全文

jQuery 1.4版本的15个新功能

1.jQuery()创建DOM元素:支持传参设置属性

之前,jQuery可以通过 attr 方法设置元素的属性,既可传属性的名和值,也可以是包含几组特定 属性名值对 的 对象。在jQuery 1.4 中,你可以把一个参数对象作为附属参数传给 jQuery 函数本身,同时创建HTML元素。

比方说你想要创建一个带有几个属性的锚记元素(<a></a>)。在1.4中,一切如此简单:

JavaScript代码

  1. jQuery(‘<a></a>’, {   
  2. id: ‘foo’,   
  3. href: ‘http://google.com’,   
  4. title: ‘Become a Googler’,   
  5. rel: ‘external’,   
  6. text: ‘Go to Google!’
  7. });  

猛击阅读全文

通过设置P3P头来实现跨域访问COOKIE

在做校内APP时,开始受官方wiki里的一篇文章的误导,签名验证思路不正确,在做签名验证时,选择从COOKIE获取COOKIE的值做验证。后来论坛搜索发现可以用URL里GET传值做签名验证。在使用COOKIE时IE里遇到获取不到COOKIE的情况,查阅资料是由于IE对第三方COOKIE做了严格的限制导致,火狐下没有这个问题。如果让IE也能获取第三方的COOKIE那就是P3P。下面是牛人老王博客里抄来的文章。跨域的问题以后还会经常遇到,抄来以备查阅

 

=====================================================

猛击阅读全文

Zen Coding:css,html缩写替换大观—让你的html,css飞起来[转载]


E元素名称(div, p); E#id使用id的元素(div#content, p#intro, span#error); E.class使用类的元素(div.header, p.error.critial). 你也可以联合使用class和idID: div#content.column.width; E>N子代元素(div>p, div#footer>p>span); E+N兄弟元素(h1+p, div#header+div#content+div#footer); E*N元素倍增(ul#nav>li*5>a); E$*N条目编号 (ul#nav>li.item-$*5); 

猛击阅读全文

CentOS上yum安装nginx+mysql+php+php-fastcgi

今天在虚拟机里配个服务跑个程序,用源码编译安装太慢了,从网上找了一个YUM安装的文章,转载以备查询

一、更改yum源为网易的源加快速度
vi /etc/yum.repos.d/CentOS-Base.repo
更改内容如下

  1. # CentOS-Base.repo
  2. #
  3. # This file uses a new mirrorlist system developed by Lance Davis for CentOS.
  4. # The mirror system uses the connecting IP address of the client and the
  5. # update status of each mirror to pick mirrors that are updated to and
  6. # geographically close to the client. You should use this for CentOS updates
  7. # unless you are manually picking other mirrors.
  8. #
  9. # If the mirrorlist= does not work for you, as a fall back you can try the
  10. # remarked out baseurl= line instead.
  11. #
  12. #
  13. 猛击阅读全文

Page 1 of 2312345...Last »