wake,awake,waken,awaken的区别这4个单词都有"醒来,唤醒,弄醒"的意意思,但又有不同之处。 1:wake,作及物动词和不及物动词的时候都常与up连用。a:I wake up at six every morning。我每天早上六点醒来。b:Please wake me up a...
分类:
其他好文 时间:
2015-06-02 23:20:18
阅读次数:
695
平时使用Vagrant+VirtualBox来配合使用,今天所在服务器异常关机后,再次启动vagrant up的时候,屏幕提示: 解决方法 : 1. 找到虚拟机目录,如下: ├── Logs/
├── Snapshots/
├── box-disk1.vmdk
├──...
分类:
其他好文 时间:
2015-06-02 18:19:45
阅读次数:
116
ip:更改或显示路由、IP、协议等信息iplink:接口管理show[DEVICE]:显示网卡接口信息set[DEVICE][up|down]:开启或关闭网络接口multicast[on|off]:开启或关闭组播ipaddr:协议地址管理ipaddr[show|flush][DEVICE]:显示或清空网卡设备信息例:ipaddrshowens33ipaddr[add|del]A..
分类:
系统相关 时间:
2015-06-02 18:11:28
阅读次数:
152
ifconfig:网络接口配置命令命令语法:ifconfig:显示所有激活的接口信息ifconfig[interface]:显示指定接口信息例:ifconfigeth0ifconfig[interface][up|down]:临时启动或关闭指定网络接口例:ifconfigeth0downifupeth0:1ifdownifconfig[interface][ipaddr]netmask[mask]:临时..
分类:
其他好文 时间:
2015-06-02 18:11:00
阅读次数:
145
Given a linked list, determine if it has a cycle in it.
Follow up:
Can you solve it without using extra space?
基本思路:
快慢两指针。
一个指针每次移动一步,另一个指针每次移动两步。如存在环,必有相遇的时候。
/**
* Definition for singly-li...
分类:
其他好文 时间:
2015-06-02 17:57:11
阅读次数:
89
1、查看RAC服务状态node1-> crs_stat -tName Type Target State Host------------------------------------------------------------ora.DATA.dg ora....up.type ONLINE...
分类:
其他好文 时间:
2015-06-02 17:09:02
阅读次数:
112
Unique Paths IITotal Accepted:35061Total Submissions:125276My SubmissionsQuestionSolutionFollow up for "Unique Paths":Now consider if some obstacles a...
分类:
其他好文 时间:
2015-06-02 16:48:50
阅读次数:
96
加载GRE模块modprobeip_gre创建Tunnel名为officeiptunneladd
officemodegreremote111.206.164.122local111.206.0.88ttl255iplinksetoffice
up为tunnel增加IP地址ipaddadd
10.100.100.1/30devoffice创建一个路由表,表名为136iprouteadddefaultvia103.246.132.61table136创建一..
分类:
系统相关 时间:
2015-06-02 15:34:05
阅读次数:
279
题目大意:求(1^K + 2^K + 3K + … + N^K) % 2^32解题思路:
借用别人的图
可以先打表,求出Cnm,用杨辉三角可以快速得到#include
typedef unsigned long long ll;
const int N = 55;
const ll mod = (1LL << 32);
struct Matrix{
ll mat[N][N...
分类:
其他好文 时间:
2015-06-02 15:20:40
阅读次数:
124
介绍一种如何创建SQL语句的技术--“Request/Translation/Clean Up/SQL”.我是从来不用,不过读者有兴趣的话可以尝试.这种技术贯穿本书,占了不少篇幅....
分类:
数据库 时间:
2015-06-02 13:31:15
阅读次数:
149