摘要: 迁入地址: http://blog.csdn.net/u010278862 阅读全文
posted @ 2017-09-12 07:33 阿司★*^_^*联波 阅读(171) 评论(0) 推荐(0) 编辑
摘要: 这个配置是我花了很长时间整理的,感觉用起来很方便,共享一下。 喜欢就直接copy 吧! 阅读全文
posted @ 2013-10-06 18:22 阿司★*^_^*联波 阅读(375) 评论(0) 推荐(0) 编辑
摘要: http://kodango.com/useful-documents-about-shell $$ shell本身的PID(ProcessID) $! shell最后运行的后台Process的PID $? 最后运行的命令的返回值,用于检查上一条命令是否执行成功。 $* 所有参数列表,作为一个整体。 阅读全文
posted @ 2016-12-01 21:42 阿司★*^_^*联波 阅读(276) 评论(0) 推荐(0) 编辑
摘要: @echo off setlocal enabledelayedexpansion set suffix=jar for %%i in(*.pack.jar)do)( set oName=%%i set tName=!oName:~0,7! set nName=!tName!!suffix! :echo "unpack" !oName!" to " !nName! echo 处理文件:... 阅读全文
posted @ 2016-10-25 19:53 阿司★*^_^*联波 阅读(205) 评论(0) 推荐(0) 编辑
摘要: http://blog.csdn.net/chjttony/article/details/17838693 阅读全文
posted @ 2016-10-20 22:07 阿司★*^_^*联波 阅读(137) 评论(0) 推荐(0) 编辑
摘要: 学习地址: http://www.cnblogs.com/lds85930/archive/2009/06/21/1507756.html 203 Non-Authoritative Information指示返回的元信息来自缓存副本而不是原始服务器,因此可能不正确。302 Found指示请求的信息 阅读全文
posted @ 2016-10-19 21:07 阿司★*^_^*联波 阅读(121) 评论(0) 推荐(0) 编辑
摘要: ls 列出目录 cd pwd awk netstat -tunpl grep chmod chown lsof -i:n date date -s 修改时间 date -s “2016-01-01” tump 抓包用、 su sudo wget 阅读全文
posted @ 2016-09-20 22:05 阿司★*^_^*联波 阅读(210) 评论(0) 推荐(0) 编辑
摘要: 卸载 重装eDirectory ERROR: /opt/novell/eDirectory/bin/ndsstat: error while loading shared libraries: libcss2.so: cannot open shared object file: No such file or directory 阅读全文
posted @ 2016-09-20 21:41 阿司★*^_^*联波 阅读(190) 评论(0) 推荐(0) 编辑
摘要: MVC是三个单词的首字母缩写,它们是Model(模型)、View(视图)和Controller(控制)。视图视图(View)代表用户交互界面,对于Web应用来说,可以概括为HTML界面,但有可能为XHTML、XML和Applet。随着应用的复杂性和规模性,界面的处理也变得具有挑战性。一个应用可能有很... 阅读全文
posted @ 2015-10-21 08:31 阿司★*^_^*联波 阅读(213) 评论(0) 推荐(0) 编辑
摘要: 1 StringString:字符串常量,字符串长度不可变。2 StringBufferStringBuffer:字符串变量(Synchronized,即线程安全)。如果要频繁对字符串内容进行修改,出于效率考虑最好使用StringBuffer,如果想转成String类型,可以调用StringBuff... 阅读全文
posted @ 2015-10-17 10:46 阿司★*^_^*联波 阅读(193) 评论(0) 推荐(0) 编辑
摘要: Java provides theStringBufferandStringclasses, and theStringclass is used to manipulate character strings that cannot be changed. Simply stated, objec... 阅读全文
posted @ 2015-10-17 10:35 阿司★*^_^*联波 阅读(175) 评论(0) 推荐(0) 编辑
摘要: 01public static int[][] arrSum(int arr[][]){02 int m = arr.length;03 int n = arr[0].length;04 int p[][] = new int[m+1][n+1];05 p[0][0] = a... 阅读全文
posted @ 2015-09-27 20:05 阿司★*^_^*联波 阅读(197) 评论(0) 推荐(0) 编辑
摘要: 题目:输入一个整型数组,数组里有正数也有负数。数组中一个或连续的多个整数组成一个子数组。求所有子数组的和的最大值。要求时间负责度为O(n)。分析:从第一个位置开始累加求和,结果为负数时候放弃前面的累加和重新计算。static int MaxSum(int arr[], int n) { ... 阅读全文
posted @ 2015-09-27 19:59 阿司★*^_^*联波 阅读(120) 评论(0) 推荐(0) 编辑
摘要: /** 几种常用的去重的方式*/var arr = [2, 6, 1, 15, 11, 7, 12, 8, 5, 4, 3, 12, 10, 1, 7, 2, 4, 4, '4', 12, false, false, 3, '3'];// 去重方法1 : 先将数组排序,然后循环数组,判断当前元素与上... 阅读全文
posted @ 2015-09-27 09:52 阿司★*^_^*联波 阅读(275) 评论(0) 推荐(0) 编辑
摘要: 问题描述:一只青蛙一次可以跳上1级台阶,也可以跳上2级……它也可以跳上n级。求该青蛙跳上一个n级的台阶总共有多少种跳法。题目分析:1)这里的f(n) 代表的是n个台阶有一次1,2,...n阶的 跳法数。2)n = 1时,只有1种跳法,f(1) = 13) n = 2时,会有两个跳得方式,一次1阶或者... 阅读全文
posted @ 2015-09-27 08:10 阿司★*^_^*联波 阅读(462) 评论(0) 推荐(1) 编辑
摘要: 求字典序在s1和s2之间的,长度在len1到len2的字符串的个数,结果mod 1000007。public class Main { public static long get(String a,String b,intmin) { long suma=0; ... 阅读全文
posted @ 2015-09-26 10:44 阿司★*^_^*联波 阅读(264) 评论(0) 推荐(0) 编辑
摘要: 有一个长为n的数组A,求满足0≤a≤b1){ 7 intmin=A[0]; 8 for(inti=1;idis){10 dis=A[i]-min;11 }12 ... 阅读全文
posted @ 2015-09-26 10:38 阿司★*^_^*联波 阅读(246) 评论(0) 推荐(0) 编辑
摘要: 1、查询数值型数据:SELECT * FROM tb_name WHERE sum > 100;查询谓词:>,=,,!=,!>,!,=” order by addtime desc注:相当于PHP中的!=6、利用变量查询数值型数据SELECT * FROM tb_name WHERE id = ‘$... 阅读全文
posted @ 2015-09-26 10:22 阿司★*^_^*联波 阅读(157) 评论(0) 推荐(0) 编辑
摘要: 全排列字符串全排列问题,如[abc]三个元素的数组,会有[abc,acb,bac,bca,cab,cba]六种排列方式,全排列的实现方式很多,这里选取一个简单的递归解决方法,代码简单,比较容易理解。/*** 全排列Java源码实现* @param buf 待全排列字符串的数组* @param sta... 阅读全文
posted @ 2015-09-26 01:44 阿司★*^_^*联波 阅读(177) 评论(0) 推荐(0) 编辑
摘要: 1 public class Solution { 2 public int FindGreatestSumOfSubArray(int[] array) { 3 if (array.length==0 || array==null) { 4 ... 阅读全文
posted @ 2015-09-26 01:40 阿司★*^_^*联波 阅读(158) 评论(0) 推荐(0) 编辑
摘要: 一天没顾得上吃饭,连续三面真的好累的,记录一下面试过程中的问题吧,也算是对自己学习过程中的总结吧!一面很奇怪HR面,二面技术面,三面是综合面,在这里主要说说二面过程中的问题吧!和同学一起去的面试,大部分面了5分钟结束,不知道面试官比较感兴趣还是怎么了,就给面了30多分钟,其中的问题就记得下面这些,当... 阅读全文
posted @ 2015-09-25 18:03 阿司★*^_^*联波 阅读(170) 评论(0) 推荐(0) 编辑