Welcome to


Posts By: hedzr

git 删除一个远程标签

我们可能会遇到这样的情况,一个标签已经在远程仓库存在了,然而在本地我们必须将这个标签移动到另一个新提交上面,但当我们这样做了之后,移动过的标签却无法被推到远程仓库了。 > 0 (devel u=) $ git push –tags To git@git.github.com:hedzr/devops-op-knife.git ! [rejected] release/v0.5.11 -> release/v0.5.11 (already exists) error: failed to push some refs to ‘git@hedzr.git.22os.com:hedzr/devops-op-knife.git’ hint: Updates were rejected because the tag already exists in the remote. 这时,我们需要首先删除那个远程标签,然后重新推送一次就可以了。 要删除一个远程标签,可以执行命令: […]

Read More


问题现象是,使用nginx作为前端,php-fpm或者apache2后端,开首页收到“Redirection loop”错误,但后台登录正常的问题。这个问题相当典型,答案很多,可以乱搜,但基本上靠谱的方案就是一个:“remove_filter(‘template_redirect’, ‘redirect_canonical’);”。 这里着重要记录的,不是方案本身,只是提供一个脚本,目的在于一次性地修正wp-contents/themes/下的全部主题的functions.php,只要在安装了、更新了主题之后在ssh bash环境中执行一遍该脚本,就会一次性地解决全部问题。 脚本如下:

Read More



Read More

MEAN.io vs MEAN.JS – A Comparison

http://www.creativeworkline.com/2014/05/meanio-vs-meanjs-comparison/ Original Posted Mai 28th, 2014 in Blog by creative workline  o The MEAN Stack For those of you who don’t know what MEAN is exactly, I will try to make it fast and simple. The initials of the word MEAN are […]

Read More

Hello world!

Welcome to WordPress. This is your first post. Edit or delete it, then start blogging!

Read More