Python中装饰器是什么? A Python decorator is a specific change that we make in Python syntax to alter functions easily. Python decorator是我们在Python语法中使用的一个特定的更 ...
分类:
编程语言 时间:
2017-08-23 15:29:45
阅读次数:
183
安装gcc 执行命令:yum install gcc 中间有两次提示,要求输入:yes 或 y,我们按照提示来就可以 至此安装成功 注意:如果不装gcc,解压redis后执行make命令会报错,如下图: 安装pstree 下面会用到 安装命令:yum install psmisc,如下图: 安装成功 ...
分类:
其他好文 时间:
2017-08-23 13:32:24
阅读次数:
110
加 Golang学习 QQ群共同学习进步成家立业工作 ^-^ 群号:96933959 Reids 安装导入 链接 github:https://github.com/antirez/redis Doc:http://godoc.org/github.com/garyburd/redigo/redis ...
分类:
数据库 时间:
2017-08-23 11:50:46
阅读次数:
258
1.打开perference 2.选择Build-Compile-Make Project Automatically自动构建项目 ...
分类:
其他好文 时间:
2017-08-23 10:41:42
阅读次数:
508
Create a new Maven Project and we have two class under the package com.example.demo like below screen shot. This page mainly focus on how to make the ...
分类:
编程语言 时间:
2017-08-23 10:21:24
阅读次数:
271
hdu6154 CaoHaha's staff 题意:问在方格上最少用多少笔可以画出面积不小于S的图,笔画只能横竖斜。 tags:笔画肯定尽量斜的最优。规律是:如果当前画出了一个矩形,那接下来的两笔肯定是在较长边上加。所以打出表即可。 ...
分类:
其他好文 时间:
2017-08-22 19:44:50
阅读次数:
141
1. hue整体架构 2.解压hue 3.安装依赖 yum install gmp-devel 4. 编译 make apps 5.修改hue的配置文件 desktop/conf/hue.ini 6。启动hue 7。Hue与hadoop集成 在hadoop的core-site.xml里增加配置 <p ...
分类:
其他好文 时间:
2017-08-22 18:47:00
阅读次数:
152
实验环境:
操作系统CentOS6.5x64
ServerIP地址:192.168.9.104
ClientIP地址:192.168.9.109
1,下载安装rsync
#wgethttps://download.samba.org/pub/rsync/rsync-3.1.2.tar.gz
#tarxfrsync-3.1.2.tar.gz
#cdrsync-3.1.2
#./configure
#make
#makeinstall
2,Server系统配置rs..
分类:
其他好文 时间:
2017-08-22 16:07:02
阅读次数:
129
一、简介 Linux下的程序开发人员,一定都遇到过Makefile,用make命令来编译自己写的程序确实是很方便。一般情况下,大家都是手工写一个简单Makefile,如果要想写出一个符合自由软件惯例的Makefile就不那么容易了. 在本文中,将介绍如何使用autoconf和automake两个工具 ...
分类:
其他好文 时间:
2017-08-22 16:02:49
阅读次数:
170
There are no regrets in life, just lessons. 人生中没有后悔,只有教训。 Some people can learn from their past mistakes and never make the same mistake again. But so ...
分类:
其他好文 时间:
2017-08-22 10:40:28
阅读次数:
178