-
mac上面蓝牙不能连接的解决方案
方法1 新测有用
- 按住 Option 和 Shift 键,点击状态栏蓝牙图标。
- 选择 调试 、 还原蓝牙模块 选择确定进行初始化。
方法2 , 先记录下
PRAM 重置
- 关机,拔掉所有外设,接上电源。
- 启动时同时按住 Command, Option, p, r , 听到三次 dang 的开机声音后放开。
- 启动电脑
SMC 重置
- 关机,拔掉所有外设,接上电源。
- 同时按住 Shift, Control, Option, 电源键 ,此时电脑没有任何反应,等待十秒放开。
- 继续等待十秒,启动电
-
https协议图表
-
做正确的事
知道什么是错的之后, 就尽量做正确的事吧.
早睡早起, 保持活力~
-
2days
2天没见, 突然觉得时间有点长~ 也许多点自己的时间空间也是好事吧, 虽然挺想的. 好饿, 吃点东西加油学习吧..
-
累
乘电梯到二楼肯定不是因为懒啊, 明明就是因为累.
-
debug golang
https://github.com/derekparker/delve
dlv debug a.go
设置断点 break /Users/liujia/.go/src/gopkg.in/yaml.v2/encode.go:361 开始跑 continue (alias c)
-
html转PDF
-
按摩
隔了好久终于踢了一次球了. 晚上去张江按摩, 回来已经1点多了. 今天睡到了9点才起~
-
docker里面使用plt保存图片
import matplotlib matplotlib.use('Agg') import matplotlib.pyplot as plt ... plt.scatter(train_X, train_y,c='r',marker='o') plt.plot(train_X, sess.run(W) * train_X + sess.run(b)) plt.savefig('plt.png') # plt.show()
-
python中的一个引用的坑?
In [120]: l=[set()] * 10 In [121]: l[0] is l[1] Out[121]: True In [122]: l[0].add(1) In [123]: l Out[123]: [{1}, {1}, {1}, {1}, {1}, {1}, {1}, {1}, {1}, {1}]