码迷,mamicode.com
首页 >  
搜索关键字:release board    ( 13112个结果
iOS 使用封装的NSLog来打印调试信息
//DLog代替NSLog//debugMethod() 代替 NSLog(@"%s", __func__)//DLog在release下不会输出#ifdef DEBUG# define DLog(fmt, ...) NSLog((@"[文件名:%s]\n" "[函数名:%s]\n" "[行号:%d...
分类:移动开发   时间:2014-09-12 14:52:03    阅读次数:194
谨防数组越界!
今天第一次对数组越界问题有了深切的感受,数组越界如果在Release版本中运行也不会报错,如果是Debug版本的话,若直接通过常量数值引用数组下标会被检测到数组越界,若通过变量引用数组下标也是不会被检测到的!!!测试下面的代码, 1 #include 2 3 int main(void) 4 {.....
分类:其他好文   时间:2014-09-11 22:11:12    阅读次数:165
redhat识别ntfs的u盘
redhat识别ntfs的u盘需要ntfs-3g:需要epel源(或者自己查找源码编译安装)wgethttp://dl.fedoraproject.org/pub/epel/beta/7/x86_64/epel-release-7-1.noarch.rpmyuminstallepel-release-7-1.noarch.rpmyumrepolistyuminstallntfs-3g先用lsblk查看自己的u盘在哪个分区mkdir/mnt..
分类:其他好文   时间:2014-09-11 17:29:42    阅读次数:237
Your build host version of Xamarin.IOS (release NO.)is too recent to work with the IOS designer
Encounted such error in VS after I update the xamarin at Mac side.Here is the solution for u to reference: Open VS ->Tools->Options->Xamarin->IOS Sett...
分类:移动开发   时间:2014-09-11 15:08:52    阅读次数:320
Leetcode: N-Queens II
Follow up for N-Queens problem.Now, instead outputting board configurations, return the total number of distinct solutions.跟N-Queen的考虑方式完全一样,NP问题,用循环递...
分类:其他好文   时间:2014-09-11 13:46:11    阅读次数:176
包管理器之RPM
1.rpm包的命名规则:name-version-release.arch.rpmversion的命名规则:major.minor.releaserelease的命名规则:通常包含rpm的制作发行号,以及使用的OS。例:bash-4.3.2-2.el6.x86_64.rpmOS平台举例:el6:redhatenterpriselinux6el5:redhatenterpriselinux5CentOS6CentOS5SU..
分类:其他好文   时间:2014-09-11 11:24:26    阅读次数:378
python多进程,进程迭代创建,造成电脑死机的问题解决
import osimport threadingimport multiprocessing# worker functiondef worker(sign, lock): lock.acquire() print(sign, os.getpid()) lock.release(...
分类:编程语言   时间:2014-09-10 15:47:10    阅读次数:258
一个数据库创建多个实例
一个数据库创建多个实例1.先要关闭数据库(进程和内存关闭)[oracle@oracle_2 ~]$ sqlplus / as sysdbaSQL*Plus: Release 10.2.0.1.0 - Production on TueNov 12 20:34:53 2013Copyright (c)...
分类:数据库   时间:2014-09-10 15:36:20    阅读次数:381
Linux CentOS 6.5服务器上安装pip,requests库
今天在服务器上部署Python程序,发现服务器上缺Requests库,于是设法装上,CentOS版本怎么安装Python的pip,我之前给出的Ubuntu下apt-get的方法 首先看下服务器系统版本 # cat /etc/issue CentOS release 6.5 (Final) Kernel \r on an \m 首先需要先安装下pip yum install py...
分类:系统相关   时间:2014-09-10 10:50:50    阅读次数:351
Leetcode dfs N-Queens II
N-Queens II  Total Accepted: 12668 Total Submissions: 38109My Submissions Follow up for N-Queens problem. Now, instead outputting board configurations, return the total number of distinct...
分类:其他好文   时间:2014-09-10 09:38:20    阅读次数:218
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!