首页 > 其他
mina2线程详解
1主要流程read in data:IO读入(IoProcessor)---日志记录、解码、threadPool(IoFilter)---业务逻辑处理(IoHandler)write out data:业务逻辑处理(IoHandler)---日志记录、编码、threadPool(IoFilter)-...
分类:其他   时间:2014-03-11 16:43:59    收藏:0  评论:0  赞:0  阅读:451
C#代码计时
using System.Diagnostics; Stopwatch sw = new Stopwatch();sw.Start(); //todo code ....... sw.Stop();Console.WriteLine("执行此段代码耗时:{0} ms", sw.ElapsedMill...
分类:其他   时间:2014-03-11 16:45:47    收藏:0  评论:0  赞:0  阅读:486
cacti批量添加主机脚本
#!/bin/bash##cacti批量脚本位置device=/var/www/html/cacti/cli/add_device.phpgraphs=/var/www/html/cacti/cli/add_graphs.phptree=/var/www/html/cacti/cli/add_tre...
分类:其他   时间:2014-03-11 16:47:44    收藏:0  评论:0  赞:0  阅读:635
C标准输入输出库
这样的代码有什么问题? char c; while((c = getchar()) != EOF) ...首先,保存getchar的返回值的变量必须是int型。EOF是getchar返回的“超出范围”的特殊值,它跟getchar可能返回的其他任何字符值都不一样。(在时新的系统上,文件中已经不再保存真...
分类:其他   时间:2014-03-11 16:48:43    收藏:0  评论:0  赞:0  阅读:587
Session fixation--wiki
http://en.wikipedia.org/wiki/Session_fixationIn computer network security,session fixation attacksattempt toexploitthe vulnerability of a system which...
分类:其他   时间:2014-03-11 16:50:47    收藏:0  评论:0  赞:0  阅读:801
Eclipse安装SVN插件
该版本默认使用CVS插件进行版本管理。下面安装SVN插件,以便能下载Google Code上的源代码。以下是一些关键步骤:其中http://subclipse.tigris.org/update_1.0.x是SVN插件的下载站点【subclipse是Eclipse的SVN插件】。以update_1....
分类:其他   时间:2014-03-11 16:49:45    收藏:0  评论:0  赞:0  阅读:619
整数划分-分治法
整数划分经典算法了,不做解释,自己做了一下,锻炼递归能力! 1 #include 2 3 int bufferArray[1000]={0};//缓存数组 4 int bufferLenth=0;//缓存数组的当前长度 5 int outputSignal=-1;//当前输出的控制信号 6 int ...
分类:其他   时间:2014-03-11 16:04:31    收藏:0  评论:0  赞:0  阅读:527
SAE/ISO standards for Automotive
On-Board DiagnosticsJ1962 Diagnostic Connector Equivalent to ISO/DIS 15031-3: December 14, 2001J2012 Diagnostic Trouble Code Definitions J1939Recommen...
分类:其他   时间:2014-03-11 16:54:30    收藏:0  评论:0  赞:0  阅读:1452
猜单词游戏
/*Playing a console-based gameTo solve the problem, your program must be able to:Choose a random word to use as the secret word. That word is chosen f...
分类:其他   时间:2014-03-11 16:04:43    收藏:0  评论:0  赞:0  阅读:531
LinkButton跳转页面及传递参数(转载)
在DataList中使用LinkButton按钮(LinkButtonDelete),该按钮用于链接跳转到删除页面。在模板中双击该按钮,跳转到.cs页面。问题是我们如何获得该条信息的ID,如果不知道ID值,我们又怎么知道需要删除的是哪一条信息呢?通过下面的方法就可以了:在LinkButtonDele...
分类:其他   时间:2014-03-11 21:11:52    收藏:0  评论:0  赞:0  阅读:478
string字符串的一系列操作
用户输入一个字符串,将字符串以与输入相反的顺序输出:using System;namespace Test{ class T1 { public static void Main() { Console.WriteLine("input the string "); string mystring ...
分类:其他   时间:2014-03-11 21:10:53    收藏:0  评论:0  赞:0  阅读:501
数据结构--堆栈
堆栈http://zh.wikipedia.org/wiki/%E5%A0%86%E7%96%8A堆栈(英语:stack),也可直接称栈。台湾作堆叠,在计算机科学中,是一种特殊的串行形式的数据结构,它的特殊之处在于只能允许在链结串行或阵列的一端(称为堆栈顶端指标,英语:top)进行加入资料(英语:p...
分类:其他   时间:2014-03-11 21:14:42    收藏:0  评论:0  赞:0  阅读:610
Jplayer(转)
Jplayer必须要加载1.样式 jplayer.blue.monday.css2.jqjquery.1.6.2.min.js 当前最新版本为1.6.23.jplayer的jsjquery.jplayer.min.jsJplayer单首歌播放js代码如下html代码: play pause stop...
分类:其他   时间:2014-03-11 21:15:37    收藏:0  评论:0  赞:0  阅读:696
LeetCode Question Difficulty Distribution
参考链接:https://docs.google.com/spreadsheet/pub?key=0Aqt--%20wSNYfuxdGxQWVFsOGdVVWxQRlNUVXZTdEpOeEE&output=htmlIDQuestionDiffFreqData StructureAlgorithms...
分类:其他   时间:2014-03-11 21:17:31    收藏:0  评论:0  赞:0  阅读:595
(转)V4L2 Video overlay, Video output, Video output overlay的区别
原文地址:http://blog.csdn.net/kickxxx/article/details/7755127三者都是V4L2定义的接口,英文原文参见http://v4l2spec.bytesex.org/spec-single/v4l2.html#OVERLAYVideo Overlay:Vi...
分类:其他   时间:2014-03-11 16:04:18    收藏:0  评论:0  赞:0  阅读:496
VC练习一
VC练习一
分类:其他   时间:2014-03-11 21:19:19    收藏:0  评论:0  赞:0  阅读:343
【转载】A Generic Class Can Have More than One Type Parameter
A generic class includes one or more type parameters that will be substituted with actual types when the class is used. If the class has more than one...
分类:其他   时间:2014-03-11 21:18:26    收藏:0  评论:0  赞:0  阅读:423
[LeetCode]Scramble String
Given a strings1, we may represent it as a binary tree by partitioning it to two non-empty substrings recursively.Below is one possible representation...
分类:其他   时间:2014-03-11 21:20:20    收藏:0  评论:0  赞:0  阅读:443
bash shell 文本文件操作
一.打开文本文档,查看文本的内容,我们最直观的方式就是用编辑器,并且可以使用vi内部的查找命令查找[参见Vim文字编辑]vi test.txt#使用vi打开当前目录下的test.txt文本二.总结bash shell操作的方式bash读取文件的内容cat---concatenate files an...
分类:其他   时间:2014-03-11 21:21:14    收藏:0  评论:0  赞:0  阅读:518
El表达式的判断字符串的长度和截取,日期时间的格式化
= 20}"> ${fn:substring(each.wii_name, 0,20)}... ${each.wii_name} 申请时间:申请时间: " class="input_a s WdatePicker" id="textfield4283" pattern="yyyy-MM-dd" st...
分类:其他   时间:2014-03-11 21:25:12    收藏:0  评论:0  赞:0  阅读:831
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!