自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 【leetcode】283.move_zeroes

【leetcode】283.Move ZeroesGiven an array nums, write a function to move all 0’s to the end of it while maintaining the relative order of the non-zero elements.For example, given nums = [0, 1, 0, 3, 12],

2016-07-10 22:40:01 345

原创 python返回数组(list)长度的方法

Python返回数组(List)长度的方法 array = [0,1,2,3,4,5] print len(array)

2016-07-10 22:39:38 4322

原创 python去除list中的重复元素的最简单办法(但性能不一定好)

Python去除list中的重复元素的最简单办法(但性能不一定好)简单来说就是先变成set(集合、本体是红黑树),然后再转换成list代码如下:imglist = list(set(imglist))

2016-07-03 23:50:34 928

原创 安装go第三方库

安装GO第三方库go help查看命令The commands are: build compile packages and dependencies clean remove object files doc show documentation for package or symbol env print

2016-07-03 23:49:05 6642

原创 nginx笔记(杂乱版一)

nginx笔记(杂乱版一)网址:http://tengine.taobao.org/book/chapter_02.html#id1阅读源码,调试代码是一个非常重要的手段,非常快一般我们会设置与机器cpu核数一致主要是因为这样不容易发生CPU迁移,CPU绑核是常用服务器优化手段。MASTER+WORKER=NUM(CPU)从容地重启,这个是一个比较神奇的特性,IPVS并没有从容重启原理:master

2016-07-03 23:48:02 337

空空如也

空空如也

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

TA关注的人

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