自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(8)
  • 资源 (4)
  • 收藏
  • 关注

原创 Mellanox网卡不能分配VF解决方法

背景  VF全称为Virtual Function,是硬件的SR-IOV特性提供的功能,简单的说,就是把一个物理上的设备,虚拟出多个虚拟设备,这些虚拟设备可以再分给其他OS使用。   Mellanox网卡大多支持SR-IOV功能,我们通过加载Mellanox网卡的驱动来实现分配VF的功能。 如下,就是把每个Mellanox网卡分配出多8个虚拟功能VF。然而,这次我们驱动加载却失败了,dmesg报错

2016-10-31 20:39:01 4272

原创 【LeetCode】415 Add Strings (java实现)

原题链接https://leetcode.com/problems/add-strings/原题Given two non-negative numbers num1 and num2 represented as string, return the sum of num1 and num2.Note:The length of both num1 and num2 is < 5100.Both

2016-10-28 07:08:48 4829 2

原创 【LeetCode】401 Binary Watch (java实现)

原题链接https://leetcode.com/problems/binary-watch/原题A binary watch has 4 LEDs on the top which represent the hours (0-11), and the 6 LEDs on the bottom represent the minutes (0-59).Each LED represents a z

2016-10-24 07:17:12 3007 1

原创 【LeetCode】400 Nth Digit(java实现)

原题链接https://leetcode.com/problems/nth-digit/原题Find the nthn^th digit of the infinite integer sequence 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, …Note: n is positive and will fit within the range of a 32-bit

2016-10-24 07:15:21 1745

原创 windows下安装pip、Flask

简介  Flask 是一个 Python 实现的 Web 开发微框架。而pip类似RedHat里面的yum,安装Python包非常方便,本文中我们就需要使用pip来安装Flask。本文与其他安装文档介绍的不同点就是,会介绍到没有外网权限时如何使用代理来下载安装。 pip安装使用get-pip.py安装pip  使用浏览器下载get-pip.py文件:https://bootstrap.pypa.i

2016-10-20 00:38:41 6935

原创 【LeetCode】387 First Unique Character in a String(java实现)

原题Given a string, find the first non-repeating character in it and return it’s index. If it doesn’t exist, return -1.Examples:s = "leetcode"return 0.s = "loveleetcode",return 2.Note: You may assume t

2016-10-20 00:37:41 2565

原创 windows下pip配置

简介  pip用于python包的安装,类似于Redhat下的yum、Ubuntu下的apt-get,可以解决安装包依赖的问题,非常方便。这里,我们主要讲下windows下的配置。 配置文件路径  有多个路径可以配置pip,如果不存在该路径,可以自行创建。 1. 每个用户的配置路径:%APPDATA%\pip\pip.ini或者%HOME%\pip\pip.ini。其中,%APPDATA%和

2016-10-20 00:36:57 29053 3

原创 【LeetCode】404 Sum of Left Leaves(java实现)

原题Find the sum of all left leaves in a given binary tree. Example: 3 / \ 9 20 / \ 15 7There are two left leaves in the binary tree, with values 9 and 15 respectively. Return 24.题

2016-10-20 00:34:27 1894

etcd-v2.2.1-linux-amd64.tar.gz

etcd-v2.2.1-linux-amd64.tar.gz

2017-03-26

重构改善既有代码的设计

重构改善既有代码的设计,代码重构优化。

2015-07-22

STL源码剖析简体中文完整版(清晰扫描带目录)

STL源码剖析简体中文完整版(清晰扫描带目录)

2015-07-20

Introduction To Algorithms,算法导论英文版

Introduction To Algorithms,算法导论英文版

2015-07-20

空空如也

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

TA关注的人

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