自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(12)
  • 收藏
  • 关注

原创 mysql 创建 table 时 不要加 单引号

  create table book( id int(11) not null auto_increment, num int(11) default null, name varchar(11) default null, primary key (id), key asd (num) )engine=innoDB default charset=gbk;

2014-05-02 09:23:04 2276

原创 mysql

(1) 服务器的 IP (192.168.1.248) (2) 包 (MySQL-server-5.6.17-1.el6.x86_64.rpm) (MySQL-client-5.6.17-1.el6.x86_64.rpm) (MySQL-shared-compat-5.6.17-1.el6.x86_64.rpm) (3) 以 root 登入 (4) rpm -i MySQL-shared-...

2014-04-24 19:29:05 88

原创 c 常用头文件的作用

1、 Linux中一些头文件的作用:<assert.h>:ANSI C。提供断言,assert(表达式)<glib.h>:GCC。GTK,GNOME的基础库,提供很多有用的函数,如有数据结构操作函数。使用glib只需要包含<glib.h><dirent.h>:GCC。文件夹操作函数。struct dirent,struct DIR,opendir(...

2014-03-27 14:06:33 136

原创 linux

crontab -e crontab -l crontab -r scp souce destination

2014-03-25 13:26:37 85

原创 Pointer in Object-c

Get Rules :        By simply returning an object you are returning a weak reference to it; In other words, the pointer value is copied to the receiver's variable but the reference count is unchanged...

2013-12-18 21:50:12 115

原创 int NSInteger NSNumber

look down    #if __LP64__ || (TARGET_OS_EMBEDDED && !TARGET_OS_IPHONE) || TARGET_OS_WIN32 || NS_BUILD_32_LIKE_64typedef long NSInteger;typedef unsigned long NSUInteger;#elsetypedef int NSIn...

2013-12-13 10:45:26 97

原创 ios nil Nil Null

i am newbie to iphone,here the difference between nil, Nil, Null; nil -> Null-pointer to objective-c object Nil -> Null-pointer to objective-c class Null - > null pointer to primitive typ...

2013-12-12 14:18:47 82

原创 Duplicate symbol issues xx.o

what hell ! 今天碰到了  Duplicate symbol issues   xx.o  的问题(xx.o文件是c语言的目标文件),指的是:xx.m的文件被两次导入,生成2个目标文件! 顺便复习下{ xx.c   : c语言源文件 xx.i    : 预处理的c文件 xx.s   : 生成的汇编文件 xx.o   : 目标文件 }   ...

2013-12-11 14:49:25 193

原创 c 语言知识点

 const : 只读常量; #include <> :  引用标准头文件,编译器从标准库目录开始搜索; #include ""  :   引用非标准头文件,编译器从用户工作目录开始搜索; ...

2013-12-04 13:25:21 125

原创 Introduction to Attributed String Programming Guide - Accessing Attributes

访问属性     一个 attributed string 识别属性 by 名字, 在一个Map(which 是 依次和一个 NSRange[它显示 characters {字符- >那个map请求的字符}] 有关)中在对应的属性名下存储值.除了标准的属性外,你能分配一个范围的字符串给任何属性名-值对。 取回/检索属性值        拥有一个非可变的 attributed str...

2013-11-28 22:39:07 92

原创 ios对象初始化

ios对象初始化常见方法:  viewWillAppear, viewDidAppear, ........其实这些方法是在视图展现或隐藏的时候才会被called,我们平时用storyboard时,页面元素的初次加载是在“awakeFromNib”时instantiated的;而在animated  transistions 过程中 ,“viewWillAppear, viewDidApp...

2013-11-27 21:56:12 83

mysql

mysql 权限 : (1) grant all *.* on 'root'@'%';  // 将本数据库的所有表的所有权限给任意机器上的root用户   > grant all *.* on 'xjk'@'192.168.1.111'; // 将本数据库的所有表的所有权限给 192.168.1.111 机器上的root用户   > flush privileges;     ...

2013-11-24 09:29:47 70

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除