摘要:
service发送通知,收到通知后在通知栏点击打开app。 点击通知后通知消失: Notification.Builder.setAutoCancel(true); app打开时点击通知出现重复的Acitivity,修改启动模式: http://wangkuiwu.github.io/2014/06 阅读全文
摘要:
获取项目中用的所有接口地址,然后排序、去重。 1, 接口地址分散在所有头文件或实现文件中,用grep命令在目录下进行遍历,指定文件类型为.h或.m: grep --include=\*.{m,h} -r '/rest[^"]*' ./directory; 2, 去掉文件路径名加-h可选项; 3, 去 阅读全文
摘要:
添加ShoppingcartServiceProvider报500错误时修改工程文件根目录权限 Debug Configuration添加PHP Web ApplicationUse path mapping 把工程目录与服务器目录对应起来 阅读全文
摘要:
You will have problem displaying the welcome page due to folder permission of 'storage' folder. Go to your "larashop" directory and give 777 permissio 阅读全文
摘要:
Laravel migrations provide mechanisms for creating and modifying database tables. Migrations are database agnostic. This means you do not have to worr 阅读全文
摘要:
S/N DIRECTORY DESCRIPTION1 /app contains all of your application code2 /app/Console contains all of your artisan commands3 /app/Events contains event 阅读全文
摘要:
name: The name of the package. It consists of vendor name and project name, separated by / description: A short description of the package. Usually th 阅读全文
摘要:
Responding to Being Loaded from a Nib File 在实例化过程中,归档中的每个对象都被解归档然后依据对象的类型初始化。遵守NSCoding协议的对象(包括所有UIView和 UIViewController的子类)用initWithCoder:方法初始化。所有不遵 阅读全文
摘要:
参考: http://stackoverflow.com/questions/1260748/how-do-i-remove-a-submodule 1. Delete the relevant section from the .gitmodules file.2. Stage the .gitm 阅读全文
摘要:
原文: http://www.centoscn.com/CentOS/Intermediate/2015/0330/5056.html1、执行:ls /proc/命令,一般Xen的VPS,/proc目录下面会有xen的目录,openvz的会有vz目录。2、执行:free -m命令看内存,openvz 阅读全文