自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

繁城落叶

干云蔽日之木,起于葱青。

  • 博客(10)
  • 资源 (8)
  • 问答 (2)
  • 收藏
  • 关注

原创 利用Volume在主机和Docker容器文件传输。

之前写过一篇关于Docker容器和本机之间的文件传输。的文章,但是此方法相对比较繁琐一些,在查看了官方关于数据管理的文档之后发现利用volume来实现主机和容器的文件传输效率更高一点,其实也就是将本地的目录进行挂载到容器上,官方一共有三种方法:Manage data in Docker, 这里只介绍使用volume的操作:Use volumes1.使用Volume在主机和容器之间传输文件。在官方

2017-11-19 16:57:45 8461

原创 C语言中socket使用讲解。

1.socket定义。在Linux中的网络编程是通过socket接口来进行的。其实socket接口也是一种特殊的I/O(在《深入理解计算机系统》这本书中的IO部分也有提到网络也是一种特殊的IO),它也是一种文件描述符。socket也有一个类似于打开文件的函数调用,该函数返回一个整型的socket描述符,随后的建立连接、数据传输等操作都是通过socket来实现的。2.socket的类型。1 .流式so

2017-11-06 20:52:51 24730 5

原创 485. Max Consecutive Ones。

Given a binary array, find the maximum number of consecutive 1s in this array.Example 1: Input: [1,1,0,1,1,1] Output: 3 Explanation: The first two digits or the last three digits are consecutiv

2017-11-28 21:25:21 676

原创 442. Find All Duplicates in an Array。

Given an array of integers, 1 ≤ a[i] ≤ n (n = size of array), some elements appear twice and others appear once.Find all the elements that appear twice in this array.Could you do it without extra space

2017-11-27 21:03:43 774

原创 566. Reshape the Matrix。

In MATLAB, there is a very useful function called ‘reshape’, which can reshape a matrix into a new one with different size but keep its original data.You’re given a matrix represented by a two-dimensio

2017-11-25 19:56:29 578

原创 561. Array Partition I。

Given an array of 2n integers, your task is to group these integers into n pairs of integer, say (a1, b1), (a2, b2), …, (an, bn) which makes sum of min(ai, bi) for all i from 1 to n as large as possibl

2017-11-21 20:35:53 950

原创 LeetCode目录。

本目录只会在一个Tag完成之后更新,实时更新目录:https://github.com/jiajia0/LeetCode。按照LeetCode的Tags来区分的话,目前共有34个Tag,只列出已经解决的题,各分类中按照题目编号排序:Linked List。Solved:21/28 # Title Difficulty 2 Add Two Numbe

2017-11-21 18:41:33 581

原创 725. Split Linked List in Parts。

Given a (singly) linked list with head node root, write a function to split the linked list into k consecutive linked list “parts”.The length of each part should be as equal as possible: no two parts s

2017-11-20 20:53:47 1179

原创 Docker命令小记。

记录一下Docker中的命令,容器名称以:leafage 为例。启动docker:systemctl start docker( RHEL7 红帽企业版”(Red Hat Enterprise Linux)) / service docker start (Linux 6)开机启动docker:service dorcker enable (6)/ systemctl enable docker

2017-11-17 21:46:19 575

原创 利用Python分析学校四六级过关情况。

这段时间看了数据分析方面的内容,对Python中的numpy和pandas有了最基础的了解。我知道如果我不用这些技能做些什么的话,很快我就会忘记。想起之前群里发过一个学校的四六级成绩表,正好可以用来熟悉一下pandas中的一些用法。1.数据介绍。成绩表中包含的字段十分详细,里面有年级、性别、姓名、分数等等的一系列内容,我只想简单的分析一下我们学校的四六级过关率而已,所以去除了一些不必要的字段。留下的

2017-11-17 14:08:26 1547 4

系统分析与设计-小云铺上商城系统

系统分析与设计课程设计、小云铺商城系统、采用startUML建模、vision绘制部分图。包括用例图、类图、活动图、协作图、部署图、流程图等等,文档齐全。

2017-12-26

hadoop安装指南

hadoop安装指南

2017-05-22

Oracle11g安装卸载详细图解

oracle11g安装过程图解

2017-05-14

Android无限轮播源码

Android基于ViewPager实现的无限轮播源码

2017-04-06

ChromeDriver驱动(win32)

下载后解压,如果是使用python,则将解压后的文件放到python安装的目录下面。

2017-02-11

c++文件加密课程设计

采用cpp实现文件加密,加密算法包括凯撒加密、异或加密、四方加密、栅栏加密、base64加密。

2017-01-19

JavaScript注册登录

JavaScript注册登录界面

2016-12-16

C++贪吃蛇源代码

C++贪吃蛇源代码。

2016-12-11

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

TA关注的人

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