1. Java 中的 IO 原理 首先 Java 中的 IO 都是依赖〈操作系统内核〉进行的,我们程序中的 IO 读写其实调用的是〈操作系统内核〉中的 read&write 两大系统调用。 那内核是如何进行 IO 交互的呢? 网卡收到经过网线传来的网络数据,并将网络数据写到内存中。 当网卡把数据写入 ...
分类:
其他好文 时间:
2021-06-06 19:37:10
阅读次数:
0
//外层循环(控制行) for (var i = 0; i < 7; i++) { for (var j = 0; j < 7 - i; j++) { // document.write函数,在网页中输出文本 document.write(' ') } //内层循环(控制列) for (var k ...
分类:
其他好文 时间:
2021-06-05 17:39:19
阅读次数:
0
import os with open('a.txt','wb') as fp; file = open('a.txt','w',encoding = 'utf-8') # w是覆盖并且重新写入 file.write('Python') # 文件的杜西呃怎么打印出来是个中文字符 # print(fi ...
分类:
其他好文 时间:
2021-06-04 18:48:35
阅读次数:
0
excel xlsxwriter XlsxWriter is a Python module that can be used to write text, numbers, formulas and hyperlinks to multiple worksheets in an Excel 200 ...
分类:
编程语言 时间:
2021-06-02 20:53:25
阅读次数:
0
SPN(Service Principal name)服务器主体名称。SPN 是服务在使用 Kerberos 身份验证的网络上的唯一标识符,它由服务类、主机名和端口组成。在使用 Kerberos 身份验证的网络中,必须在内置计算机帐户(如 NetworkService 或 LocalSystem)或 ...
分类:
数据库 时间:
2021-06-02 19:59:30
阅读次数:
0
Bad habits : Putting NOLOCK everywhere [See an index of all bad habits / best practices posts] I went through the archive above, and was quite surpris ...
分类:
其他好文 时间:
2021-06-02 19:46:42
阅读次数:
0
using system;using system.collections.generic;using system.linq;using system.text;using system.threading.tasks;namespace consoleapplication3{ class pr ...
分类:
其他好文 时间:
2021-06-02 19:26:59
阅读次数:
0
1. 安装启动检查Mysql服务。##netstat -tunlp (3306) cd /usr/local/hive/lib ls mysql* cp mysql-connector-java-5.1.40-bin.jar /usr/local/spark/jars/ cd /usr/local/ ...
分类:
数据库 时间:
2021-06-02 19:00:44
阅读次数:
0
IEnumerator getScreenTexture(RectTransform rectT) { yield return new WaitForEndOfFrame(); Texture2D screenShot = new Texture2D((int)rectT.rect.width, ...
分类:
编程语言 时间:
2021-06-02 17:50:21
阅读次数:
0
1.alert输出 弹出警示框 使用方法 <script>window.alert("弹出警示框");</script> 2.document.write() 直接输出在页面当中 <script>document.write("hello world")</script> 3.innerHTML 写 ...
分类:
编程语言 时间:
2021-06-02 15:44:44
阅读次数:
0