WindowsRegistryEditorVersion5.00[HKEY_CLASSES_ROOT\test];申明协议内容"URLProtocol"="C:\Windows\System32\test.exe";申明打开文件[HKEY_CLASSES_ROOT\test\shell\open\command]@="\"C:\Windo
分类:
其他好文 时间:
2020-11-26 14:07:10
阅读次数:
3
map 同 Swift中 map 用法一样,对值进行处理并返回 let sub = PublishSubject<String>() sub.map { $0 + "mmmmm" } .subscribe { event in print(event.element) } .disposed(by: ...
分类:
编程语言 时间:
2020-11-25 12:36:31
阅读次数:
4
1、InnoDB的磁盘结构 1)系统表空间 2)用户表空间 3)rodolog 文件组 4)磁盘文件逻辑结构 文件->段->区->页->行 InnoDB对数据的存取是以页为单位的,一个数据页默认是16k 2、InnoDB的内存结构 1)buffer pool 1.数据页 2.索引页 3.Change ...
分类:
数据库 时间:
2020-11-25 12:36:15
阅读次数:
9
用NVIDIA NsightcComputeRoofline分析加速高性能HPC的应用 编写高性能的软件不是一件简单的任务。当有了可以编译和运行的代码之后,当您尝试并理解它在可用硬件上的执行情况时,将引入一个新的挑战。不同的平台,无论是cpu、gpu还是其他平台,都会有不同的硬件限制,比如可用内存带 ...
分类:
其他好文 时间:
2020-11-25 12:10:47
阅读次数:
4
Java并发编程系列23|循环屏障CyclicBarrier收录于话题#进阶架构师|并发编程专题12个本篇介绍第二个并发工具类CyclicBarrier,CyclicBarrier的字面意思是可循环使用(Cyclic)的屏障(Barrier),分以下部分介绍:CyclicBarrier的使用CyclicBarrier与CountDownLatch比较CyclicBarrier源码解析1.Cycli
分类:
编程语言 时间:
2020-11-24 12:54:55
阅读次数:
6
using NLog; using System; using System.IO.Ports; using System.Text; using System.Threading; namespace TestCom485 { class Program { static void Main(st ...
分类:
其他好文 时间:
2020-11-24 12:42:10
阅读次数:
9
Base64代码 base64.c #include <stdlib.h> #include <stdio.h> #include <string.h> #include <unistd.h> #include <fcntl.h> // bindata待编码数据buffer base64 编码后数据 ...
分类:
其他好文 时间:
2020-11-24 12:13:36
阅读次数:
7
MySQL5.6之后的版本在通过客户端连接或者备份时时都会有出现如下的一个警告: Warning: Using a password on the command line interface can be insecure. 在一些脚本操作中可能会造成一些干扰,这里介绍下两种方式来避免这个输出: ...
分类:
数据库 时间:
2020-11-23 12:08:06
阅读次数:
13
WindowsRegistryEditorVersion5.00[HKEY_CLASSES_ROOT\Directory\shell\OpenCmdHere]@="在此处打开命令窗口""Icon"="cmd.exe"[HKEY_CLASSES_ROOT\Directory\shell\OpenCmdHere\command]@="cmd.exe/s/kpushd\"%V\""[HKEY_CLASS
分类:
其他好文 时间:
2020-11-23 12:05:57
阅读次数:
4
最近生产环境在这两个参数之间遇到过几次坑。这里记录下。 client_max_body_size client_max_body_size 默认 1M,表示 客户端请求服务器最大允许大小,在“Content-Length”请求头中指定。如果请求的正文数据大于client_max_body_size, ...
分类:
其他好文 时间:
2020-11-23 12:01:24
阅读次数:
6