码迷,mamicode.com
首页 >  
搜索关键字:init    ( 26732个结果
UILocalNotification本地通知
// 执行通知一定要退出应用或挂起应用(进入后台)才能收到通知。// 创建本地通知UILocalNotification *notification = [[UILocalNotification alloc] init];// 通知触发时间// 5秒钟之后触发notification.fireDa...
分类:其他好文   时间:2014-06-29 00:11:49    阅读次数:164
netlink error: too many arguments to function 'netlink_kernel_create'
2.6版本的 netlink_kernel_create(&init_net, NETLINK_TEST, 0, NULL,kernel_receive,THIS_MODULE); 3.8后版本 netlink_kernel_create(&init_net, NETLINK_TEST, &cfg....
分类:Web程序   时间:2014-06-20 23:03:40    阅读次数:1280
oracle服务开机自启动
1、修改oracle系统配置文件::/etc/oratabvi/etc/orataborcl:/opt/oracle/product/10.2.0/db_1:Y2、在 /etc/init.d/ 下创建文件oracle启动脚本,内容如下:#!/bin/sh# chkconfig: 35 80 10# ...
分类:数据库   时间:2014-06-20 20:21:15    阅读次数:251
监听网络
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions{ self.window = [[[UIWindow alloc] init...
分类:其他好文   时间:2014-06-20 18:23:14    阅读次数:160
C#:设置焦点在最小的TabIndex控件上
private void FocusFirstTabIndex(Control container){ // init search result varialble Control searchResult = null; // find the control with the...
分类:其他好文   时间:2014-06-20 17:43:54    阅读次数:178
Linux与Windows API对比
对象操作Linux APIWindows API线程创建pthread_create()CreateThread()退出pthread_exit()ThreadExit()等待pthread_join()WaitForSingleObject()互斥锁创建pthread_mutex_init()Cr...
分类:Windows程序   时间:2014-06-20 17:23:05    阅读次数:1095
获取web项目中的webroot目录路径
备忘,一段代码:@Override public void init(FilterConfig arg0) throws ServletException { // TODO Auto-generated method stub logger.info("=====...
分类:Web程序   时间:2014-06-18 09:14:10    阅读次数:233
ARM体系结构与编程-5
GET通常用于包含定义常量的源文件。 例如:GET 2440addr.inc 用AREA定义一个段,ENTRY用于指定程序的入口点,END用于告诉汇编器源文件已经结束。 例如: AREA init, CODE, READONLY ENTRY ...... END EQU用于定义常量,提醒:在每条ARM指令前必须有空格,但是用EQU定义常量时,必须顶格写,否则编译器报错。 LT...
分类:其他好文   时间:2014-06-18 06:12:59    阅读次数:244
php内核为变量的值分配内存的几个宏
在php5.3之前,为某变量分配内存是用宏MAKE_STD_ZVAL;737 #define MAKE_STD_ZVAL(zv) \ # /Zend/zend.h738 ALLOC_ZVAL(zv); \739 INIT_PZVAL(zv);165 #define ALLOC_Z...
分类:Web程序   时间:2014-06-17 23:58:43    阅读次数:451
ios图片拉伸
button.png,尺寸为:24x60现在我们把它用作为按钮背景,按钮尺寸是150x50:// 得到view的尺寸CGSize viewSize = self.view.bounds.size;// 初始化按钮UIButton *button = [[UIButton alloc] init];/...
分类:移动开发   时间:2014-06-17 23:34:41    阅读次数:337
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!