自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(9)
  • 资源 (1)
  • 收藏
  • 关注

原创 MySQL面试题1

eventsevent_typevaluetime252015-05-09 12:42:00272015-05-09 12:54:39222015-05-09 14:48:30

2016-08-24 21:07:13 443

原创 4个数字凑最大时间

Give four digits, find the maximum valid time that can be displayed on a digital clock(in 24 hours format) using those digits. For example, given digits 1, 8, 3, 2, the maximum valid time is "23:18".

2016-08-21 22:34:58 3609

原创 220. Contains Duplicate III

Given an array of integers, find out whether there are two distinct indices i and j in the array such that the difference between nums[i] and nums[j] is at most t and the difference between i an

2016-06-30 14:56:55 266

原创 278. First Bad Version

You are a product manager and currently leading a team to develop a new product. Unfortunately, the latest version of your product fails the quality check. Since each version is developed based on the

2016-06-30 14:54:01 265

原创 371. Sum of Two Integers

Calculate the sum of two integers a and b, but you are not allowed to use the operator + and -.Example:Given a = 1 and b = 2, return 3.def addTwoInt(a, b): # python的问题,需要加这段判断 if b =

2016-06-30 14:30:45 346

原创 Docker本地搭建master-slave redis

1. pull redis imagedocker pull redis2. 设置docker宿主机sysctl vm.overcommit_memory = 1,并且启动redis-masterdocker run -it --name redis-master -p 6379:6379 redis /bin/bash-p参数将6379暴露出来,为以后使用。

2016-06-27 12:05:29 842

原创 Docker 常见问题汇总

1. “docker: Network timed out while trying to connect to https://index.docker.io/v1/repositories/library/hello-world/images. You may want to check your internet connection or if you are behind a proxy

2016-06-21 10:22:03 798

原创 Docker 命令

本文枚举docker各种命令,如有缺失欢迎补充。命令格式:docker run hello-worlddocker: 告诉操作系统使用docker程序。run: 子命令。用来创建、执行一个docker容器。hello-world: 指明哪一个Image将被装载到容器中。=====================================================

2016-06-21 09:33:31 339

原创 Ubuntu安装KVM

Ubuntu安装KVM,本文基于官文翻译,加一点自己的理解。官方帖子:https://help.ubuntu.com/community/KVM/Installation1. 检查CPU是否支持硬件虚拟化egrep -c '(vmx|svm)' /proc/cpuinfo0 -- CPU不支持硬件虚拟化; 1 or more -- CPU支持硬件虚拟化;或者:k

2016-06-06 16:26:35 1217

基于FPGA的I2C通信协议

FPGA的I2C通信协议,verilog语言

2012-09-05

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除