会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Rocinante
ASAP - always strive and prosper.
WTF - What's true for love, is true for code.
********************************Manjaro - yyds!********************************
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
8
9
10
···
27
下一页
2018年11月18日
读书笔记 - 习惯的力量
摘要: 1. 如何让消费者买你的产品? 让他/她产生新习惯。 第一点:暗示。第二点:奖赏。 事例:1. 纺必适,暗示:烟味。奖赏:消除异味。2. 白速得牙膏。
阅读全文
posted @ 2018-11-18 15:09 Rocin
阅读(203)
评论(0)
推荐(0)
2018年11月6日
MongoDB - 用户名密码认证
摘要: 参考 "offical doc" "medium" Mongo roles说明 https://docs.mongodb.com/manual/reference/built in roles/ userAdmin
阅读全文
posted @ 2018-11-06 14:32 Rocin
阅读(398)
评论(0)
推荐(0)
数据库 - 移动PostgreSQL的数据目录移到新位置上
摘要: 转: https://www.howtoing.com/how to move a postgresql data directory to a new location on ubuntu 16 04
阅读全文
posted @ 2018-11-06 14:30 Rocin
阅读(734)
评论(0)
推荐(0)
2018年10月23日
正则表达式 - (?!), (?:), (?=)
摘要: ``` (?:pattern) 非获取匹配,匹配pattern但不获取匹配结果,不进行存储供以后使用。这在使用或字符“(|)”来组合一个模式的各个部分是很有用。例如“industr(?:y|ies)”就是一个比“industry|industries”更简略的表达式。 (?=pattern) 非获取匹配,正向肯定预查,在任何匹配pattern的字符串开始处匹配查找字符串,该匹配不需要获取供以后使...
阅读全文
posted @ 2018-10-23 11:26 Rocin
阅读(55253)
评论(3)
推荐(8)
2018年10月12日
工具 - 工具集合
摘要: 1. https://snipper.io/ 2. https://carbon.now.sh 3. https://astralapp.com/ 方便查看github starred repos 4. https://devdocs.egoist.sh/ 5. https://www.jetbra
阅读全文
posted @ 2018-10-12 20:57 Rocin
阅读(166)
评论(0)
推荐(0)
2018年10月7日
SQL - 各种joins
摘要: 
阅读全文
posted @ 2018-10-07 11:41 Rocin
阅读(102)
评论(0)
推荐(0)
2018年10月4日
爬虫 - 定时获取代理池(简单方法)
摘要: ``` import requests import time from read_ip_pool import read_ip_pool PROXIES_URL = '' def get_ip_pool(url=PROXIES_URL): """ 根据URL构造代理池 :param PROXIES_URL: :return: [] """ resp...
阅读全文
posted @ 2018-10-04 21:41 Rocin
阅读(279)
评论(0)
推荐(0)
2018年9月27日
Django - 在settings配置终端打印SQL语句
摘要: 例如进入admin可以观察得到
阅读全文
posted @ 2018-09-27 15:01 Rocin
阅读(385)
评论(0)
推荐(0)
2018年9月23日
Scrapy - response.css()
摘要: 选择文本 选择href
阅读全文
posted @ 2018-09-23 00:09 Rocin
阅读(3343)
评论(0)
推荐(1)
2018年9月13日
JavaScript - 获取当前页面某个节点的个数
摘要: ``` document.getElementsByTagName().length; ```
阅读全文
posted @ 2018-09-13 15:29 Rocin
阅读(627)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
9
10
···
27
下一页
公告