文件的基本目录结构如下: 通常情况下bin作为入口程序,在bin中调用mudule中的main函数,而main中调用了本模块中的logger_test中的函数,需要完成以下导入:在bin.py中导入mudule中main.py。导入方式如下: import mudule.main 在main.py中 ...
分类:
其他好文 时间:
2020-02-12 13:17:36
阅读次数:
411
1. 介绍 对于生产环境中运行的进程,可以用 Go 内置的性能分析工具 pprof 窥测进程的当前状况。 "Profiling Go Programs" 很好地演示了用 pprof 找到性能瓶颈的过程,这里只演示简单用法。 2. 启用实时的pprof 2.1 启用实时的 pprof 非常简单,只需要 ...
分类:
其他好文 时间:
2020-02-07 13:03:52
阅读次数:
240
IfcBuildingControlsDomain模式是IFC模型的域层的一部分。它扩展了IfcSharedBldgServicesElements模式中概述的有关构建服务的思想。它定义了楼宇自动化、控制、仪表和报警的概念。 IfcBuildingControlsDomain模式支持的思想包括: a ...
分类:
其他好文 时间:
2020-01-26 10:29:11
阅读次数:
86
RxJS is a library for composing asynchronous and event-based programs by using observable sequences. It provides one core type, the Observable, satell ...
分类:
Web程序 时间:
2020-01-21 16:08:30
阅读次数:
133
新建文件arm.cmake,内容如下 #指定嵌入式系统的编译输出目录set(SYSROOT_PATH "/home/suka/out/system") #指定交叉编译器路径set(TOOLSCHAIN_PATH "/home/suka/toolschain/")set(TOOLCHAIN_HOST ...
分类:
其他好文 时间:
2020-01-10 10:22:04
阅读次数:
157
本文详细的描述了ZooKeeper在Linux操作系统下的安装
分类:
其他好文 时间:
2020-01-05 22:45:54
阅读次数:
150
Tracker is used (by gnome) to index files to make them searchable and appear automatically in some programs (like Rhythmbox for music files, etc). Mor... ...
分类:
系统相关 时间:
2020-01-02 20:43:48
阅读次数:
244
1、开机自启动 将程序的exe的快捷方式放入下列文件夹中 C:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp 2、开机无登录验证 打开 开始菜单 运行,输入 control userpasswords2 ...
https://www.jianshu.com/p/166a4ea8aade https://httpd.apache.org/docs/2.4/programs/ab.html 安装: 按照提示安装就行 执行: ab -k -n 100 -c 10 -H 'Accept: */*' -H 'Coo ...
分类:
Web程序 时间:
2019-12-23 13:41:46
阅读次数:
106
阿里云镜像 export GOPROXY=https://mirrors.aliyun.com/goproxy/ ...
分类:
其他好文 时间:
2019-12-22 21:46:15
阅读次数:
3546