$attribute = Mage::getSingleton('eav/config')->getAttribute('catalog_product', 'color');if ($attribute->usesSource()) { $options = $attribute->getSour...
分类:
其他好文 时间:
2014-06-25 18:33:38
阅读次数:
228
在windows上使用git来push到github服务器的时候,每次都需要填写用户名/邮箱、密码,很麻烦。最近用hexo写博客,需要频繁地进行博客配置和预览,而每次预览执行hexo deploy都需要输入用户名、密码验证,不胜其烦,今天下决心解决。尽管github提供了SSH方式进行本地和服务端的...
分类:
其他好文 时间:
2014-06-25 17:20:30
阅读次数:
251
配合lvs的ha模式,lvs的ha模式可以参考这里ssdb主机:192.168.1.104192.168.1.108修改ssdb.conf104主机# ssdb-server config# MUST indent by TAB!# relative to path of this file, di...
分类:
数据库 时间:
2014-06-25 16:21:01
阅读次数:
449
xcrun: error: active developer path ("/Applications/Xcode.app/Contents/Developer") does not exist, use xcode-select to change执行 sudo xcode-select -swi...
分类:
其他好文 时间:
2014-06-25 16:13:31
阅读次数:
190
关闭SELINUXvi /etc/selinux/config#SELINUX=enforcing #注释掉#SELINUXTYPE=targeted #注释掉SELINUX=disabled #增加:wq! #保存退出setenforce 0 #使配置立即生效mysql 5.5.28安装安装路径:...
分类:
数据库 时间:
2014-06-25 12:32:30
阅读次数:
348
一.创建一个新的应用程序
在控制台输入
> rails new demo
create
create README.rdoc
create Rakefile
create config.ru
create .gitignore
create Gemfile
create app
....
分类:
其他好文 时间:
2014-06-24 20:51:22
阅读次数:
281
鄙人程序猿一枚,Android开发,常年使用Ubuntu(主要是买不起Mac,O(∩_∩)O哈哈~)。分享一下自己使用的那些软件,如果你有什么好的软件。欢迎与我交流。
输入法:开始的时候是用的fcitx,后来搜狗出了linux版本,选择之。下载链接
办公软件:WPS Linux,真心很好用,比libreOffice好用不止一点.下载链接 注意:下载alpah版本.
浏览器:chr...
分类:
其他好文 时间:
2014-06-24 19:30:30
阅读次数:
329
(mx.messaging.messages::RemotingMessage)#0
从异常信息中可以发现destination值为空字符串,根本原因是配置文件remoting-config.xml中没有定义destination对应的调用目标。
比如
var classesDao : RemoteObject = new RemoteObject("ClassesDao");
到remoting-config.xml中查找destination标签Id为ClassesDao的声明,没有找到,所以报告如上异...
分类:
其他好文 时间:
2014-06-24 18:49:02
阅读次数:
210
[root@localhost~]#system-config-kickstartXlib:extension"RANDR"missingondisplay"localhost:10.0"./usr/share/system-config-kickstart/kickstartGui.py:103:GtkWarning:GtkSpinButton:settinganadjustmentwithnon-zeropagesizeisdeprecatedxml=gtk.glade.XML("/usr/share/s..
分类:
其他好文 时间:
2014-06-24 16:36:29
阅读次数:
553