原文网址:http://www.cooboys.com/Article/detail/226691.当时到搜狐之后又做 CMS,因为搜狐是媒体公司。搜狐那会儿是没有成熟系统的,我说我搞得定,然后确实也就搞定了。2.后来我们还把另一个事做起来了,就是搜狗的输入法,这个事情还是蛮有渊源的。当时我团队中间...
分类:
其他好文 时间:
2015-12-05 07:14:18
阅读次数:
211
A letter to our daughter 扎克伯格写给女儿的信Mark Zuckerberg·Tuesday, December 1, 2015Dear Max, 亲爱的玛克斯Your mother and I don't yet have the words to describe the...
分类:
其他好文 时间:
2015-12-05 07:13:40
阅读次数:
503
原题链接在这里:https://leetcode.com/problems/plus-one/特殊情况是 全是9时需要新建一个数组。Time Complexity: O(n), Space O(n).AC Java: 1 public class Solution { 2 public in...
分类:
其他好文 时间:
2015-12-05 07:12:29
阅读次数:
117
第一步:安装树莓派交叉编译环境使用的环境:ubuntu13.041.下载交叉编译工具wget https://s3.amazonaws.com/RTI/Community/ports/toolchains/raspbian-toolchain-gcc-4.7.2-linux32.tar.gz2.解压...
分类:
移动开发 时间:
2015-12-05 07:14:47
阅读次数:
347
上面是lc的单链表题目,下面我又自己加了个双向链表的情况public class Solution { public ListNode swapPairs(ListNode head) { if (head == null || head.next == null) { ...
分类:
其他好文 时间:
2015-12-05 07:12:25
阅读次数:
152
题目:Write a program to find then-th ugly number.Ugly numbers are positive numbers whose prime factors only include2, 3, 5. For example,1, 2, 3, 4, 5, 6...
分类:
其他好文 时间:
2015-12-05 07:12:25
阅读次数:
179
下载PHP# wgethttp://cn2.php.net/distributions/php-7.0.0.tar.gz解压缩PHP# tar -zxvfphp-7.0.0.tar.gz && cdphp-7.0.0安装依赖软件# yum -y install gcc libxml2-devel编译...
分类:
Web程序 时间:
2015-12-05 07:11:42
阅读次数:
258
使用方法:@Html.Action(action, controller)加载局部页面。例如在模板页中使用:@Html.Action("Contact", "Company")在CompanyController中有如下方法:public PartialViewResult Contact(){//...
分类:
Web程序 时间:
2015-12-05 07:12:32
阅读次数:
201
分类:
其他好文 时间:
2015-12-05 07:13:23
阅读次数:
160
stats查看memcached状态的基本命令,通过这个命令可以看到如下信息:STAT pid 22459 进程IDSTAT uptime 1027046 服务器运行秒数STAT time 1273043062 服务器当前unix时间戳STAT version 1.4.4 服务器版本STAT poi...
分类:
系统相关 时间:
2015-12-05 07:13:17
阅读次数:
255
转自http://www.liuwu.net/post/aspnet-mvc-learning-5-html-actionlink.aspx一 Html.ActionLink("linkText","actionName")该重载的第一个参数是该链接要显示的文字,第二个参数是对应的控制器的方法,默认...
分类:
Web程序 时间:
2015-12-05 07:12:18
阅读次数:
159
public class Solution { public int[] productExceptSelf(int[] nums) { int length = nums.length; int[] result = new int[length]; ...
分类:
其他好文 时间:
2015-12-05 07:10:00
阅读次数:
163
Linux关于watch的用法2011-07-20 0个评论 收藏我要投稿watch 是一个非常实用的命令,基本所有的Linux发行版都带有这个小工具,如同名字一样,watch 可以帮你监测一个命令的运行结果,省得你一遍遍的手动运行。直接在 watch 后面接你想运行的命令,watch 就会帮你重复...
分类:
系统相关 时间:
2015-12-05 07:12:35
阅读次数:
211
在NFS服务器建一个目录,用来存共享文件,提供NFS磁盘空间[root@PROD2~]#mkdir-p/u01/nfs_shares[root@PROD2~]#ll/u01总用量8drwxr-xr-x4oracleoinstall409611月3016:18appdrwxr-xr-x2rootroot409612月418:25nfs_shares将该目录用于NFS共享[root@PROD2~]#vi/etc/exports[root@P..
分类:
其他好文 时间:
2015-12-05 02:07:14
阅读次数:
195
在CentOS7.x或RedHat7.x上,网卡命名规则变成了默认,既自动基于固件、拓扑结构和位置信息来确定。这样一来虽然有好处,但也会影响操作,因为新的命名规则比之前的难以阅读。如果想修改,可以按照如下方法:1、系统安装完后,网卡信息可能如下:2、修改网卡配置文件,修改NAME为..
分类:
其他好文 时间:
2015-12-05 02:06:00
阅读次数:
386
Linux常用命令:if、for、which、ps、grep、netstat、lsof、head、tail、sed、awk、cut、sort、uniq、dos2unix、find、xargs、kill)一、linux查看占用内存/cpu最高的进程情况(注明:可以使用一下命令查使用内存最多的10个进程)1、查看占用cpu最高的进程psaux|head-1;psaux|g..
分类:
系统相关 时间:
2015-12-05 02:07:03
阅读次数:
177
CentOS最小化安装后,会自动安装好Firewalld作为防火墙,如果想用iptables作为防火墙的话,可以进行如下设置:一.停止firewalld服务[root@localhost~]#systemctlstopfirewalld.service设置开机禁止启用firewalld服务[root@localhost~]#systemctldisablefirewalld.servicerm‘/etc/sy..
分类:
其他好文 时间:
2015-12-05 02:04:24
阅读次数:
321