- 博客(20)
- 资源 (1)
- 收藏
- 关注
原创 centos 6.5 install redis
1. wget http://download.redis.io/redis-stable.tar.gz2. tar xvzf redis-stable.tar.gz3. cd redis-stable4. make5. make test 前面3步应该没有问题,主要的问题是执行make的时候,出现了异常。异常一:make[2]: c
2015-09-28 14:53:26 327
转载 欢迎使用CSDN-markdown编辑器
magento默认的搜索方式是like方式,不是很精确,也就是搜索词匹配高的不会拍到第一位,下面是采用一种精准的magento排序方式fulltext方式,下面是操作内容。 首先,联系空间商,在mysql的配置文件my.ini里面添加配置:1 ft_min_word_len=2 因为虚拟空间是没有权限的,vps才有! (这个值的意思是:认作一个单词的最少字符是多少,默认的 ft_min_w
2015-09-25 16:45:25 314
转载 Magento搜索不准确的解决办法
magento默认的搜索方式是like方式,不是很精确,也就是搜索词匹配高的不会拍到第一位,下面是采用一种精准的magento排序方式fulltext方式,下面是操作内容。首先,联系空间商,在mysql的配置文件my.ini里面添加配置:1ft_min_word_len=2因为虚拟空间是没有权限的,vps才有!
2015-09-25 16:38:23 1215
转载 magento cms Widget
Managing Promotional Content for a Holiday Sale with MagentoAugust 6, 2015 by Amy SHARE: twitter facebook gplusGetting ready for a promotion can take up lot of a company’s ti
2015-09-24 17:48:32 425
原创 phpstorm. and language inject
1. Add comment for functionwhen you have wrote a function in a class, you may want to add comment for this functionAt this time, you can click "alt + enter", to create comment. Please notice t
2015-09-23 21:29:16 402
转载 php 技术收藏
1 . 请对 POSIX 风格和兼容 Perl 风格两种正则 表达式的主要函数进行类比说明eregpreg_matchereg_replacepreg_replace2 . 请说明在 php .ini 中 safe_mode 开启之后对于 PHP 系统 函数的影响开启之后,主要会
2015-09-22 17:31:46 273
原创 magento add admin account
1. 创建hash 密码:$vi generatePass.php<?php// test.phpdefine('MAGENTO_ROOT', getcwd());$mageFilename = MAGENTO_ROOT . '/app/Mage.php';include $mageFilename; Mage::app();$pass = 'YOUR_PASS'; // t
2015-09-21 16:02:11 470
转载 rsync 命令详解
如果你是一位运维工程师,你很可能会面对几十台、几百台甚至上千台服务器,除了批量操作外,环境同步、数据同步也是必不可少的技能。说到“同步”,不得不提的利器就是rsync,今天就来说说我从这个工具中看到的同步的艺术。[不带任何选项]我们经常这样使用rsync:$ rsync main.c machineB:/home/userB1 只要目的端的文件内容和源端不一样,
2015-09-21 13:40:41 242
转载 centos email 设置
一般CENTOS里面的mail函数是要配合一些邮局系统来使用才行的。这里教大家利用免费的SMTP邮箱来定制这个函数 很多论坛系统,比如PW和DZ后台的邮件发送系统可以选择使用空间的mail()函数进行,但是默认装完的系统这个功能还不能使用需要自己定义 方法如下: 安装配置方法: CENTOS默认都带mail函数(sentmail)功能,因此不需要额外再安装 修改/etc/m
2015-09-19 22:18:58 980
原创 magento 哪些地方应用了EAV模型
查看magento的表: eav_entity_type 可以清晰的看出magento 在8个地方应用了EAV模型分别为 : customer 、 customer address、 catalog_category、catalog_product、order、invoice、creditmemo、shipment
2015-09-16 11:50:25 404
原创 mkmf.rb can't find header files for ruby
安装 compass 是遇到:mkmf.rb can't find header files for ruby可以通过 yum install ruby-devel来解决
2015-09-15 21:13:44 2846 1
原创 phpstorm 多个项目管理
phpstorm 或 webstorm 设置多个项目可以并存: File -> settings -> Directories -> Add Content Root 中添加你当前的工程目录。
2015-09-15 11:50:18 2064
原创 phpstorm csv 解析失效
File->Settings->File Type在右侧上方选择 Text files,下方添加 "*.csv"保存退出
2015-09-15 11:37:54 442
原创 centos install sass
1. yum install ruby2. yum install rubygems3. gem install sass
2015-09-14 19:35:16 525
转载 magento create shipping method
这一章节里, 我们来了解一下如何在 Magento 中创建自定义的送货/配送方式(Shipping Method) 创建自定义配送方式并不是很复杂, 不过需要了解在 shipping method 类中所有有用的方法,然后加以利用, 那就变得十分简单了, 我会在这一节中示例不同 cases 情况下所使用的方法 现在我们就先来创建一个配送方式, 在接下去的示例中, 我
2015-09-10 07:01:06 503
转载 magento 中文店铺设置
首先进入自己 Magento 后台系统 -> 管理商店(System -> Manage Stores)店铺多语言设置" title="[转载]Magento 店铺多语言设置" style="margin:0px; padding:0px; border:0px; list-style:none">单击 “创建店铺视图”(Create Store View)店铺多语言设置"
2015-09-10 05:09:01 1481
原创 xhprof 性能分析
1. 安装 xhprof wget http://pecl.php.net/get/xhprof-0.9.4.tgztar -xzf xhprof-0.9.4.tgzcd xhprof-0.9.4cd extension/phpize./configure --with-php-config=/usr/bin/php-configmakemake installyum insta
2015-09-05 00:26:48 300
转载 xhprof
使用xhprof进行线上PHP性能追踪及分析日志未经声明,均为AlloVince原创。版权采用『 知识共享署名-非商业性使用 2.5 许可协议』进行许可。Share on twitterShare on facebookShare on google_plusone_shareShare on sinaweiboShare on douban
2015-09-04 23:02:24 314
原创 git 常用命令
创建和使用git ssh key首先设置git的user name和email:12git config --global user.name "xxx"git config --global user.email "[email protected]"查看git配置:
2015-09-02 03:24:58 333
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人