自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(17)
  • 收藏
  • 关注

转载 win10子系统Ubuntu重置

重置:在win10命令行下执行:lxrun /uninstall /full安装:win+R打开bash执行命令:lxrun /install /y  转载于:https://www.cnblogs.com/GodBug/p/10733727.html...

2019-04-19 07:52:00 3193

转载 Ubuntu18.04 出现E: Sub-process /usr/bin/dpkg returned an error code (100)

You might want to reinstall dpkg by doing the following:sudo -imkdir /tmp/dpkgcd /tmp/dpkgMind that you might want to look whether the download links are still up-too-dateIf you are...

2018-07-14 20:32:00 477

转载 3. Longest Substring Without Repeating Characters

Given a string, find the length of the longest substring without repeating characters.Examples:Given "abcabcbb", the answer is "abc", which the length is 3.Given "bbbbb", the answer is ...

2018-03-03 09:35:00 118

转载 2. Add Two Numbers

You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order and each of their nodes contain a single digit. Add the two numbers and ret...

2018-03-01 22:18:00 96

转载 go build 不同系统下的可执行文件

Golang 支持在一个平台下生成另一个平台可执行程序的交叉编译功能。1、Mac下编译Linux, Windows平台的64位可执行程序:$ CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build test.go$ CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build test.go...

2017-11-24 14:04:00 261

转载 CentOS7 安装ffmpeg

安装EPEL Release,因为安装需要使用其他的repo源,所以需要EPEL支持:yum install -y epel-release#如果出现缺少Code提示,可以:sudo rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7#安装完成之后,可以查看是否安装成功yum repolist安装Nux-Dextop源#导入一个Cod...

2017-10-19 09:36:00 446

转载 mybatis N+1问题解决

关联嵌套查询示例:<resultMap id="blogResult" type="Blog"> <association property="author" column="author_id" javaType="Author" select="selectAuthor"/></resultMap><sele...

2017-10-17 13:52:00 329

转载 Best Time to Buy and Sell Stock

Say you have an array for which theithelement is the price of a given stock on dayi.If you were only permitted to complete at most one transaction (ie, buy one and sell one share of the st...

2017-08-24 22:45:00 102

转载 119. Pascal's Triangle II

Given an indexk, return thekthrow of the Pascal's triangle.For example, givenk= 3,Return[1,3,3,1].Note:Could you optimize your algorithm to use onlyO(k) extra space?class Soluti...

2017-08-24 22:44:00 98

转载 118. Pascal's Triangle

GivennumRows, generate the firstnumRowsof Pascal's triangle.For example, givennumRows= 5,Return[ [1], [1,1], [1,2,1], [1,3,3,1], [1,4,6,4,1]]...

2017-08-24 22:42:00 94

转载 112. Path Sum

Given a binary tree and a sum, determine if the tree has a root-to-leaf path such that adding up all the values along the path equals the given sum.For example:Given the below binary tree ands...

2017-08-24 22:39:00 84

转载 Minimum Depth of Binary Tree

Given a binary tree, find its minimum depth.The minimum depth is the number of nodes along the shortest path from the root node down to the nearest leaf node. 1 /** 2 * Definition for...

2017-08-18 23:27:00 86

转载 Balanced Binary Tree

Given a binary tree, determine if it is height-balanced.For this problem, a height-balanced binary tree is defined as a binary tree in which the depth of the two subtrees ofeverynode never di...

2017-08-18 22:29:00 84

转载 Java内存泄漏

1、内存泄漏定义sun官方解释:Another common problem with explicit memory management is space leaks. These leaks occur when memory isallocated and no longer referenced but is not released. For example, if y...

2017-08-18 00:04:00 91

转载 Convert Sorted Array to Binary Search Tree

Given an array where elements are sorted in ascending order, convert it to a height balanced BST.public TreeNode sortedArrayToBST(int[] num) { if (num.length == 0) { return null...

2017-08-17 22:53:00 71

转载 centos 7下nginx搭建流媒体服务器【动态添加模块】

1、安装nginx依赖包 yum install gcc gcc-c++ openssl-devel zlib-devel pcre pcre-devel yamdi2.下载解压nginx_mod_h264_streaming,让nginx支持flv,mp4流播放 wget http://h264.code-shop.com/download/nginx_mod_h264_strea...

2017-08-17 22:06:00 201

转载 Quartz的job中注入的services接口为空的解决办法

自己重新定义一个类继承AdaptableJobFactory类public class JobFactory extends AdaptableJobFactory { @Autowired private AutowireCapableBeanFactory capableBeanFactory; @Override ...

2017-04-12 18:25:00 202

空空如也

空空如也

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

TA关注的人

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