#!/usr/bin/env pythondef splic_seq_2(fa,r_id_,g_id_,position_1,position_2,strand): import sys import Anti_# sequence_file= open(options.fasta_seq) seq...
分类:
其他好文 时间:
2015-05-04 21:44:50
阅读次数:
637
Super Sampling Anti-Aliasing
SSAA算是在众多抗锯齿算法中比较昂贵的一种了,年代也比较久远,但是方法比较简单,
主要概括为两步
1. 查找边缘
2. 模糊边缘
这是一种post processing的处理方法,
接下来我们就看看怎么实现
查找边缘
查找边缘的原因也是因为减少消耗,这样就可以只在边缘处进行超级采样,不必为全图进行采样了。...
分类:
编程语言 时间:
2015-05-02 13:56:24
阅读次数:
255
Apache防盗链小结Apache防盗链的第一种实现方法,可以用rewrite实现。一.遭遇图片盗链国内网站盗链成风,最倒霉的就是咱们这种使用付费主机有流量限制的个人了。没办法,只得加上了一个简单的反盗链(Anti-Leech)措施。我的服务器是Apache,处理防盗链比较简单。也欢迎各位光临..
分类:
Web程序 时间:
2015-04-30 10:53:00
阅读次数:
209
题意:
给n,m,k。
排列n~m之间的所有数。
保证相邻的2~k位之和均不为素数。
思路:
直接DFS。
代码:
#include"cstdlib"
#include"cstdio"
#include"cstring"
#include"cmath"
#include"queue"
#include"algorithm"
#include"iostream"
#include"...
分类:
其他好文 时间:
2015-04-28 22:56:01
阅读次数:
209
http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemId=4114
Nobita did use an outstanding anti-virus software, however, for some strange reason, this software did not check email attachment...
分类:
其他好文 时间:
2015-04-28 21:03:10
阅读次数:
164
#import #import #import void (*old_sub_ACF0)(void);void new_sub_ACF0(void){ // old_sub_ACF0(); NSLog(@"iOSRE: anti-anti-debugging");}%ct...
分类:
移动开发 时间:
2015-04-28 17:41:12
阅读次数:
243
oracle 10g exists¬ exists用法详解-实际开发案例...
分类:
数据库 时间:
2015-04-28 11:42:23
阅读次数:
229
题意:
跟经典的nim除了胜利条件不一样(nim当游戏者面对空的决策集判负,anti-SG当游戏者面对空的决策集判负),其他都一样。
分析:
设全局状态为s,单个游戏为t。先手必胜条件:(g(s)!=0&&Existg(t)>1)||(g(s)==0&&Anyg(t)
代码:
//poj 3480
//sep9
#include
using namespace std;
int ma...
分类:
其他好文 时间:
2015-04-09 19:51:38
阅读次数:
213
Agrademarinechinesebrownfilmfacedplywoodisthebestformworkpanelinthebuildingformworksystem.TheBrownfilmsofthebrownfilmfacedplywoodarewiththeadvantagedlikeanti-aabrasion,ultravioletresistance,deformation-proof,anti-corruptetc.Allthesheetsarebondedbythehighden..
分类:
其他好文 时间:
2015-04-09 06:37:13
阅读次数:
123
Agrademarinechinesebrownfilmfacedplywoodisthebestformworkpanelinthebuildingformworksystem.TheBrownfilmsofthebrownfilmfacedplywoodarewiththeadvantagedlikeanti-aabrasion,ultravioletresistance,deformation-proof,anti-corruptetc.Allthesheetsarebondedbythehighden..
分类:
其他好文 时间:
2015-04-09 06:36:48
阅读次数:
118