Skip to content

Instantly share code, notes, and snippets.

View foxzool's full-sized avatar

ZoOL foxzool

View GitHub Profile
@foxzool
foxzool / zh-CN.yml
Created December 5, 2010 05:29
typus zh-CN i18n
# zh-CN translations for Typus (template)
# by ZoOL <http://github.com/zhooul>
zh-CN:
"A valid token is required": "需要验证令牌"
"Actions": "动作"
"Active": "已激活"
"Add": "新增"
"Add %{resource}": "新增 %{resource}"
"Add new": "新增"
@foxzool
foxzool / gist:728752
Created December 5, 2010 03:50
my nginx configure of worldpress
location ~/(.*)/wp-admin/$ {
index index.php;
rewrite ^/(.*)/wp-admin/$ /wp-admin/ break;
}
location ~ /(.*)/wp-([a-zA-Z])*\.php {
index index.php;
rewrite ^/(.*)/(.*\.php) /$2 last;
}
location ~ /(.*)/(wp-(?:admin|content|includes).*\.php) {
root /var/www/html/wordpress/;