DNS (Domain Name System 的缩写)的作用非常简单,就是根据域名查出IP地址。简单来讲就是一本巨大的电话本。 举例来说,如果你要访问域名www.baidu.com,首先要通过DNS查出它的IP地址是14.215.177.38。 IP的查询其实是分级查询的。 一、首先是获知DNS的 ...
分类:
其他好文 时间:
2018-10-29 21:37:35
阅读次数:
126
环境检查 [root@db01 bin]# cat /etc/redhat-release CentOS Linux release 7.5.1804 (Core) [root@db01 bin]# uname -r 3.10.0-862.el7.x86_64 [root@db01 bin]# ho ...
分类:
数据库 时间:
2018-10-29 20:02:20
阅读次数:
139
概述 在使用Python处理数据的过程中常常需要读取或写入Excel表格,本文简要介绍使用xlrd读取Excel表格数据及使用XlsxWriter将数据写入到指定的sheet中。 Code Sample Excel读操作示例 Excel 写操作示例 写操作效果展示 参考 "Creating Exce ...
分类:
编程语言 时间:
2018-10-29 14:15:33
阅读次数:
198
1. 表的设计 1.1 Pre-Creating Regions 默认情况下,在创建HBase表的时候会自动创建一个region分区,当导入数据的时候,所有的HBase客户端都向这一个region写数据,直到这个region足够大了才进行切分。一种可以加快批量写入速度的方法是通过预先创建一些空的re ...
分类:
其他好文 时间:
2018-10-29 11:52:54
阅读次数:
190
EFCore 2.1出来有一段时间了,里面的新功能还没怎么用,今天研究下如何使用EF Core 2.1添加种子数据。 这部分的官方文档地址是:https://docs.microsoft.com/en-us/ef/core/modeling/data-seeding 我们在开发时总是需要添加一些种子 ...
分类:
其他好文 时间:
2018-10-29 10:30:50
阅读次数:
272
package main import ( "fmt" "strings" ) func numUniqueEmails(emails []string) int { var dic map[string]int dic = make(map[string]int) for _, s := rang... ...
分类:
其他好文 时间:
2018-10-28 22:00:32
阅读次数:
157
严重: Context initialization failedorg.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.validatio ...
分类:
编程语言 时间:
2018-10-28 17:51:53
阅读次数:
370
题目如下: Every email consists of a local name and a domain name, separated by the @ sign. For example, in alice@leetcode.com, alice is the local name, an ...
分类:
其他好文 时间:
2018-10-28 16:03:22
阅读次数:
279
友盟架构图1 友盟架构图2 日志生成类 package com.star.umeng.phone.domain; /** * App日志的公共属性 */ public class AppBaseLog { private Long createdAtMs; //日志创建时间 private Stri ...
分类:
其他好文 时间:
2018-10-28 15:00:26
阅读次数:
229
1.mybatis 中 foreach collection的用法 2.mybatis批量插入更新 方法一: 方法二: ...
分类:
数据库 时间:
2018-10-27 19:46:41
阅读次数:
145