码迷,mamicode.com
首页 >  
搜索关键字:end    ( 30778个结果
cnapckSurround c++builder Region 代码折叠快捷键
cnapckSurround c++builder Region 代码折叠快捷键,可以导入导出 Region 32850 1 0 #pragma region 1 0 #pragma end_region 1 0
分类:编程语言   时间:2014-09-22 13:20:02    阅读次数:270
linux常用命令
统计各目录inode占用数目 find */ -exec stat -c "%n %i" {} \;|awk -F "[/ ]" '{if(! a[$1-$NF]++) l[$1]++}END{for (i in l) print i,l[i]}'
分类:系统相关   时间:2014-09-22 11:33:22    阅读次数:236
oc比较杂的知识点
1.定义类的属性时,不能够初始化成员变量2.不能够嵌套定义类3.oc中的方法和c语言中函数的区别a.方法的实现只能写在@implementation和@end中b.对象方法都是以“-”开头c.对象方法的声明只能写在@interface和@end之间,函数写在任何位置d.对象方法只能由对象调用,不能像...
分类:其他好文   时间:2014-09-21 23:00:21    阅读次数:177
ActiveRecord::ConnectionAdapters::TableDefinition | column相关方法学习笔记
TableDefinition 的对象,就是我们在写 migrate 的时候使用的对象 t如下class SomeMigration "ActiveRecord::ConnectionAdapters::TableDefinition" end end def down ... ...
分类:其他好文   时间:2014-09-21 20:22:51    阅读次数:198
FormCreate & FormActivate & FormShow执行顺序演示
procedure TForm1.FormCreate(Sender: TObject);begin form1.Caption:=form1.Caption +'+Create';end;procedure TForm1.FormActivate(Sender: TObject);begin fo...
分类:其他好文   时间:2014-09-21 18:49:11    阅读次数:172
编写 migration 基础
创建 migration 需要继承自 ActiveRecord::Migration 类,常见如下:class SomeMigration < ActiveRecord::Migration def up end def down endendclass SomeMigration < ...
分类:其他好文   时间:2014-09-21 16:58:51    阅读次数:211
iOS 如何创建单例
// YOURCLASSNAME.h @interface YOURCLASSNAME : NSObject +(instancetype) sharedInstance; @end // YOURCLASSNAME.m @implementation YOURCLASSNAME + (instancetype)sharedXXX { static YOURCLASSN...
分类:移动开发   时间:2014-09-20 17:39:49    阅读次数:229
ios 自定义tabbar
.h文件:#import @interface YLYTabBar : UIView@end.m文件#import "YLYTabBar.h"@implementation YLYTabBar- (id)initWithFrame:(CGRect)frame{ self = [super in...
分类:移动开发   时间:2014-09-20 14:56:58    阅读次数:230
PHP生成word的方法(解决乱码问题)
';}function save($path){ echo "";$data = ob_get_contents();ob_end_clean(); $this->wirtefile ($path,$data);} function wirtefile ($fn,$data){$fp=fopen($...
分类:Web程序   时间:2014-09-20 14:03:37    阅读次数:267
LeetCode笔记
Remove Nth Node From End of ListGiven a linked list, remove the nth node from the end of list and return its head.For example, Given linked list: 1-.....
分类:其他好文   时间:2014-09-19 22:26:26    阅读次数:216
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!