码迷,mamicode.com
首页 >  
搜索关键字:code    ( 108667个结果
ssh技巧
1. 打通ssh key的简单方法:ssh-copyid192.168.1.12.使用ssh 将Linux主机变成http代理服务器ssh-NfD192.168.22.1:10080127.0.0.1192.168.22.1:10080 表示监听本机192.168.22.1这个ip的10080端口。...
分类:其他好文   时间:2014-05-19 19:56:20    阅读次数:500
poj--2608
题意:模拟题,用字母模拟数字,没有数字代表的则跳过,有数则代表但是连续多组的只输出一个。具体代码:#include#include#includeusing namespace std;int zimu[26]={0,1,2,3,0,1,2,0,0,2,2,4,5,5,0,1,2,6,2,3,0,1...
分类:其他好文   时间:2014-05-19 19:55:40    阅读次数:164
opencv学习笔记(02)——遍历图像(指针法)
#include #include #include #include void colorReduce(cv::Mat& image, int div=64){ int nr = image.rows; int nc = image.cols * image.channels(...
分类:其他好文   时间:2014-05-19 19:54:20    阅读次数:270
【struts2】Action的生命周期
Struts2的Action的生命周期是:Struts2为每个请求都重新初始化一个Action的实例。可以稍微改造一下代码来验证一下。给HelloWorldAction加上一个public无参的构造方法,在里面输出一句话。大家都知道,一个Java类如果没有写构造方法,那么会有一个默认的publi.....
分类:其他好文   时间:2014-05-19 19:53:40    阅读次数:261
【struts2】<package>的配置
元素可以把逻辑上相关的一组Action、Result、Intercepter等元素封装起来,形成一个独立的模块,package可以继承其他的package,也可以作为父包被其他的package继承,比如“”中,helloworld这个包就继承了struts-default这个包。 元素有如下属...
分类:其他好文   时间:2014-05-19 19:52:20    阅读次数:311
转载——服务器误删文件的恢复过程
经历了两天不懈努力,终于恢复了一次误操作删除的生产服务器数据。对本次事故过程和解决办法记录在此,警醒自己,也提示别人莫犯此错。也希望遇到问题的朋友能找到一丝灵感解决问题。事故背景安排一个妹子在一台生产服务器上安装Oracle,妹子边研究边安装,感觉装的不对,准备卸载重新安装。从网上找到卸载方法,其中...
分类:其他好文   时间:2014-05-19 19:51:36    阅读次数:235
poj--3086
escriptionThenthTriangularnumber,T(n) = 1 + … +n, is the sum of the firstnintegers. It is the number of points in a triangular array withnpoints on si...
分类:其他好文   时间:2014-05-19 19:50:24    阅读次数:191
WARNING: Calls to any function that may require a gradient calculation inside a conditional block may return undefined results
GLES2.0:Some device will give a warning on compling shaders(yet the compling will succeed), and the rendering result is incorrect with blink & artifac...
分类:其他好文   时间:2014-05-19 19:49:50    阅读次数:328
Unity 3D 进度条制作
简单的2D进度条制作
分类:其他好文   时间:2014-05-19 19:49:09    阅读次数:331
POOL_TYPE enumeration
typedef enum _POOL_TYPE { NonPagedPool, NonPagedPoolExecute= NonPagedPool, PagedPool, NonPagedPoolMustSucceed= NonPagedPool + 2, DontUseThisType...
分类:其他好文   时间:2014-05-19 19:47:09    阅读次数:282
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!