linux route命令详解 原文:https://www.cnblogs.com/lpfuture/p/5857738.html && http://blog.csdn.net/wangyan_hbu/article/details/51013602 为了让设备能访问另一个子网,需要在设备里增加 ...
分类:
系统相关 时间:
2017-12-20 22:47:00
阅读次数:
259
一、MHA介绍 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 MHA(Master High Availability)目前在MySQL高可用方面是一个相对成熟的解决方案,它由日本DeNA公司youshimaton(现就职于Facebook公司)开发,是日本的一位 M ...
分类:
数据库 时间:
2017-12-08 00:01:30
阅读次数:
456
Given an array of integers, find out whether there are two distinct indices i and j in the array such that the absolute difference between nums[i] and ...
分类:
其他好文 时间:
2017-12-02 11:05:27
阅读次数:
100
解题思路: radar installation海里有很多小岛,我们只能在海岸线上建雷达站,对于给定的雷达站的最大覆盖距离d,要求所有小岛都要被覆盖,求最少的雷达站数目,如果没有解决方案,输出-1。 贪心策略1:让某个雷达站覆盖尽量多的小岛?--》不正确贪心策略2:从左往右建雷达站:最左边的雷达站需 ...
分类:
其他好文 时间:
2017-11-29 17:03:25
阅读次数:
226
转载自: http://preshing.com/20130922/acquire-and-release-fences/ Acquire and release fences, in my opinion, are rather misunderstood on the web right now ...
分类:
其他好文 时间:
2017-11-27 15:18:55
阅读次数:
226
using System; public class Singleton where T : class, new() { private static T m_instance; public static T instance { get { if (Singleton.m_instance =... ...
分类:
编程语言 时间:
2017-11-25 13:09:34
阅读次数:
120
题目描述 给出n个物品,体积为w[i],现把其分成若干组,要求每组总体积<=W,问最小分组。(n<=18) 输入格式: Line 1: N and W separated by a space. Lines 2..1+N: Line i+1 contains the integer C_i, giv ...
分类:
其他好文 时间:
2017-11-23 08:18:44
阅读次数:
138
安装方法来自于 https://nodejs.org/en/download/package-manager/ Installing Node.js via package manager Note: The packages on this page are maintained and supp ...
分类:
其他好文 时间:
2017-11-22 19:59:43
阅读次数:
228
CentOS6.3系统,添加163yum源后,yum安装mysql出现:Runningrpm_check_debugERRORwithrpm_check_debugvsdepsolve:libmysqlclient.so.16isneededbypostfix-2:2.6.6-8.el6.i686libmysqlclient.so.16(libmysqlclient_16)isneededbypostfix-2:2.6.6-8.el6.i686Youcouldtryrunning:rp..
分类:
数据库 时间:
2017-11-18 12:45:23
阅读次数:
199
本节内容 操作系统发展史 手工操作(无操作系统) 1946年第一台计算机诞生--20世纪50年代中期,还未出现操作系统,计算机工作采用手工操作方式。 手工操作程序员将对应于程序和数据的已穿孔的纸带(或卡片)装入输入机,然后启动输入机把程序和数据输入计算机内存,接着通过控制台开关启动程序针对数据运行; ...
分类:
编程语言 时间:
2017-11-16 22:11:59
阅读次数:
266