https://www.cnblogs.com/as3lib/p/6606430.html table中的tr的默认display:table-row,虽然可以修改为display:block但是就失去了tr特有的显示效果,如(td自动对齐); 并且在tr中对起设定padding是有用的,可以增加内 ...
分类:
其他好文 时间:
2021-01-04 11:35:17
阅读次数:
0
CF553E Kyoya and Train 分治$FFT$ 先考虑$dp$转移,由于从起点出发无法判断一条边的走向,我们考虑从终点转移到起点。 设$dp_{u,t}$表示在$t$时刻到达点$u$的最小花费(这里的花费指到达终点的花费,我们所求的答案即为$dp_{1,0}$)。 枚举出边$i(u \ ...
分类:
其他好文 时间:
2021-01-04 10:48:09
阅读次数:
0
其实vertical-align是用来设置行内元素对齐方式的。说白了就是display属性值为inline、inline-block、inline-table另加一个table-cell的元素。 作用1:可以大概的让元素居中对齐 作用2:去除图片底色的空白缝隙,这种情况是图片下面有空白部分 ...
分类:
其他好文 时间:
2021-01-02 10:54:01
阅读次数:
0
需求:MacBook 触控板+键盘高效工作,但屏幕太小。台式机也正在运行,但不是经常使用。 台式机原本连接了显示器的DP(Display Port)接口,可以在不关机情况下,直接再用HDMI接口连接MacBook使用,不用的时候拔下MacBook一端即可,显示器上线可一直保留。 DP或HDMI两个接 ...
分类:
其他好文 时间:
2020-12-31 12:46:21
阅读次数:
0
code from threading import Thread from multiprocessing import Process import os def work(name): print('{}的pid是'.format(name), os.getpid()) if __name__ ...
分类:
编程语言 时间:
2020-12-31 12:09:31
阅读次数:
0
code import os from multiprocessing import Process def f(x): print('子进程id :',os.getpid(),'父进程id :',os.getppid()) return x*x if __name__ == '__main__': ...
分类:
系统相关 时间:
2020-12-31 12:06:57
阅读次数:
0
code import threading from queue import Queue import time def timeit(f): def wrapper(*args, **kwargs): start_time = time.time() res = f(*args, **kwarg ...
分类:
编程语言 时间:
2020-12-31 11:57:23
阅读次数:
0
当有中文列的时候,设置列对齐: pd.set_option('display.unicode.ambiguous_as_wide', True) pd.set_option('display.unicode.east_asian_width', True) Pandas按行遍历DataFrame的3 ...
分类:
其他好文 时间:
2020-12-31 11:44:48
阅读次数:
0
ESP8266WiFiSTA库:http://www.taichi-maker.com/homepage/iot-development/iot-dev-reference/esp8266-c-plus-plus-reference/esp8266wifista/ ESP8266WiFiAP库:ht ...
分类:
其他好文 时间:
2020-12-29 12:04:27
阅读次数:
0
删除/永久删除文件 delete /unreserved 恢复删除的文件 undelete 彻底删除回收站中的文件 reset recycle-bin 显示当前配置文件 display current-configuration 显示保存的配置文件 display saved-configurati ...
分类:
其他好文 时间:
2020-12-28 11:28:47
阅读次数:
0