原创 svn server You don't have permission to access /repos/ on this server.

按照http://wiki.centos.org/HowTos/Subversion配置好svn,如果出現You don't have permission to access /repos/ on this server. 可能是SVN

原创 Memcache 相關

1. 清除 Memcache 緩存:  echo "flush_all" | nc localhost 11211

原创 Mahout 安裝配置

環境:CentOS6.4 依賴: JDK1.6 or later, Maven3 用戶權限:root 1. 安裝Maven3 cd /usr/local/src sudo wget http://apache.etoak.com//

原创 Linux 常用命令

CentOS 掛載 windows 共享目錄 mount -t cifs  //192.168.0.109/www /mnt/www -o username=renk,file_mode=0777,dir_mode=0777 apache

原创 在Drupal7 上配置Apache Solr

環境 OS: Centos6.4 Drupal: 7.x 安裝Drupal模塊Apache Solr 1.下載地址: https://drupal.org/project/ApacheSolr 2. 解壓到 sites/all/mod

原创 Drupal7 相關資料

Drupal7 存儲過程 http://public-action.org/content/stored-procedures-and-drupal-7 Drupal7 字段類型 https://drupal.org/node/1596

原创 git 命令筆記

1. 導出所有的修改的文件 git diff-tree -r --no-commit-id --name-only --diff-filter=ACMRT $start_commit_id $end_commit_id | xargs

原创 Drush 命令

Drush 安裝Drupal 在根目錄下執行 $ drush dl drupal --package-handler=git_drupalorg $ mv drupal-7.22 d7dev $ cd d7dev $ drus

原创 Mysql 常用命令

查找數據庫中最大的表 SELECT table_schema AS `Database`, table_name AS `Table`, ROUND(((data_length + index_length) / 1024 / 1024)

原创 Google Map 相關

拖動地圖時 marker 不變 http://universimmedia.pagesperso-orange.fr/geo/loc.htm

原创 Mangeto 安裝問題

安裝完畢後pub/static下面缺失資源文件? php bin/magento setup:static-content:deploy 打開錯誤提示 在pub/errors/, 下面,重命名 local.xml.sample 爲

原创 Drupal 變量集合

獲取當前語言: PHP: locale_language_list('name'); JavaScript: $("html").attr("lang");

原创 Google map draw polygon

http://gsak.net/google/polygoneditor.php

原创 Drupal7 truncate/clear all cache

TRUNCATE CACHE; TRUNCATE cache_admin_menu; TRUNCATE cache_block; TRUNCATE cache_bootstrap; TRUNCATE ca

原创 Magento2--創建主題

創建主題目錄 進入<your Magento install dir>/app/design/frontend> 創建一個文件夾,一般爲供應商的名字 /app/design/frontend/<Vendor> 在第2步創建的文件夾下,