#!/usr/bin/env python """Hello, wxPython! program."""import wx class Frame(wx.Frame): """Frame class that displays an image.""" def __init...
分类:
编程语言 时间:
2014-06-28 18:35:24
阅读次数:
829
1. 更新git版本:http://codelife.me/blog/2013/06/25/upgrade-git-on-centos-6-4/2. 建立git仓库:git init --bare myrepo.git # 建立代码仓库chgrp -R git/opt/myrepo.git #...
分类:
其他好文 时间:
2014-06-28 18:16:41
阅读次数:
232
NSDate * date = [NSCalendarDate date]; NSLog(@"%@", date);日历在IOS里报错,,。 NSDateFormatter *formatter = [[NSDateFormatter alloc] init]; [formatter ...
分类:
其他好文 时间:
2014-06-28 16:22:54
阅读次数:
303
Linux提供了对Bluetooth的支持,核心代码位于net/bluetooth 1. 初始化 主要由subsys_initcall调用函数bt_init()来完成 bt_init() -> bt_sysfs_init() -> sock_register(&bt_sock_family_ops)...
分类:
系统相关 时间:
2014-06-28 14:45:11
阅读次数:
561
相信不少人遇到过ORA-02429: cannot drop index used for enforcement of unique /primary key 这个错误,对应的中文提示“ORA-02429: 无法删除用于强制唯一/主键的索引”,其实从错误提示信息已经很明显了。下面还是用一个简单的例...
分类:
其他好文 时间:
2014-06-21 14:04:25
阅读次数:
297
报这个错,只有一个原因,就是转化的类型不对.接口过父类的子类,在强制转换的时候,一定要用接口父类来定义。代码示例:package com.luoluo.dao.impl;import java.sql.Connection;import java.sql.SQLException;import ja...
分类:
编程语言 时间:
2014-06-20 20:58:03
阅读次数:
900
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
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 APIWindows API线程创建pthread_create()CreateThread()退出pthread_exit()ThreadExit()等待pthread_join()WaitForSingleObject()互斥锁创建pthread_mutex_init()Cr...
分类:
Windows程序 时间:
2014-06-20 17:23:05
阅读次数:
1095