第27月第10天 cmake】的更多相关文章

1.error: tool 'xcodebuild' requires Xcode的解决办法 sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer/ https://blog.csdn.net/shorewb/article/details/52447554 2. cmake_minimum_required(VERSION 3.5) project(server C CXX) set(CMAKE_CXX_CO…
目录 基于TDengine-ver-1.6.4.4在windows 10下cmake+msys2编译(windows cgo 使用) 背景 下载地址 仓库地址 安装部署 msys2 安装 配置环境变量 安装cmake: 下载 TDengine 修改说明 CMakeLists.txt src/client/CMakeLists.txt deps/iconv/iconv.c os/windows/inc/os.h src/os/windows/src/twindows.c src/inc/taos.…
1.验证签名 { [self generateRSAKeyPair:kRSA_KEY_SIZE]; NSData *ttDt = [" dataUsingEncoding:NSASCIIStringEncoding]; NSData *sha1dg = [ttDt hashDataWith:CCDIGEST_SHA1]; OSStatus ret; //私钥签名,公钥验证签名 size_t siglen = SecKeyGetBlockSize(privateKeyRef); uint8_t *…
1. source 'https://github.com/CocoaPods/Specs.git' target 'YOUR_APPLICATION_TARGET_NAME_HERE' do platform :ios, '9.0' pod 'GoogleWebRTC' end http://rtc.elesos.com/native-code/ios/ https://blog.csdn.net/chenxiemin/article/details/78998492 https://gith…
1. 已经用 git commit  提交了代码. 此命令可以用来回退到任意版本:git reset --hard  commitid https://www.cnblogs.com/qufanblog/p/7606105.html 如果你的项目中还没有自动生成的 .DS_Store 文件,那么直接将 .DS_Store 加入到 .gitignore 文件就可以了.如果你的项目中已经存在 .DS_Store 文件,那就需要先从项目中将其删除,再将它加入到 .gitignore.如下: 删除项目中…
1.ios10 tableview头部空白 if (@available(iOS 11.0, *)) { self.tableView.contentInsetAdjustmentBehavior = UIScrollViewContentInsetAdjustmentNever; }else { self.automaticallyAdjustsScrollViewInsets = NO; } https://www.jianshu.com/p/7eea417275af 2. 如果没有使用po…
1. https://www.cnblogs.com/wfwenchao/p/5577789.html https://github.com/wangzz/Demo http://www.kimbs.cn/2015/04/ios-development-code-signing/ https://stackoverflow.com/questions/39461798/dlopen-from-sandbox-in-ios-10-is-blocked…
1. 7.如果将自己打包的bundle给别人使用,别人在打包上传过程中可能会遇到错误提示如: ERROR ITMS-90171: "Invalid Bundle Structure - The binary file 'lhby.app/Test.bundle/Test' is not permitted. Your app can’t contain standalone executables or libraries, other than a valid CFBundleExecutab…
1.clang -rewrite-objc main.m #import <objc/runtime.h> #import<objc/message.h> #import <Foundation/Foundation.h> @interface Person : NSObject //为了方便查看重写的代码将name改成cjmName @property (nonatomic, copy) NSString *cjmName; @property (nonatomic,…
1. 在进行 pull 操作的同时,其实就是 fetch+merge 的一个过程.我们从 remote 分支中拉取新的更新,然后再合并到本地分支中去. 如果 remote 分支超前于本地分支,并且本地分支没有任何 commit 的,直接从 remote 进行 pull 操作,默认会采用 fast-forward 模式,这种模式下,并不会产生合并节点,也就是说不会产生多余的那条 log 信息 如果想之前那样,本地先 commit 后再去 pull,那么此时,remote 分支和本地会分支会出现分叉…
1. While the usage of epoll when employed as a level-triggered interface does have the same semantics as poll(2) int addfd(int epollfd,int fd, bool enable_et) { struct epoll_event event; event.data.fd = fd; event.events = EPOLLIN; if(enable_et) { eve…
1.objc_msgSendSuper super 的含义,消息转发会调用 objc_msgSendSuper, 就是 去父类的方法列表中找到 initWithFrame:这个方法,然后调用,调用的主体是 self.super 只是一个编译器的特殊字符,并不代表父类的一个实例化对象.这也就能明白为什么 调用 [super initWithFrame:frame]能得到本类的 实例化对象了,而不是父类的对象了.   https://www.jianshu.com/p/60352a5eb940…
1.gcd timer 因为如果不用GCD,编码需要注意以下三个细节: 1.必须保证有一个活跃的runloop. performSelector和scheduledTimerWithTimeInterval方法都是基于runloop的.我们知道,当一个应用启动时,系统会开启一个主线程,并且把主线程的runloop激活,也就是run起来,并且主线程的runloop是不会停止的.所以,当这两个方法在主线程可以被正常调用.但情况往往不是这样的.实际编码中,我们更多的逻辑是放在子线程中执行的.而子线程的…
1. - (void)collectionView:(UICollectionView *)collectionView willDisplaySupplementaryView:(UICollectionReusableView *)view forElementKind:(NSString *)elementKind atIndexPath:(NSIndexPath *)indexPath { view.layer.zPosition = 0.0; } https://stackoverfl…
1. void TCPServer::start() { poco_assert (_stopped); _stopped = false; _thread.start(*this); } void Thread::start(Runnable& target) { startImpl(target); } ... void ThreadImpl::startImpl(Runnable& target) { if (_pData->pRunnableTarget) throw Sys…
1. 一个uiviewcontroller发送网络请求,解析数据后放在数组里.如果是多个网络请求,就要多个成员变量存储.那是不是可以单独出一个model来解析数据,存储数据呢. 如果有一个RequestSender来发送数据,那么往多个服务器发送数据,只能在RequestSender里做if else 判断. 其实也可以有多个RequestSender,用同一个model解析数据,也可以多个model解析数据. model解析数据也可以分开,msgreceiver收到数据,model存储数据.…
1. Type 'Any' has no subscript members 这一条简直莫名其妙.大体意思就是,你这个类型"Any"不是个数组或者字典,不能按照下标取东西. 我之前通过一个方法默认创建了一个字典,编译器也认为这是个字典,所以允许我取东西,但是现在编译器翻脸了,说你必须告诉我这是个字典我才能让你取东西.okok. 1 (dic as! NSDictionary) 同理还有各种类型不匹配的问题,强制转换就可以了.(偷偷说,真怀念OC的弱类型的时代~) http://www.…
1.node.js的request模块 http://www.cnblogs.com/meteoric_cry/archive/2012/08/18/2645530.html…
1. http://www.cnblogs.com/xuling/p/5602036.html 2. http://blog.csdn.net/qq_26819733/article/details/53224270…
一.目标场景 如今短视频横行的时代,以某短视频为首的,背后依靠着强大的资金后盾,疯狂地对平台用户进行红包轰炸. ​ 与传统的红包不一样,视频红包包含位置的不确定性.大小不确定性.元素 ID 的不确定性等......这些不确定性都会导致抢红包的操作变得异常的复杂. 本篇文章的目的是利用 Python 自动化实现「抢视频红包」这一骚操作.本文仅仅用于学习交流技术!请勿用于其他用途! 二.准备工作 在开始编写脚本之前,需要做如下准备 1.一部 Android 手机,并在 PC 端配置好 ADB 运行环…
环境: 系统硬件:vmware vsphere (CPU:2*4核,内存2G,双网卡) 系统版本:CentOS-7-x86_64-Minimal-1611.iso 安装步骤: 1.准备 1.0 查看硬件信息 查看物理cpu个数[root@centos ~]# grep 'physical id' /proc/cpuinfo | sort -u | wc -l 查看核心数量[root@centos ~]# grep 'core id' /proc/cpuinfo | sort -u | wc -l…
环境: 系统硬件:vmware vsphere (CPU:2*4核,内存2G,双网卡) 系统版本:CentOS-7-x86_64-Minimal-1611.iso 安装步骤: 1.准备 1.0 查看硬件信息 查看物理cpu个数[root@centos ~]# grep 'physical id' /proc/cpuinfo | sort -u | wc -l 查看核心数量[root@centos ~]# grep 'core id' /proc/cpuinfo | sort -u | wc -l…
环境: 系统硬件:vmware vsphere (CPU:2*4核,内存2G,双网卡) 系统版本:CentOS-7-x86_64-Minimal-1611.iso 安装步骤: 1.准备 1.0 查看硬件信息 查看物理cpu个数[root@centos ~]# grep 'physical id' /proc/cpuinfo | sort -u | wc -l 查看核心数量[root@centos ~]# grep 'core id' /proc/cpuinfo | sort -u | wc -l…
本文首发于个人博客https://kezunlin.me/post/6580691f/,欢迎阅读! compile opencv with CUDA support on windows 10 Series Part 1: compile opencv on ubuntu 16.04 Part 2: compile opencv with CUDA support on windows 10 Part 3: opencv mat for loop Part 4: speed up opencv…
centos mysql5.6.27 1编译安装 先进入到文件放置的路径下 创建一个个文件 #mkdir–p /data/mysql/mysql #mkdir–p /data/mysql/mysqldat 2创建用户和用户组 groupadd mysql useradd -r -g mysql mysql 3赋予数据存放目录权限 chown mysql:mysql -R /data/mysql/mysqldata/ 4解压 tar -xvf mysql-5.6.27.tar.gz 5安装cmak…
Mono是Xamarin资助的一个项目,是微软的.NET框架的开源实现.它使得使用C#.F#和其他.NET语言进行跨平台开发成为可能.Xamarin在Mono之上构建了跨平台开发工具以及像Xamarin.Forms(可以使用跨平台代码辅助创建原生的体验)这样的框架产品.开发工具和框架在开发者之间都有应用(Xamarin最近获得了5400万美元C轮融资,会继续在这方面发力).Xamarin也已经在和微软开展合作,以改进.NET和Mono之间的兼容性.ASP.NET vNext(尤其是KRuntim…
继上一篇文章之后,本文将介绍 Controller 和 Action 的一些较高级特性,包括 Controller Factory.Action Invoker 和异步 Controller 等内容. 本文目录 开篇:示例准备 文章开始之前,我们先来了解一下一个请求的发出到Action方法处理后返回结果的流程,请试着理解下图: 本文的重点是 controller factory 和 action invoker.顾名思义,controller factory 的作用是创建为请求提供服务的Cont…
这一两天一直在研究VMware Workstation自带的共享文件夹的功能,期间出了不少问题,在公司搭建的是vm10.0+centos07,在家搭建的是VM 7+centos07... 公司环境搭建: 共享访问方式: 1.VM10挂载的操作系统和主机系统当做一个局域网,可以通过浏览网络来进行访问,当然这种方式没有用VM10自带的共享文件夹访问舒畅 2.用VM10的共享功能, 一.vm10.0+centos07 首先,在VM10中选择安装 这样会在centos中安装一个cdrom,具体的路径为:…
CentOS-6.3安装配置cmake   zhoulf 2013-02-03 原创 安装说明 安装环境:CentOS-6.3安装方式:源码编译安装 软件:cmake-2.8.10.2.tar.gz下载地址:http://www.cmake.org/cmake/resources/software.html 安装前提 系统中已经安装了g++和ncurses-devel,如果没有安装使用下面的命令安装: [root@admin /]# yum install gcc-c++[root@admin…
Download OpenCV 2.4.10 Download CMake 2.8 Open CMake and choose the source code directory and build binary directory Then click "Configure", and "Generate" Go to the build binary directory, open terminal, and run the following command:…