生成类为了创建一个新命令,你可以使用Artisan中的command:make命令生成一个骨架作为你的起点:生成一个命令类php artisan command:make FooCommand默认情况下,生成的类文件被存放在app/commands目录下,同时你也可以指定自定义目录和命名空间:php...
分类:
其他好文 时间:
2014-12-29 13:46:48
阅读次数:
167
Couchbase IV(管理与维护)管理常用命令Command Descriptionserver-list List all servers in a clusterserver-info Show details ...
分类:
其他好文 时间:
2014-12-29 13:44:18
阅读次数:
257
一,总体概要1,笔者浅谈日常生活中,我们在看电视的时候,通过遥控器选择我们喜欢的频道时,此时我们就是客户端的角色,遥控器的按钮相当于客户请求,而具体执行的对象就是命令对象,命令模式把一个请求或者操作封装到一个对象中。命令模式允许系统使用不同的请求把客户端参数化,对请求排队或者记录请求日志,可以提供命...
分类:
Web程序 时间:
2014-12-29 11:37:43
阅读次数:
199
由于是随意的知识点,不根据某个方面来写。
1.关于Xcode6模拟器键盘不弹出 -> Command + Shift + K
2.关于调用剪切板复制字符串
+ (void)copyTextWithStr:(NSString *)str {
UIPasteboard *pasteboard = [UIPasteboard generalPasteboard];
// 复...
分类:
移动开发 时间:
2014-12-29 09:08:56
阅读次数:
171
1 krunner
一般情况,这个东西可以呼唤出来,如果吧焦点设置在桌面上,但是当我们的焦点在其他应用中,敲击键盘上的字符就千呼万唤不出来了。一直都不知道怎么吧这个东西找出来,今天终于找到了解决方案。这个东西较 krunner。http://en.wikipedia.org/wiki/Run_command 既然找到了,我们把它加到系统的快捷键中。在
trigger 中添加对应的快捷...
分类:
系统相关 时间:
2014-12-28 18:18:03
阅读次数:
200
今天出现这个问题No architectures to compile for (ONLY_ACTIVE_ARCH=YES, active arch=arm64, VALID_ARCHS=armv7 armv7s).解决参考:http://stackoverflow.com/questions/12...
分类:
移动开发 时间:
2014-12-28 16:49:52
阅读次数:
254
How do I list all tables/indices contained in an SQLite databaseIf you are running the sqlite3 command-line access program you can type ".tables" to g...
分类:
数据库 时间:
2014-12-28 14:08:35
阅读次数:
260
Command A through Ddebug aaa accounting through debug auto-configdebug aaa accounting : to display information on accountable events as they occur(in ...
分类:
移动开发 时间:
2014-12-28 14:06:20
阅读次数:
255
1.node command example> var _redis = require("redis")undefined> var redis = _redis.createClient({auth_pass :"123456"}); //auth to redis with password ...
分类:
Web程序 时间:
2014-12-28 12:51:30
阅读次数:
138
HTML5不允许写结束标记的元素
1、area
2、base
3、br
4、col
5、command
6、embed
7、img
8、hr
9、keygen
10、link
11、meta
12、param
13、source
14、track
15、in...
分类:
Web程序 时间:
2014-12-27 21:48:28
阅读次数:
871