首页 > 全部
安装LAMP(CentOS6.5)
操作系统:CentOS6.5(x86_64)     安装方式:源码安装 & RPM包     安装目录:/opt/     安装文件:                      (1) Apache Httpd(V2.2.x)                      (2) MySQL(V5.5)                            a) client(V5.5....
分类:其他   时间:2014-02-07 11:29:29    收藏:0  评论:0  赞:0  阅读:350
帧、报文、报文段、分组、包、数据报的概念区别
分组、包,packet,信息在互联网当中传输的单元,网络层实现分组交付。用抓包工具抓到的一条条记录就是包。 帧,frame,数据链路层的协议数据单元。我们将链路层分组称为帧。 数据报,Datagram,通过网络传输的数据的基本单元,包含一个报头(header)和数据本身,其中报头描述了数据的目的地以及和其它数据之间的关系。可以理解为传输数据的分组。我们将通过网络传输的数据的基本...
分类:其他   时间:2014-02-07 10:56:59    收藏:0  评论:0  赞:0  阅读:316
UVA 1326 - Jurassic Remains(技巧枚举+位运算)
Paleontologists in Siberia have recently found a number of fragments of Jurassic period dinosaur skeleton. The paleontologists have decided to forward them to the paleontology museum. Unfortunately, t...
分类:其他   时间:2014-02-07 10:53:39    收藏:0  评论:0  赞:0  阅读:347
【索引】Chapter 1. Algorithm Design :: Designing Efficient Algorithms :: Examples
链接:http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=460 点击题目进入题解:   Title Total Submissions / Solving % Total Users / Solving % 11462 - Age Sort 24713...
分类:其他   时间:2014-02-07 11:48:39    收藏:0  评论:0  赞:0  阅读:388
Leetcode Palindrome Partitioning II
因为我研究了很长时间,没看提示的情况下,观察了各种可能的判断,始终没有找到可行的快捷方法,判断时间效率必定为O(n*n),没有找到什么规律可以提高效率。最后上网搜索也没看到有可行方法。 整个题目解决,如果是可以O(n*n*n)时间复杂度是稍微简单点的,不然对动态规划法的运用就要求比较高了。 下面程序分两个函数,两步解决问题: 函数1 先产生一个回文表,记录了所有子串是回文的表。 函数2 判断最小分隔步数...
分类:其他   时间:2014-02-07 11:16:09    收藏:0  评论:0  赞:0  阅读:359
面向对象设计 经验谈
/*面向对象设计把握一个重要的经验:谁拥有数据,谁就对外提供操作这些数据的方法 1.人在黑板上画圆 2.列车司机紧急刹车 3.售货员统计收获小票的金额 4.你把门关上了 5。球从一根绳子的一段移动到了另一端*/ 1.对于这个设计,上面有person , blackborad , circle三个对象...
分类:其他   时间:2014-02-07 10:40:19    收藏:0  评论:0  赞:0  阅读:310
[Leetcode]-- N-Queens II
Follow up for N-Queens problem.Now, instead outputting board configurations, return the total number of distinct solutions.
分类:其他   时间:2014-02-07 10:39:29    收藏:0  评论:0  赞:0  阅读:352
使用PHP CURL的POST数据
使用PHP CURL的POST数据curl 是使用URL语法的传送文件工具,支持FTP、FTPS、HTTP HTPPS SCP SFTP TFTP TELNET DICT FILE和LDAP。curl 支持SSL证书、HTTP POST、HTTP PUT 、FTP 上传,kerberos、基于HTT...
分类:Web开发   时间:2014-02-07 10:38:39    收藏:0  评论:0  赞:0  阅读:421
PHP常用代码大全
1、连接MYSQL数据库代码 2、读取数据库,并实现循环输出 循环的内容......... 3、如何实现分页,包括两个函数,两个调用 1)两个函数 =0?$pages:0; $prepage = ($page>0)?$page-1:0; $nextpage = ($page=$shownum)?$p...
分类:Web开发   时间:2014-02-07 10:36:59    收藏:0  评论:0  赞:0  阅读:480
Codeforce Round #227 Div2
这回的看错时间了!发现理论可以涨分的- -
分类:其他   时间:2014-02-07 10:36:09    收藏:0  评论:0  赞:0  阅读:180
mysql_fetch_assoc() ,mysql_fetch_array() , mysql_fetch_row()的区别
1、mysql_fetch_assoc() 函数从结果集中取得一行作为关联数组。返回根据从结果集取得的行生成的关联数组,如果没有更多行,则返回 false。输出:Array([LastName] => Adams[FirstName] => John[City] => London)2、mysql_...
分类:数据库技术   时间:2014-02-07 10:35:19    收藏:0  评论:0  赞:0  阅读:473
Jump Game II
Given an array of non-negative integers, you are initially positioned at the first index of the array.Each element in the array represents your maximu...
分类:其他   时间:2014-02-07 10:34:29    收藏:0  评论:0  赞:0  阅读:312
[Leetcode]-- Palindrome Number
Determine whether an integer is a palindrome. Do this without extra space.Some hints:Could negative integers be palindromes? (ie, -1)If you are thinki...
分类:其他   时间:2014-02-07 10:31:59    收藏:0  评论:0  赞:0  阅读:411
[Leetcode]-- Minimum Path Sum
Given amxngrid filled with non-negative numbers, find a path from top left to bottom right whichminimizesthe sum of all numbers along its path.Note:Yo...
分类:其他   时间:2014-02-07 10:31:09    收藏:0  评论:0  赞:0  阅读:368
Unique Paths II
There is one obstacle in the middle of a 3x3 grid as illustrated below.[ [0,0,0], [0,1,0], [0,0,0]] 1 public class Solution { 2 public int uniquePaths...
分类:其他   时间:2014-02-07 10:30:19    收藏:0  评论:0  赞:0  阅读:331
Trapping Rain Water
Givennnon-negative integers representing an elevation map where the width of each bar is 1, compute how much water it is able to trap after raining.Fo...
分类:移动平台   时间:2014-02-07 10:29:29    收藏:0  评论:0  赞:0  阅读:376
Palindrome Number
Determine whether an integer is a palindrome. Do this without extra space. 1 public class Solution { 2 public boolean isPalindrome(int x) { 3 if(x=10)...
分类:其他   时间:2014-02-07 10:28:39    收藏:0  评论:0  赞:0  阅读:492
深入探讨 Java 类加载器(转载)
类加载器(class loader)是 Java?中的一个很重要的概念。类加载器负责加载 Java 类的字节代码到 Java 虚拟机中。本文首先详细介绍了 Java 类加载器的基本概念,包括代理模式、加载类的具体过程和线程上下文类加载器等,接着介绍如何开发自己的类加载器,最后介绍了类加载器在 Web...
分类:其他   时间:2014-02-07 10:27:49    收藏:0  评论:0  赞:0  阅读:449
Memcached应用总结
Memcached应用总结 memcached是一款高性能的分布式缓存系统,凭借其简单方便的操作,稳定可靠的性能广泛应用于互联网应用中,网上关于memcached介绍的资料也很多,最经典的资料就是《memcached全面剖析》这个文档,原文链接:http://gihyo.jp/dev/feature...
分类:其他   时间:2014-02-07 10:26:59    收藏:0  评论:0  赞:0  阅读:452
ubuntu 12.04 设置主题颜色的方法
http://www.2cto.com/os/201307/226898.html
分类:其他   时间:2014-02-07 10:26:09    收藏:0  评论:0  赞:0  阅读:405
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!