- 博客(16)
- 资源 (20)
- 收藏
- 关注
原创 Grant的时候报错的解决:Access denied for user 'root'@'localhost' (using password: YES)
mysql> grant all on *.* to 'root'@'192.168.1.1' identified by 'password';ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)。确认方式(查看是否有grant all 没
2014-06-30 16:41:20 3276
原创 linux php 监控软件转载
1PHP性能监控软件XHProf的安装和使用(原创)http://blog.csdn.net/cyberexp2008/article/details/67423632
2014-06-26 08:53:17 883
原创 mysql 添加远程访问用户
insert into mysql.user(Host,User,Password) values('10.12.167.132','paptest',password('123456'));flush privileges;grant all privileges on pap.* to paptest@10.12.167.132 identified by '123456';fl
2014-06-24 10:10:37 601
转载 js 更改url的方法
用js更改url的方法如下: HTML5无刷修改url - 琼台博客 function changeURL(){ var url = document.getElementById('url').value; window.history.pu
2014-06-20 14:19:22 3518
原创 varnish config example
header.vcl:backend default { .host = "127.0.0.1"; .port = "6081"; .connect_timeout = 6000s; .first_byte_timeout = 6000s; .between_bytes_timeout = 6000s;}#acl purge {# "10.12.167.130"
2014-06-20 11:27:21 693
转载 正则表达式30分钟入门教程
正则表达式30分钟入门教程版本:v2.33 (2013-1-10) 作者:deerchao 转载请注明来源目录跳过目录本文目标如何使用本教程正则表达式到底是什么东西?入门测试正则表达式元字符字符转义重复字符类分枝条件反义分组后向引用零宽断言负向零宽断言注释贪婪与懒惰处理选项平衡组/递归匹配还有些什么东西没提到联系作者网上的资源及本文参考文献更新纪录本文目标
2014-06-20 11:25:31 566
原创 Magento 对csv表格的导入功能 高级自定义部分!
magento自己带有导入导出功能后台system-->import/export-->Advanced Profiles进入后点击add new profiles就可以新建一个规则了Profile Name *是名字Actions XML *是对应的参数譬如例子: file var/import
2014-06-17 16:21:56 1963
原创 magento 让collection的排序方式按照ID数组的顺序排序
$ids = array(16,18,17,19); $products = Mage::getModel('catalog/product')->getCollection() ->addAttributeToSelect('*') ->addAttributeToFilter('entity_id',$ids);
2014-06-07 08:47:28 1362
原创 piwik资料
数据库操作部分:http://developer.piwik.org/guides/persistence-and-the-mysql-backend#augmenting-existing-tables
2014-06-05 20:02:43 816
转载 25款 jQuery图表开源软件
转载地址:http://www.oschina.net/project/tag/275/jquery-chartQuery图表插件 jQchartjQchart 是一个jQuery的插件,用来绘制图表的。支持各种形状的图表。 示例代码: == Mini sample == $('#canvasMyID').jQchart('./data0.txt'); == F
2014-06-05 17:05:42 3700
转载 Piwik收集IP信息的二次开发
1,在应用技术方面:分析技术主要有:HTTP协议头信息技术,第一方COOKIE,第三方COOKIE,P3P协议COOKIE,LSO技术以及Web Beacons和javascript技术。2,系统核心工作流程: 1,访问者通过浏览器向用户服务器发送请求。 2,门户服务器响应请求,返回预先设置了Piwik的跟踪代码页面, 3,客户端浏览器执行TAG标记,向Piwik
2014-06-05 16:15:21 2275
原创 安装piwik报错: you may enable query buffering by setting the PDO::MYSQL_ATTR_USE_BUFFERED_QUERY attribut
将文件:/core/Db/Adapter/Pdo/Mysql.php
2014-06-04 00:21:05 3060
原创 varnish 架构网站中addthis中加入动态链接 参数:aid
1. s_aid = info.get("_aid"); s_facebookurl = jQuery('meta[name=facebooknamesp]').attr('content'); jQuery('meta[name=facebooknamesp]').attr('content',s_facebookurl+"?aid="+s_aid);
2014-06-03 19:36:27 1390
原创 magento shell 脚本 通过api获取paypal的订单状态,同步到magento网站的订单,自动纠正不准确的订单状态
<?php/** * Magento * * NOTICE OF LICENSE * * This source file is subject to the Open Software License (OSL 3.0) * that is bundled with this package in the file LICENSE.txt. * It is also availa
2014-06-03 16:27:47 1240
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人