https://blog.csdn.net/laizi_laizi/article/details/105437368 python中几个基本用法:namedtuple,OrderedDict,append,insert,extend laizi_laizi 2020-04-11 00:51:08 ...
分类:
移动开发 时间:
2021-01-11 11:00:22
阅读次数:
0
JMM在X86下的原理与实现 Java的happen-before模型 众所周知 Java有一个happen-before模型,可以帮助程序员隔离各个平台多线程并发的复杂性,只要Java程序员遵守happen-before模型就不用担心多线程内存排序或者缓存可见性的问题 摘自周志明老师的JMM章节 ...
分类:
其他好文 时间:
2021-01-07 12:39:39
阅读次数:
0
React的生命周期从广义上分为三个阶段:挂载、渲染、卸载 挂载卸载过程 1.1.constructor() 1.2.componentWillMount() 1.3.componentDidMount() 1.4.componentWillUnmount () 更新过程 2.1. componen ...
分类:
其他好文 时间:
2021-01-07 12:35:36
阅读次数:
0
由于Flutter的不断升级, 发现Zefyr插件在安卓平台无法正常的响应删除键了,后来测试桌面端也有此问题,在iOS中则正常。(我的Flutter是master分支 1.26.0-2.0.pre.173 ) 动态调试,发现在 input.dart 中, 按下删除键时,updateEditingVa ...
分类:
移动开发 时间:
2021-01-07 12:34:00
阅读次数:
0
https://stackoverflow.com/questions/27301960/errorunable-to-locate-adb-within-sdk-in-android-studio 注意在File->project structure中选择sdk等 Finally after se ...
分类:
移动开发 时间:
2021-01-06 11:54:51
阅读次数:
0
1、 >>> test1 = ["aaa","bbb","aaa","aaa","ccc","ccc","ddd","eee"] >>> test2 = [] >>> for i in test1: if i not in test2: test2.append(i) >>> test2 ['aaa ...
分类:
编程语言 时间:
2021-01-05 10:42:44
阅读次数:
0
1、修改MySQL密码方法一:usemysql;updateusersetpassword=PASSWORD(“123456”)whereuser=‘root’;flushprivileges;忘记密码:sed-ri‘3dskip-grant-tables‘/etc/my.cnfsystemctlrestartmariadbusemysql;updateusersetpasswor
分类:
数据库 时间:
2021-01-02 10:57:18
阅读次数:
0
Swoole:面向生产环境的 PHP 异步网络通信引擎 使 PHP 开发人员可以编写高性能的异步并发 TCP、UDP、Unix Socket、HTTP,WebSocket 服务。Swoole 可以广泛应用于互联网、移动通信、企业软件、云计算、网络游戏、物联网(IOT)、车联网、智能家居等领域。使用 ...
分类:
Web程序 时间:
2020-12-31 12:27:30
阅读次数:
0
code import multiprocessing def foo(i): print ('called function in process: %s' %i) return if __name__ == '__main__': Process_jobs = [] for i in range ...
分类:
编程语言 时间:
2020-12-31 11:59:32
阅读次数:
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