会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Aquarius
https://github.com/AquariusStar
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
2017年5月16日
安装Redis
摘要: 一、安装Redis 安装Redis:http://redis.io/download 安装完成后,拷贝一份Redis安装目录下的redis.conf到任意目录,建议保存到:/etc/redis/redis.conf (Windows系统可以无需变动) 二、修改配置文件 redis.conf 打开你的
阅读全文
posted @ 2017-05-16 00:50 sawyer_aquarius
阅读(146)
评论(0)
推荐(0)
2017年5月15日
git秘钥生成
摘要: #修改git配置 vi .gitconfig #生成秘钥 ssh-keygen -t rsa -C "邮箱地址" #查看秘钥 cat id_rsa.pub
阅读全文
posted @ 2017-05-15 00:12 sawyer_aquarius
阅读(131)
评论(0)
推荐(0)
2017年5月8日
联合查询
摘要: select department.name from employee inner join department on departmentld=department.id group by departmentld order by avg(salary) desc limit 0,3; 查询
阅读全文
posted @ 2017-05-08 21:28 sawyer_aquarius
阅读(130)
评论(0)
推荐(0)
python 排序之sort
摘要: #coding:utf-8 #求列表的第二大值 list_test =[6,2,4,6,1,2,3,4,5] list_test.sort() print list_test[-2] """6""" help(list_test.sort) """Help on built-in function sort: sort(...) L.sort(cmp=None, key=None...
阅读全文
posted @ 2017-05-08 18:58 sawyer_aquarius
阅读(185)
评论(0)
推荐(0)
2017年2月26日
python3-asyncio异步爬虫测试(无注释demo)
摘要: #!/usr/bin/python3 "this is a spider" import re import asyncio import urllib.request, urllib.parse, urllib.error import http.cookiejar async def html(urlAddr): req = urllib.request.Request...
阅读全文
posted @ 2017-02-26 17:21 sawyer_aquarius
阅读(417)
评论(0)
推荐(0)
2017年2月23日
python3 asyncio-协程模块测试代码
摘要: import time import asyncio #统计运行时间的装饰器 def run_time(func): def wrapperfunc(*argv, **kwargv): now = lambda : time.time() start = now() func(*argv, **kwargv) end =...
阅读全文
posted @ 2017-02-23 16:11 sawyer_aquarius
阅读(213)
评论(0)
推荐(0)
2017年2月16日
VIM --使用进阶 -- 插件篇 -- YouCompleteMe -- nerdtree
摘要: 系统:ubuntu: 资源:https://github.com/ 其他:想了解都要哪些好用的插件,推荐大家读 http://blog.csdn.net/mergerly/article/details/51671890 这个博客的内容很赞。 vim本身是一个非常优秀的编辑器,为了提升使用流畅感,增
阅读全文
posted @ 2017-02-16 13:00 sawyer_aquarius
阅读(1770)
评论(1)
推荐(1)
2016年7月9日
R语言爬虫 rvest包 html_text()-html_nodes() 原理说明
摘要: 例子网页:http://search.51job.com/jobsearch/search_result.php?fromJs=1&jobarea=010000%2C00&funtype=0000&industrytype=00&keyword=%E6%95%B0%E6%8D%AE&keywordt
阅读全文
posted @ 2016-07-09 19:21 sawyer_aquarius
阅读(1525)
评论(1)
推荐(1)
上一页
1
2
公告