2016年8月24日 星期三 --出埃及记 Exodus 16:25"Eat it today," Moses said, "because today is a Sabbath to the LORD. You will not find any of it on the ground today ...
分类:
其他好文 时间:
2016-08-24 17:24:11
阅读次数:
137
2520 is the smallest number that can be divided by each of the numbers from 1 to 10 without any remainder. What is the smallest positive number that i ...
分类:
其他好文 时间:
2016-08-24 00:56:04
阅读次数:
129
CentOS6.8下安装DNS服务器1、安装DNS服务器组件安装bind#yuminstallbindbind-libsbind-utilsbind-chroot2、修改主配置文件/etc/named.conf需要修改的如下(带红色标注):#vi/etc/named.confoptions{listen-onport53{any;};//listen-on-v6port53{::1;};directory"/var/named";d..
分类:
其他好文 时间:
2016-08-23 17:04:19
阅读次数:
283
Biggest Number 时间限制:1000 ms | 内存限制:65535 KB 难度:4 You have a maze with obstacles and non-zero digits in it: You can start from any square, walk in the ...
分类:
其他好文 时间:
2016-08-23 01:07:18
阅读次数:
296
本篇将介绍在TypeScript如何使用泛型。 一、泛型方法 在TypeScript里,声明泛型方法有以下两种方式: 调用方式也有两种: 第二种调用方式可以省略类型参数,因为编译器会根据传入参数来自动识别对应的类型。 在之前介绍的基本类型里,有一个any类型,表示不确定的类型。在具体使用时,可以代替 ...
分类:
其他好文 时间:
2016-08-22 23:24:56
阅读次数:
1692
一、条件表达式 s 可以是 val s 必须是 var 表达式 val s = if(x > 1) 1 else -1的类型是Int 混合类型表达式 一个是String,一个是Int,公共超类型是Any。 ()表示Unit, "无有用值", 当做java中的void. 二、语句终止 每条语句,行尾不 ...
分类:
其他好文 时间:
2016-08-22 19:49:32
阅读次数:
185
安装了Redhat 7.2, 配置路由, 但发现路由重启之后,不能生效. 配置路由: touch /etc/sysconfig/static-router, 然后编辑路由信息如下. any default gw <gw ip> eth0 重启后发现路由不生效, 执行route命令, 发现期望的路由没 ...
分类:
其他好文 时间:
2016-08-22 12:10:32
阅读次数:
123
Have you ever given any thought to your future? 你有没有为将来打算过呢? Have you ever given any thought to your future? Don't mention about your dreams, such as ...
分类:
其他好文 时间:
2016-08-22 07:07:11
阅读次数:
150
网络编程中常用到bind函数,需要绑定IP地址,这时可以设置INADDR_ANY INADDR_ANY就是指定地址为0.0.0.0的地址,这个地址事实上表示不确定地址,或“所有地址”、“任意地址”。 也就是表示本机的所有IP,因为有些机子不止一块网卡,多网卡的情况下,这个就表示所有网卡ip地址的意思 ...
分类:
系统相关 时间:
2016-08-22 00:14:55
阅读次数:
168
Given a binary tree, find the length of the longest consecutive sequence path. The path refers to any sequence of nodes from some starting node to any ...
分类:
其他好文 时间:
2016-08-21 15:10:35
阅读次数:
155