导航

上一页 1 ··· 37 38 39 40 41 42 43 44 45 ··· 61 下一页

2012年9月20日

摘要: Bootstrap是Twitter推出的一个开源的用于前端开发的工具包。它由Twitter的设计师Mark Otto和Jacob Thornton合作开发,是一个CSS/HTML框架。Bootstrap提供了优雅的HTML和CSS规范,它即是由动态CSS语言Less写成,与CSS框架Blueprint存在很多相似之处。Bootstrap一经推出后颇受欢迎,一直是GitHub上的热门开源项目,包括NASA的code.nasa.gov和MSNBC(微软全国广播公司)的Breaking News都使用了该项目。Bootstrap 2.0的一个重大改进是添加了响应设计特性,在1.0中它并不支持,这让很 阅读全文

posted @ 2012-09-20 16:15 eastson 阅读(339) 评论(0) 推荐(0) 编辑

2012年9月19日

摘要: Superfish是Suckerfish菜单样式的加强版。两者都是基于jQuery,结合现有纯CSS级联下拉菜单,还增加了以下这些网站管理员急需的功能。1.Superfish样式在IE 6支持悬停(hover属性),增加的默认类为”sfHover”,你也可以改变类名。2.鼠标移动的延时功能。为了更方便解决鼠标存在问题的朋友,默认延时为800毫秒,你也可以更改延时时间。3.子菜单以动画显示。显示是淡入淡出效果。淡入淡出的效果(如速度)也是可以自己设定的。默认为正常(normal)。4.菜单和子菜单可设定为显示或不显示。5.支持hoverIntent插件,Superfish自动查看是否含有hove 阅读全文

posted @ 2012-09-19 10:49 eastson 阅读(389) 评论(0) 推荐(0) 编辑

2012年9月17日

摘要: 修改某个MySQL用户的密码:# mysqladmin -h localhost -u root -p password xxx 阅读全文

posted @ 2012-09-17 12:01 eastson 阅读(214) 评论(0) 推荐(0) 编辑

摘要: CentOS默认的iptables规则除了允许SSH(端口22)连进来以外,其它都被禁止。# cat /etc/sysconfig/iptables# Firewall configuration written by system-config-firewall# Manual customization of this file is not recommended.*filter:INPUT ACCEPT [0:0]:FORWARD ACCEPT [0:0]:OUTPUT ACCEPT [0:0]-A INPUT -m state --state ESTABLISHED,RELATED 阅读全文

posted @ 2012-09-17 11:25 eastson 阅读(1296) 评论(0) 推荐(0) 编辑

摘要: SELinux默认运作在"Enforcing"模式。$ sestatus -vSELinux status: enabledSELinuxfs mount: /selinuxCurrent mode: enforcingMode from config file: enforcingPolicy version: 24Policy from config file: targeted"Enforcing"模式下Zend Server ... 阅读全文

posted @ 2012-09-17 10:57 eastson 阅读(1199) 评论(0) 推荐(0) 编辑

摘要: 用Eclipse PDT开发PHP时,Eclipse会自动创建几个系统文件。这些文件在Git提交时可以忽略。使用git status可以看到这些文件(.project, .buildpath和.settings):$ git status# On branch master# Untracked files:# (use "git add <file>..." to include in what will be committed)## .buildpath# .project# .settings/# includes/# index.phpnothing. 阅读全文

posted @ 2012-09-17 09:56 eastson 阅读(751) 评论(0) 推荐(0) 编辑

摘要: 首先,我们要在GitHub.com注册一个帐号,然后创建一个repository。然后参考文档《git push 403的解决方法》。Create a new repository on the command linetouch README.mdgit initgit add README.mdgit commit -m "first commit"git remote add origin https://github.com/amonest/php-omnitrix.gitgit push -u origin masterPush an existing repos 阅读全文

posted @ 2012-09-17 09:13 eastson 阅读(212) 评论(0) 推荐(0) 编辑

2012年9月15日

摘要: 因为需要做一些PHP的开发,这时候通常会选择Zend Server CE和Zend Eclipse PDT。设置Apache HTTPDhttpd默认是和CentOS一起安装的。其配置目录是/etc/httpd,网站目录/var/www。我们可以将它配置成开机启动。# chkconfig httpd on# service httpd restart安装Zend Server CE1. 配置Zend软件源。新建文件/etc/yum.repos.d/zend.repo,内容如下:[Zend]name=Zend Serverbaseurl=http://repos.zend.com/zend-se 阅读全文

posted @ 2012-09-15 08:42 eastson 阅读(753) 评论(0) 推荐(0) 编辑

2012年9月14日

摘要: 使用共享文件夹功能之前,必须先安装VBoxAdditions。在VirtualBox菜单(设备 > 共享文件夹)中添加需要共享的文件夹:在Linux虚拟机中挂载该文件夹:# mkdir shared# mount -t vboxsf Shared_Folder shared如果是Windows虚拟机,可以直接访问电脑 \\vboxsvr ,所有的共享文件夹都可以看得到。 阅读全文

posted @ 2012-09-14 17:31 eastson 阅读(1475) 评论(0) 推荐(0) 编辑

摘要: 这个是由/etc/yum.conf控制的:# cat /etc/yum.conf[main]cachedir=/var/cache/yum/$basearch/$releaseverkeepcache=0debuglevel=2logfile=/var/log/yum.logexactarch=1obsoletes=1gpgcheck=1plugins=1installonly_limit=5... ...cachedir是软件包下载后保存的目录。但默认是不保存的,因为keepcache=0。若想要保存下载的软件包,必须将keepcache设置1才可以。 阅读全文

posted @ 2012-09-14 16:11 eastson 阅读(2332) 评论(0) 推荐(1) 编辑

上一页 1 ··· 37 38 39 40 41 42 43 44 45 ··· 61 下一页