原文地址:http://www.bootc.net/archives/2012/05/26/how-to-build-a-cross-compiler-for-your-raspberry-pi/A cross compiler is a compiler that runs on one plat...
分类:
其他好文 时间:
2015-08-18 14:00:14
阅读次数:
150
通过上例看oc创建实例有点麻烦,oc里面可以创建工厂方法可以让这个操作更简单一些(其实就是c#或者java里面的静态方法)。新建一个“Cocoa Touch Class”文件,命名为PeoplePeople.h 写入@interface People : NSObject{ int _age;...
分类:
其他好文 时间:
2015-08-18 14:00:55
阅读次数:
150
1096. Consecutive Factors (20)Among all the factors of a positive integer N, there may exist several consecutive numbers. For example, 630 can be fact...
分类:
其他好文 时间:
2015-08-18 14:01:37
阅读次数:
134
以IE和360浏览器为例,细心的人可能会发现、IE浏览器默认使用的必应搜索引擎(cn.bing.com)而360安全浏览器默认使用的好搜搜索引擎。(haosou.com),对于两种浏览器,我们都可以通过设置将他们的默认的搜索引擎更改为国人用得最多的百度,具体设置过程如下:一、IE浏览器(Intern...
分类:
其他好文 时间:
2015-08-18 13:58:52
阅读次数:
221
1、问题:在下面的根文件夹中的原始源代码编译出现no space left on device利用df -h 命令查看 根文件夹空间占用完成2、将源代码改在其它空间非常足的地方编译在make module_install 还是出现no space left on device可是该文件夹以下的空间非...
分类:
其他好文 时间:
2015-08-18 13:59:12
阅读次数:
109
六章 委托事件1委托是一种数据类型,像类一样//c#中基本的数据类型都可以作为参数进行传递//把方法名作为参数进行传递,称为委托//1public delegate void SayDele();//声明Say()方法的委托类型,使Say()可以作为参数传递 class Program { stat...
分类:
其他好文 时间:
2015-08-18 13:59:06
阅读次数:
256
1、查看分支 git branch master(默认的主分支) 创建分支 git branch new1(分支名) 切换分支 git checkout new1(分支名) 创建分支和切换到新建的分支 git checkout -b new1(分支名) 合并分支 git merge ...
分类:
其他好文 时间:
2015-08-18 13:58:58
阅读次数:
123
嵌入式OS入门注意事项-同RTX案件:九.关于优先-翻转,继承和天花板涉及当调度优先级,会有很多问题,本文中,优先调度和一些战略的主要问题,以应付。有几个概念如下:(priority inversion),优先度继承(priority inheritance)策略和优先度天花板(priority c...
分类:
其他好文 时间:
2015-08-18 13:58:19
阅读次数:
207
#include#include#include#include#include#define RED 1#define BLACK 0using namespace std;struct node{ int color; int key; node* left; node* right; node...
分类:
其他好文 时间:
2015-08-18 13:56:29
阅读次数:
150
informix软件安装完成之后需要做一些相关配置,最主要的配置文件有onconfig,sqlhosts文件。汇总如下1、onconfig文件################################################################### Licensed Ma...
分类:
其他好文 时间:
2015-08-18 13:56:11
阅读次数:
154
一、安装JRebel插件1. 在线安装打开设置File ->setting或者直接点设置的图标进入在线下载并安装2. 破解插件下载破解补丁具体要找到对应版本的,这边用的是6.2的破解版本(但实际安装的是6.2.2,照样可以使用)将破解版里面的jrebel.lic拷贝到C:\当前用户下\.jrebel...
分类:
其他好文 时间:
2015-08-18 13:58:29
阅读次数:
285
题意:求坐标0到x间的点的个数思路:线段树,主要是转化,根据题意的输入顺序,保证了等级的升序,可以直接求出和即当前等级的点的个数,然后在把这个点加入即可。注意:线段树下标从1开始,所以把所有的x加1存储。#include#include#includeusing namespace std;#def...
分类:
其他好文 时间:
2015-08-18 13:55:06
阅读次数:
197
在正式讨论HEVC的技术细节之前,有必要先建立好符合标准的实验平台,这对理解编解码的技术具有很大帮助。最方便,最有效,认可程度也最高的自然是JCT-VC工作组公布的参考代码HM系列了。这里,我们用最新版的参考代码HM10.0为例,详细阐述如何用参考软件成功编码一个视频码流。参考代码的下载请到我的网盘...
分类:
其他好文 时间:
2015-08-18 13:53:56
阅读次数:
266
//需要引入框架// 1. SystemConfiguration.framework// 2. CoreGraphics.framework// 3. libsqlite3.dylib// 4. CoreTelephony.framework// 5. libstdc++.dylib,// 6. ...
分类:
其他好文 时间:
2015-08-18 13:56:43
阅读次数:
131
http {... geo $whiteiplist { default 1; include limit/whiteip.conf; } map $whiteiplist $limit { 1 $binary_remote_add...
分类:
其他好文 时间:
2015-08-18 13:56:28
阅读次数:
188
DZY loves colors, and he enjoys painting.On a colorful day, DZY gets a colorful ribbon, which consists ofnunits (they are numbered from1tonfrom left t...
分类:
其他好文 时间:
2015-08-18 13:54:40
阅读次数:
210
最近更新系统发现非常的缓慢,于是准备换国内的yum源。准备工作,首先备份/etc/yum.repos.d/CentOS-Base.repo cd /etc/yum.repos.d/ wgethttp://mirrors.163.com/.help/CentOS6-Base-163.repo把下载文件...
分类:
其他好文 时间:
2015-08-18 13:53:12
阅读次数:
120