码迷,mamicode.com
首页 > 其他好文
0921 词法分析程序
#include #include #include /*全局变量*/char * chr_form[100];int q=0,temp;char *word[6]={"begin","end","if","then","do","while"};int i=0,j=0,k=0,t=0;char c...
分类:其他好文   时间:2015-09-21 19:33:41    阅读次数:196
最长递增子序列(LIS)
题目描述求一个一维数组arr[i]中的最长递增子序列的长度,如在序列1,-1,2,-3,4,-5,6,-7中,最长递增子序列长度为4,可以是1,2,4,6,也可以是-1,2,4,6。题目分析最长递增子序列(Longest Increasing Subsequence)又叫做最长上升子序列;子序列,正...
分类:其他好文   时间:2015-09-21 19:32:41    阅读次数:145
PID控制器(比例-积分-微分控制器)- III
PID Controller AlgorithmsController manufacturers arrange the Proportional, Integral and Derivative modes into three different controller algorithms o...
分类:其他好文   时间:2015-09-21 19:32:37    阅读次数:343
统计fastq文件中读段的数量
mycount=`cat SRR108114_new_1.fastq | wc -l` echo 'Number of clean reads, SRR108114_new_1.fastq: '$((mycount/4)) >> SRR108114.stat mycount=`cat SRR1081...
分类:其他好文   时间:2015-09-21 19:31:16    阅读次数:107
Django学习中的问题总结
1.在windows环境下,用pip安装Django后通过在python/Script目录下会生成django-admin.py文件,此时由于pip环境变量已经添加,diango-admin.py与其均在Script目录下,所以其环境无需重复添加。创建Django项目时,输入为: django-a....
分类:其他好文   时间:2015-09-21 19:34:06    阅读次数:178
cocos2dx 2.2 之触摸事件
cocos2dx 2.2 之触摸事件要使精灵能够接收到触摸事件,无非要做三件事。注册触摸事件;接收触摸事件;处理触摸事件。下面就从这三点出发,来了解一下精灵如何响应触摸事件。1.注册触摸事件精灵类Poker继承Sprite和CCTargetedTouchDelegate,并重写CCTargetedT...
分类:其他好文   时间:2015-09-21 19:31:05    阅读次数:177
openstack 上床镜像, 创建网络, 创建虚拟机 命令
============================================================================================================上传镜像===kilo new===glance image-create --na...
分类:其他好文   时间:2015-09-21 19:30:55    阅读次数:242
#个人博客作业Week1----关于软件和软件工程的出现
1.软件工程这个词如何出现的?数学与电脑科学先锋Margaret Hamilton在开发阿波罗11号软件的期间发明的,目的是将软件与硬件还有其他工程学类做出区别,为软件以及那些发明者争取应有的正统性与尊重。2.软件这个词如何出现的?John Tukey 发明了“bit”这个单词。“software”...
分类:其他好文   时间:2015-09-21 19:32:02    阅读次数:137
Hbase Region Server整体架构
Region Server的整体架构本文主要介绍Region的整体架构,后续再慢慢介绍region的各部分具体实现和源码RegionServer逻辑架构图 RegionServer职责1、 监听协作,通过zk来侦听master、meta位置、集群状态等信息的变化,更新本地数据。2、 管理region...
分类:其他好文   时间:2015-09-21 19:32:13    阅读次数:241
0916作业二词法分析
#include#include#include#define _KEY_WOED_END "waiting for your expanding" //关键字结束标志typedef struct{ int typenum; char * word;}WORD;char input[255]...
分类:其他好文   时间:2015-09-21 19:31:13    阅读次数:157
从脚本之家搬来的关于各种高度问题
网页可见区域宽: document.body.clientWidth;网页可见区域高: document.body.clientHeight;网页可见区域宽: document.body.offsetWidth (包括边线的宽);网页可见区域高: document.body.offsetHeight...
分类:其他好文   时间:2015-09-21 19:30:51    阅读次数:211
定位 -CLGeocoder - 编码
#import "ViewController.h"#import @interface ViewController ()/** 地理编码对象 ***/@property (nonatomic, strong) CLGeocoder *geocoder;@property (weak, nonat...
分类:其他好文   时间:2015-09-21 19:30:08    阅读次数:224
0916编译原理作业二
#include#include#include#define _KEY_WOED_END "waiting for your expanding" //关键字结束标志typedef struct{ int typenum; char * word;}WORD;char input[255]...
分类:其他好文   时间:2015-09-21 19:29:08    阅读次数:224
Cognos报表打开参数
查看门户页面http://localhost:9300/p2pd/servlet/dispatch?b_action=xts.run&m=portal/cc.xts&gohome=路径访问http://localhost:9300/p2pd/servlet/dispatch?b_action=xts...
分类:其他好文   时间:2015-09-21 19:29:58    阅读次数:292
内核升极2.6.18 升级到 2.6.32 装systemtap
安装步骤:1.下载装源代码:https://www.kernel.org/找到 https://www.kernel.org/pub/ 链接查找linux->kernel->v2.6->linux-2.6.32.tar.bz22.拖动虚拟机 放到目录 /usr/src/kernels/下解压 为 l...
分类:其他好文   时间:2015-09-21 19:29:37    阅读次数:218
从襁褓中开始变味?国内游戏众筹现状初探(下)
从襁褓中开始变味?国内游戏众筹现状初探(下)
分类:其他好文   时间:2015-09-21 19:28:30    阅读次数:148
一个简单的定时器
定义一个全局时间变量 NSTimer*_timer;创建时间变量 并调用定时器方法- (void)viewDidLoad{[super viewDidLoad];_timer= [NSTimerscheduledTimerWithTimeInterval:1target:selfselector:@...
分类:其他好文   时间:2015-09-21 19:30:05    阅读次数:149
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!