首页 > 其他
产品体验报告的思路学习笔记(附XMIND)
分类:其他   时间:2016-01-23 08:02:18    收藏:0  评论:0  赞:0  阅读:161
LVS负载均衡架设,DR模式
lvs-dr模型:直接路由Director在实现转发时不修改请求报文的IP首部,而是通过直接封装MAC首部来完成转发,目标MAC是Director根据调度方法挑选出的某RS的MAC地址拓扑结构有别于NAT类型架构特性:(1)保证前端路由器将目标地址为VIP的请求报文通过ARP地址解析后送往Director解决方..
分类:其他   时间:2016-01-23 08:01:45    收藏:0  评论:0  赞:0  阅读:269
Binary XML file line #2: You must supply a layout_height attribute inflate
Android开发中遇到的奇葩问题之一:java.lang.NullPointerException,java.lang.RuntimeException:BinaryXMLfileline#2:Youmustsupplyalayout_heightattributeinflate,遇到这个问题说明你在非主流上测试,或者说是在部分模拟器上测试,或者是在写布局文件的时候少了什么东西,..
分类:其他   时间:2016-01-23 08:00:39    收藏:0  评论:0  赞:0  阅读:274
用开源NAC阻止非法网络访问
用开源NAC阻止非法网络访问在传统方法中,为了防止外来设备接入企业网可以采用在交换机上设置IP-MAC绑定的方法使外来设备无法接入网络,下面将介绍2款开源的NAC工具,他们具有更加人性化的管理。1.PacketFence简介PacketFence是一个开源的网络访问控制软件,它使用NESSUS来对网..
分类:其他   时间:2016-01-23 07:59:32    收藏:0  评论:0  赞:0  阅读:303
【中级篇】LVS+keepalived 高可用负载均衡群集
LVS+keepalived高可用负载均衡群集1.实验需求:1)2台服务器部署WEB服务2)2台做调度器,一台主服务调度器,一台备用服务调度器。3)使用keepalived实现双击热备,对IP地址故障的切换。4)在LVS高可用群集中的热备应用2.实验环境:Linux服务器系统版本:CentOS-6.5-S02IP:192.168.1..
分类:其他   时间:2016-01-23 07:59:10    收藏:0  评论:0  赞:0  阅读:227
免费的才是最贵的--8种未来赚钱的商业模式(总结学习XMIND,附件)
分类:其他   时间:2016-01-23 07:58:48    收藏:0  评论:0  赞:0  阅读:193
LeetCode "Odd Even Linked List"
Visualize the unzip process.class Solution {public: ListNode* oddEvenList(ListNode* head) { if (!head || !head->next) return head; Li...
分类:其他   时间:2016-01-23 07:56:47    收藏:0  评论:0  赞:0  阅读:233
Find all the permutations of a string
就是permutations II考虑有重复字母的情况。String str = "someString"; char[] charArray = str.toCharArray();对char array进行排序:Arrays.sort(charArray)之后再把CharArray转化成stri...
分类:其他   时间:2016-01-23 07:56:03    收藏:0  评论:0  赞:0  阅读:164
TableLayout
分类:其他   时间:2016-01-23 07:55:41    收藏:0  评论:0  赞:0  阅读:138
Relativelayout
分类:其他   时间:2016-01-23 07:55:30    收藏:0  评论:0  赞:0  阅读:104
Count the number of occurrences in a sorted array
Given a sorted array arr[] and a number x, write a function that counts the occurrences of x in arr[]. Expected time complexity is O(Logn)Examples: I....
分类:其他   时间:2016-01-23 07:55:19    收藏:0  评论:0  赞:0  阅读:181
Ruby on Rails入门篇
Ruby是一门面向对象的脚本语言。Ruby On Rails简称为RoR或Rails,是按照MVC结构开发的开源网络应用框架。设计原则:Don't repeat yourself和Conventions over ConfigurationRubyGems是Ruby语言的包管理工具。学习资料:htt...
分类:其他   时间:2016-01-23 07:55:08    收藏:0  评论:0  赞:0  阅读:187
mongo .update
db.classes.update({"count":{$gt:20}},{$set:{"name":"c4"}},false,false) 存在更新一条记录,不存在不插入upsert,multidb.classes.update({"count":{$gt:20}},{$set:{"name":"...
分类:其他   时间:2016-01-23 07:54:57    收藏:0  评论:0  赞:0  阅读:295
FrameLayout
分类:其他   时间:2016-01-23 07:54:46    收藏:0  评论:0  赞:0  阅读:181
找到所有变位词
typedef std::list List;typedef std::map Map;Map getAnagrams(List& input){ Map result; for (const auto& s : input){ auto key = s; ...
分类:其他   时间:2016-01-23 07:54:24    收藏:0  评论:0  赞:0  阅读:188
hdu 1978 How many ways(dp)
Problem Description这是一个简单的生存游戏,你控制一个机器人从一个棋盘的起始点(1,1)走到棋盘的终点(n,m)。游戏的规则描述如下: 1.机器人一开始在棋盘的起始点并有起始点所标有的能量。 2.机器人只能向右或者向下走,并且每走一步消耗一单位能量。 3.机器人不能在原地停留。 4...
分类:其他   时间:2016-01-23 07:54:02    收藏:0  评论:0  赞:0  阅读:213
Queue 笔记
队列:QueueQueue.Queue(maxsize) FIFO先进先出Queue.LifoQueue(maxsize) LIFO后进先出Queue.PriorityQueue(maxsize) 优先级队列介绍一下此包中的常用方法: Queue.qsize() 返回队列的大小 Queue.empt...
分类:其他   时间:2016-01-23 07:53:30    收藏:0  评论:0  赞:0  阅读:136
五布局
layout_gravity调整该布局相对父布局的位置gravity是调整该布局中子布局的位置
分类:其他   时间:2016-01-23 07:53:23    收藏:0  评论:0  赞:0  阅读:183
*Tree child->parent relationships
Given a list of child->parent relationships, build a binary tree out of it. All the element Ids inside the tree are unique.Example:Given the following...
分类:其他   时间:2016-01-23 07:52:56    收藏:0  评论:0  赞:0  阅读:197
crond 的注意点
本来在控制台调试的好好的程序,一通过crond运行, 就执行不了。一般需要注意:1) 环境变量 当前目录 会变成用户的Home2) /var/log/messages 可以看出 crond 调度了没有3) crontab -e , 把下面的重定向加上, 能更好的去调查出了什么事45 14 * * *...
分类:其他   时间:2016-01-23 07:52:12    收藏:0  评论:0  赞:0  阅读:242
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!