`
xjk112
  • 浏览: 9478 次
  • 性别: Icon_minigender_2
  • 来自: 上海
社区版块
存档分类
最新评论
文章列表
  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;

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-compat-5.6.17-1.el6.x86_64.rpm (5) rpm -ivh MySQL-server-5.6.17-1.el6.x86_64.rpm (6) rpm -ivh MySQL ...
1、 Linux中一些头文件的作用:<assert.h>:ANSI C。提供断言,assert(表达式)<glib.h>:GCC。GTK,GNOME的基础库,提供很多有用的函数,如有数据结构操作函数。使用glib只需要包含<glib.h><dirent.h>:GCC。文件夹操作函数。 ...

linux

crontab -e crontab -l crontab -r scp souce destination
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. The same thing happens when an element from a collection is returned;

int NSInteger NSNumber

    博客分类:
  • ios
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 NSInteger;typedef unsigned int NSUInteger;#endif   you usually want to use NSInteger when you don't kon ...

ios nil Nil Null

    博客分类:
  • ios
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 type or absence of data;(null 指针 ->一个原始的类型或缺失的对象) here is details; Follow me:                   ni ...
what hell ! 今天碰到了  Duplicate symbol issues   xx.o  的问题(xx.o文件是c语言的目标文件),指的是:xx.m的文件被两次导入,生成2个目标文件! 顺便复习下{ xx.c   : c语言源文件 xx.i    : 预处理的c文件 xx.s   : 生成的汇编文件 xx.o   : 目标文件 }  

c 语言知识点

 const : 只读常量; #include <> :  引用标准头文件,编译器从标准库目录开始搜索; #include ""  :   引用非标准头文件,编译器从用户工作目录开始搜索;
访问属性     一个 attributed string 识别属性 by 名字, 在一个Map(which 是 依次和一个 NSRange[它显示 characters {字符- >那个map请求的字符}] 有关)中在对应的属性名下存储值.除了标准的属性外,你能分配一个范围的字符串给任何属性名-值对。 取回/检索属性值        拥有一个非可变的 attributed string,在创造它的时候,你分配所有的属性.In Java,你用构造函数,In OC, 你用 比如"initWithString:attributes"(which 采用NSDict ...
ios对象初始化常见方法:  viewWillAppear, viewDidAppear, ........其实这些方法是在视图展现或隐藏的时候才会被called,我们平时用storyboard时,页面元素的初次加载是在“awakeFromNib”时instantiated的;而在animated  transistions 过程中 ,“viewWillAppear, viewDidAppear”这些方法是被called 多次的,所以呢!。。。。。      

mysql

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