- 学习 golang,并撰写一个 golang 的后台服务,定时抓去 aqicn 的数据。
- 去海坨山露营
- 拍一次银河
- 拍一次星空延时
- 出国旅游一次
- 带爸妈出去旅行一次
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
一个人如果不按照你想的方式去活,你就会按照你活的方式去想。 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
看一个人的趣味,看他的配偶。 | |
看一个人的品格,看他的朋友。 | |
看一个人的能力,看他的对手。 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
斗米养恩,担米养仇。 | |
其意思就是如果你在危难的时候给人很小的帮助,人家会感激你。 | |
如果你持续这样下去,突然某次因为什么原因没有帮忙,对方就会记恨你,并且记恨一辈子! | |
从前,有两户人家是邻居,平时关系还不错。其中一家人因为能干些,家中要富裕的多。这两家本来没有什么恩怨的,可是,这一年,老天爷发怒,降下了灾祸,田中颗粒无收。这穷的一家没有了收成,只好躺着等死。这个时候,富的一家买到了很多粮食,想着大家邻居的,就给穷的一家送去了一升米,救了急。 | |
这穷的一家非常感激富人,认为这真是救命的恩人呀!熬过最艰苦的时刻后,穷人就前往感谢富人。说话间,谈起次年的种子还没有着落,富的一家慷慨地说:这样吧,我这里的粮食还有很多,你就再拿去一斗吧。这穷的千恩万谢地拿着一斗米回家了。回家后,他的兄弟说了,这斗米能做什么?除了吃以外,根本就不够我们来地里的种子,这个富人太过分了,既然你这么有钱,就应该多送我们一些粮食和钱,才给这么一点,真是坏的很。这话传到了富人耳朵里,他很生气,心想,我白白送你这么多的粮食,你不仅不感谢我,还把我当仇人一样忌恨,真不是人。于是,本来关系不错的两家人。从此就成了仇人,老死不相往来。 | |
当一个人快被饿死的时候,你给他一升米,他会把你当作恩人;可你要给了他一斗米,他可能会想,既然你出得起一斗米,就能给我更多,你竟然不给我。你就成为他的仇人了。 |
import json
def VPrint(content):
print json.dumps(content, encoding='utf-8', ensure_ascii=False,indent=1)
VPrint(some_dict)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ cd /usr/local/Homebrew && git remote set-url origin https://git.coding.net/homebrew/homebrew.git | |
$ cd $home && brew update |
#查看占用空间总大小
select concat(truncate(sum(data_length)/1024/1024,2),'MB') as data_size,
concat(truncate(sum(max_data_length)/1024/1024,2),'MB') as max_data_size,
concat(truncate(sum(data_free)/1024/1024,2),'MB') as data_free,
concat(truncate(sum(index_length)/1024/1024,2),'MB') as index_size
from information_schema.tables where TABLE_SCHEMA = 'database_name';
#按照表的占用空间大小排序
SELECT CONCAT(table_schema,'.',table_name) AS 'Table Name',
CONCAT(ROUND(table_rows/1000000,2),'M') AS 'Number of Rows',
通过第一篇《使用树莓派3B打造超强路由之一:初装》的努力,树莓派3B已经可以作为一台超低能耗、随身携带的开发用服务器来使用了。但这对于目标——打造超强路由而言,才刚刚开始。接下来,我们需要将其打磨成一台基本的无线路由器。
WARNING
本文所有指令均仅供参考,切勿无脑复制粘贴!
新款的树莓派3B功能之丰富,性能之强悍,让我垂涎。考虑到家里的网件 WNDR3700v2 也服役四年有余了。还是败了一个树莓派3B回来打造成新的路由。
WARNING
本文所有指令均仅供参考,切勿无脑复制粘贴!
〇 安装系统
在[《使用树莓派3B打造超强路由之二:初成》][之二:初成]之后,似乎接下来的工作,就是朝着整合网络扩展存储 NAS 和家庭影院电脑 HTPC 去努力了。但在此之前,省视实际需求,不难发现其中的阴影——公共需求和私人需求存在显著差异——如:儿童能接触到的、成年人能接触到的和我能接触到的,如何区分开?所以在开始整合前,先尝试解决这个问题。
WARNING
本文所有指令均仅供参考,切勿无脑复制粘贴!
〇 前文提要