自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

Terry - 专注外贸B2C

GitHub地址:https://github.com/fancyecommerce

  • 博客(15)
  • 资源 (20)
  • 收藏
  • 关注

原创 mysql 表清空 ,查看sql在进程中的正在运行的sql ,log日志

1.TRUNCATE TABLE  `index_process_event`;TRUNCATE TABLE  `dataflow_batch_export`;TRUNCATE TABLE  `dataflow_batch_import`;TRUNCATE TABLE  `log_customer`;TRUNCATE TABLE  `log_quote`;TRUNCATE

2014-04-29 17:23:35 749

原创 SVN - 常用命令

1.使用svn up 可以更新文件,可以查看到更新后的版本号,每一次svn up,如果有文件更新就会生成一次新的版本号使用svn log 查看所有的版本号使用svn log -r 300 查看某一个版本号的信息,可以查看更新的账户,时间r460 | terry | 2014-04-09 09:41:03 +0800 (Wed, 09 Apr 2014) | 1 line使用

2014-04-27 13:33:46 845

转载 点击不在这个区域部分,div消失,jquery代码 - hiding an element on click of anything else on the page

$(document).click(function(e) { var target = e.target; if (!$(target).is('#menu') && !$(target).parents().is('#menu')) { $('#menu').hide(); }});

2014-04-26 15:02:59 627

原创 Mongodb

1http://wulijun.github.io/2012/12/10/mongodb-php-driver-connectiong-handling.html2http://rockmongo.com/wiki/configuration?lang=zh_cn

2014-04-25 15:17:57 606

原创 shell命令刷新indexer

转子:http://www.propellermind.com/magento-tips/magento-re-index-data-with-command-shell/Magento uses a lot of resources to re-index data from the Admin Panel. A good way to re-index data without usi

2014-04-25 10:09:23 1030

转载 CentOS-6.3安装使用MongoDB

安装说明系统环境:Centos-6.3安装软件:mongodb-linux-x86_64-2.2.2.tgz下载地址:http://www.mongodb.org/downloads安装机器:192.168.15.237上传位置:/usr/local/软件安装位置:/usr/local/mongodb数据存放位置:/var/mongodb/data日志存放位置:/v

2014-04-23 11:49:58 616

转载 linux 下编译安装php mongodb扩展

因此以下相应的路径需改变。服务器环境Cent OS 5.6 32位, php版本 5.2.17编译安装,安装路径/usr/local/php 首先下载最新的php mongodb扩展源码,源码可以在http://pecl.php.net/package/mongo下载到 wget http://pecl.php.net/get/mongo-1.2.0.tgz tar z

2014-04-23 11:48:40 607

原创 varnish 重新加载配置文件 不重启

varnishadmvcl.load reload01 /etc/varnish/include/header.vclvcl.use reload01

2014-04-22 19:08:55 1955

原创 root账号远程不能登录的解决方式

vim /etc/ssh/sshd_config#PermitRootLogin yes 去掉#service sshd restart

2014-04-22 09:30:22 1563

原创 varnish - Nexcessnet_Turpentine

1./usr/local/varnish/sbin/varnishd -p cli_buffer=16384 -p esi_syntax=0x2 -f /usr/local/varnish/etc/varnish/default.vcl -s file, ,256M -T 127.0.0.1:6082 -a :80pkill varnishd2/app/code

2014-04-21 15:09:12 824

原创 动态内容的缓存技术 CSI,SSI,ESI

CDN 中动态内容是不太好解决的,通常需要很麻烦的技术和方法来实现这些功能,比如我设计过一种动态缓存的方法,基于 session 栏接,然后根据热点来做动态缓存时间的控制.目前开放的实现 Cache 的技术主要有 CSI,SSI,ESI 之类几种.在一个动态网页中,内容不断更新和变化,但这并不意味不能缓存,其实还是有 90% 的内容都可以做到 CDN  中的.只要花点心思.但这些都对客户有更加高的

2014-04-18 17:42:55 733

原创 magento 更新 custom option 的data数据

private function getIdByOptionValue($size_array,$value){ foreach($size_array as $k=>$v){ if($value == $v){ return $k; } } return false; } public function getOptionData($product,$si

2014-04-07 17:43:40 1107

原创 magento 分类指定id插入,id存在更新 - create category by category id

private function updateCategory($category_array){ Mage::register('isSecureArea', 1); foreach($category_array as $category){ $id = $category->id; $parent_id = $category->parent_id; $name =

2014-04-03 14:26:17 906

转载 新建一个分类的api ,Create new magento Rest api to get category list in magento

First create basic module using http://www.silksoftware.com/magento-module-creator/ this and then you have to create following file and add this file in given path.Module path = app/code/local/R

2014-04-02 17:07:31 1054

原创 magento rest api 调用

/*** magento Api 身份验证 调用示例* Example of simple product POST using Admin account via Magento REST API. OAuth authorization is used*/$callbackUrl = "http://127.0.0.1/oauth_admin.php";// 回调页面 $tempor

2014-04-02 11:33:57 1415

magento -redis 插件安装包

magento -redis 安装包

2014-10-20

redis magento

redis magento

2014-07-30

nagios下载的文件安装包

nagios下载的文件安装包

2014-07-21

nagios下载包

nagios下载包

2014-07-21

客客英文语言包

客客英文语言包

2014-07-01

magento footer no cache,不缓存页面底部footer部分

magento footer no cache,不缓存页面底部footer部分

2014-03-25

varnish已经修补1.8bug

varnish已经修补1.8bug

2014-02-28

magento环境检测

magento环境检测

2014-02-28

nginx和php和varnish配置

nginx和php和varnish配置

2014-02-28

php版本为:559

php-5-5-9  php版本为:559

2014-02-28

libmcrypt-2.5.7.tar.gz

libmcrypt-2.5.7.tar.gz

2014-02-28

mysql资源5-6

mysql-5.6.14.tar

2014-02-28

varnish-magento

varnish-magento

2014-02-28

linux-varnish配置

linux-varnish配置

2014-02-27

nginx_php_magento配置文件

nginx_php_magento配置文件

2014-02-27

nginx配置文件-magent

nginx配置文件-magent

2014-02-26

gvim资源,windows

gvim资源,windows

2014-01-11

ASchroder_SMTPPro

ASchroder_SMTPPro

2013-12-28

magento+redis下载

magento+redis的下载文件,magento+redis的下载文件

2013-12-27

bacula的配置文件

bacula的配置文件

2013-12-18

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除