自定义博客皮肤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)
  • 收藏
  • 关注

原创 centos 源码安装nodejs

在服务器上下载源码包wget http://nodejs.org/dist/v0.10.30/node-v0.10.30.tar.gz解压tar xzvf node-v* && cd node-v*安装一些依赖包sudo yum install gcc gcc-c++编译./configuremake之前一步需要一些时间,完成后就可以安装了sudo make install为了检查安装是否成功,输

2017-01-19 12:21:32 173

原创 reset.css文件

初始化css/********************************* CSS Reset *********************************/html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address

2016-10-22 17:13:08 329

原创 javascript动画会飞的叶子

效果如下:首先应用了插件jquery-transform2d.js 可以使animate支持transform,让叶子旋转。html代码:<html><head> <style type="text/css"> *{ margin: 0; padding: 0; border: 0;

2016-10-22 17:05:22 438

原创 使animate支持transform的插件

jquery.trasform.js这个插件可以是animate支持以下动作translateX(<number>px)translateY(<number>px)combined: translate(<number>px, <number>px) the second number is optional and defaults to 0scaleX(<number>)scaleY(<

2016-10-22 13:14:58 622

原创 css块垂直水平居中

.blockk{ height: 100px; width: 200px; background-color: #bbb; position: absolute; top: 50%; margin-top: -50px; left: 50%; margin-left: -100px; margin: 0 auto;}

2016-10-19 15:13:35 230

原创 macbook下sublime text 安装package control后没有显示的问题

sublime text3 按照官网的方法,无论是自动还是手动安装后preferences都没有显示packages control。以为是安装失败,反复几次依然没有用。后来发现问题在setting中。打开preferences-setting,查找package control"ignored_packages": [ "Package control" "

2016-10-16 17:12:44 3621 1

原创 python 抓取知乎

刚入门python,本着就是干的原则,从小项目开始。今天在抓取网页的时候遇到了问题。import urllib.requesturl="http://www.fafu.edu.cn"#url="http://www.zhihu.com"m=urllib.request.urlopen(url).read()#m.decode("utf-8").encode('')f=open(

2015-08-04 22:17:03 516

原创 mac 安装pillow模块

mac下装点东西可是真费劲。 pillow模块,用于python里的图像处理。 安装的过程L:1.First make sure you have developer tools installed,if not,use the following command in terminal.xcode-select –install2.go to here https://pypi.python.

2015-07-30 17:47:30 413

空空如也

空空如也

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

TA关注的人

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