本篇研究 暴走武侠 效果。直接贴代码Shader "Cg shader with single
texture" { Properties { _MainTex ("Texture Image", 2D) = "white" {} _MainTex1
("Texture I...
分类:
其他好文 时间:
2014-05-12 10:25:57
阅读次数:
340
servlet中的方法实现代码:
import java.awt.Color;
import java.awt.Font;
import java.awt.Graphics2D;
import java.awt.image.BufferedImage;
import java.io.IOException;
import java.io.PrintWriter;
import java.ut...
分类:
其他好文 时间:
2014-05-11 05:57:01
阅读次数:
284
find命令小结find命令用于在系统中查找文件,配合 -exec 选项或
xargs命令还能对查找到得文件执行一些列的自动化操作。基本格式:find [-H] [-L] [-P] [path...]
[expression]path指定起始搜索路径,可以指定多个,exprssion表示搜索表达式,...
分类:
其他好文 时间:
2014-05-10 06:53:44
阅读次数:
324
Substring时间限制:1000 ms | 内存限制:65535 KB难度:1描述You
are given a string input. You are to find the longest substring of input such
that the reversal of the ...
分类:
其他好文 时间:
2014-05-10 06:20:56
阅读次数:
257
例如:,图的边框会出现a标签默认的边框,解决办法:img{border:0
none},这样就可以了,注意两个一定都要写上去
分类:
其他好文 时间:
2014-05-10 06:00:33
阅读次数:
325
原题地址:http://www.cnblogs.com/x1957/p/3373994.html题意:Given
an array of integers, every element appearstwiceexcept for one. Find that single
one.要求:线性时间复...
分类:
编程语言 时间:
2014-05-10 05:22:27
阅读次数:
408
原题地址:http://oj.leetcode.com/problems/single-number-ii/题意:Given
an array of integers, every element appearsthreetimes except for one. Find that
single ...
分类:
编程语言 时间:
2014-05-10 03:01:41
阅读次数:
413
phpize可以往php种追加新的模块
Cannot find autoconf. Please check your autoconf installation and the
$PHP_AUTOCONF environment variable. Then, rerun this script....
分类:
Web程序 时间:
2014-05-09 21:06:27
阅读次数:
375
为freetextbox1.6.5上传图片加上水印
Graphics的DrawImage方法,定义了多种原型,可以在制定位置绘制指定Image对象。利用此方法可以在图片对象上再绘制一个水印图片。结合FreeTextBox方便的图片上传功能,可以实现一个适合图片新闻较多的新闻系统。以下WaterMark方法所带参数为文件流,原始图片名称,水印图片名称,图片保存路径等,对应注释理解代码应该没有多大问...
分类:
其他好文 时间:
2014-05-09 20:57:14
阅读次数:
269
BFS。 1 #include 2 #include 3 #include 4
#include 5 using namespace std; 6 7 #define INF 0x3fffffff 8 9 typedef struct
node_st {10 int x, y, ...
分类:
其他好文 时间:
2014-05-09 20:18:48
阅读次数:
339