Year: 2016

Linux

php storm add auto comments

最后在帮助文档中找到的: http://www.jetbrains.com/phpstorm/help/creating-php-documentation-comments.html#d745077e199 英文烂的一塌糊涂,反正最后方法如下。 方法:setting-》FIle and Code Template-》Includes->PHP Function Doc Comment,然后在这里面设置就ok了,但是时间这些动态生成的,没有找到怎么弄,不支持像文件头里面的${DATE},如果有谁知道了,麻烦告知下。 在方法中引入,直接/**+enter键

magento

Add Admin menu not sucess issue

Add menu in config.xml but not display in admin menu problem in <adminhtml> <menu> <webfitter_cexport> <title>Custom Export</title> <sort_order>15</sort_order> <children> <export> <title>Export Product</title> <sort_order>1</sort_order> <action>CexportAdmin/export/index</action> </export> </children> </webfitter_cexport> </menu> </adminhtml> ==> you must define <menu> <webfitter_cexport> not !!!!!=> <menu> <admin> <children>...

Linux, web technologie

vbox resize the disk

VBoxManage clonehd "/Users/xiaomingwang/Documents/tmp/box-disk1.vmdk" "/Users/xiaomingwang/Documents/tmp/box-disk1.vdi" --format vdi vboxmanage modifyhd /Users/xiaomingwang/Documents/tmp/box-disk1.vdi --resize 51200 VBoxManage clonehd "/Users/xiaomingwang/Documents/tmp/box-disk1.vdi" "/Users/xiaomingwang/Documents/tmp/box-disk1.vmdk" --format vmdk