码迷,mamicode.com
首页 > 其他好文
网络基本功系列:细说VLAN和Trunk
网络性能是影响业务效率的一个重要因素。将大型广播域分段是提高网络性能的方法之一。路由器能够将广播包阻隔在一个接口上,但是,路由器的LAN接口数量有限,它的主要功能是在网络间传输数据,而不是对终端设备提供网络接入。访问LAN的功能还是由接入层交换机来实现。与三层交换机相类似,通过在二层交换机上创建VLAN来减少广播域。现代交换机就是通过VLAN来构造的,因此在某种程度上,学习交换机就是学习VLAN。...
分类:其他好文   时间:2014-11-21 10:40:21    阅读次数:265
Service传值
Service的传值...
分类:其他好文   时间:2014-11-21 10:40:13    阅读次数:126
LeetCode——Unique Paths II
Follow up for "Unique Paths": Now consider if some obstacles are added to the grids. How many unique paths would there be? An obstacle and empty space is marked as 1 and 0 respectively in the...
分类:其他好文   时间:2014-11-21 10:41:42    阅读次数:138
folat i = 0.1; 警告
小发现...
分类:其他好文   时间:2014-11-21 10:38:35    阅读次数:135
LeetCode:Insertion Sort List
题目描述: Sort a linked list using insertion sort. 思路:在head之前插入一个假头结点,便于在head节点之前插值。遍历链表,对于每一个节点,在它前面的有序的节点中找到第一个比它大的节点,将它插到该节点的前面。链表遍历结束后即得到有序链表。 代码: ListNode * Solution::insertionSortList(...
分类:其他好文   时间:2014-11-21 10:38:31    阅读次数:148
flex自动生成工具用法
该文章和源码        from :  http://blog.csdn.net/hczhiyue/article/details/20483209 edit :   1 /*name : lizi.flex*/ 2 %option noyywrap 3 %{ 4 int num_lines = 0, num_chars = 0; 5 %} 6 %% 7 ...
分类:其他好文   时间:2014-11-21 10:39:42    阅读次数:215
Git常用命令集
这篇文章记录个人常用的一些命令,和记不住的一些命令。 配置    首先是配置帐号信息 git config --global user.name yanhaijinggit config --global user.email yanhaijing@yeah.netgit config --list #查看配置的信息git help config    #获取帮助信息 配置自...
分类:其他好文   时间:2014-11-21 10:40:53    阅读次数:145
FastCGI技术
1 FastCGI介绍 FastCGI:快速通用网关接口(Fast Common Gateway Interface/FastCGI)是一种让交互程序与Web服务器通信的协议。 FastCGI像是一个常驻(long-live)型的CGI,它可以一直执行着,只要激活后,不会每次都要花费时间去fork一...
分类:其他好文   时间:2014-11-21 10:36:45    阅读次数:318
在基类构造器中调用虚方法需谨慎
最近,在基类的构造函数中调用虚方法时,发现了一个问题。先把问题重现如下: class Program { static void Main(string[] args) { var c = new Chinese(18); Console.ReadKey(); } } pu...
分类:其他好文   时间:2014-11-21 10:37:34    阅读次数:167
功能测试用例编写
学了很久的测试,第一次尝试自己写了一个web登入功能的用例测试:1、单个模块的测试用例测试类型功能测试模块名称XXXXX系统用户登入用例描述该用例用来测试在登入界面,用户能否正常登入,如果出错,是否能给出出错信息前置条件存在正确的用户名和密码;登入页面正常加载,错误信息提示正确(数据库有用户信息te...
分类:其他好文   时间:2014-11-21 10:35:45    阅读次数:174
绝对补气血的一个法子
转自天涯: http://bbs.tianya.cn/post-funinfo-5966580-1.shtml; http://bbs.tianya.cn/post-funinfo-5507373-1.shtml1 准备的材料有:鸡蛋,生姜,枸杞,红枣,红糖,桂圆。2 把红枣,枸杞,桂圆洗干净,红枣...
分类:其他好文   时间:2014-11-21 10:36:41    阅读次数:210
Pow(x, n)
Implement pow(x,n).C++实现代码:#includeusing namespace std;class Solution{public: double pow(double x, int n) { if(x==0&&n==0) ret...
分类:其他好文   时间:2014-11-21 10:36:20    阅读次数:147
订单管理中根据订单来源批量修改服务部门
ddly ='交易平台' and serviceDept is null--SELECT * from de_tbfw_order where ddly ='交易平台' and serviceDept is nullUPDATE de_tbfw_order set serviceDept =(SEL...
分类:其他好文   时间:2014-11-21 10:35:20    阅读次数:155
bzoj 1853: [Scoi2010]幸运数字 容斥
1853: [Scoi2010]幸运数字Time Limit:2 SecMemory Limit:64 MBSubmit:1170Solved:406[Submit][Status]Description在中国,很多人都把6和8视为是幸运数字!lxhgww也这样认为,于是他定义自己的“幸运号码”是十...
分类:其他好文   时间:2014-11-21 10:36:09    阅读次数:298
MyTestBlog
Multivariable normal distribution is a positive definite matrix. We can get (assume) Where
分类:其他好文   时间:2014-11-21 10:34:59    阅读次数:157
Clock Angle
ProblemWe are given a specific time(like 02:23), we need to get the angle between hour and minute(less than 180)Solution 1 public static double clockA...
分类:其他好文   时间:2014-11-21 10:36:27    阅读次数:211
[Bhatia.Matrix Analysis.Solutions to Exercises and Problems]ExI.5.6
Let $A$ be a nilpotent operator. Show how to obtain, from aJordan basis for $A$, aJordan basis of $\wedge^2A$.
分类:其他好文   时间:2014-11-21 10:37:06    阅读次数:160
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!