码迷,mamicode.com
首页 >  
搜索关键字:no write has been do    ( 38312个结果
macos GO本地运行MonkeyPatch
1.Macos本地无法使用monkeyPatch调试的原因 引用一段原文,意思是,操作系统不能通过对一个内存页执行写和执行的操作。(Linux似乎没有这个问题) (Monkey won't work on some security-oriented operating system that do ...
分类:系统相关   时间:2020-07-21 14:23:37    阅读次数:115
docker pull 失败报错:x509: certificate has expired or is not yet valid
[root@node3 docker]# docker pull gcr.io/google_containers/pause-amd64:3.1 Error response from daemon: Get https://gcr.io/v2/: x509: certificate has ex ...
分类:其他好文   时间:2020-07-21 09:49:14    阅读次数:83
js Proxy
w={"navigator":"hehe"} var handler = { get(target, key,receiver){ console.log("target",target,receiver); return Reflect.has(target, key) ? Reflect.get ...
分类:Web程序   时间:2020-07-21 09:39:35    阅读次数:96
shell while 双循环对比查找共有字段
#!/bin/bash #查找两个文件中的共有字段while read linedo while read line2 do if [[ $line -eq $line2 ]] then echo $line2 fi done < aaa.txtdone < bbb.txt ...
分类:系统相关   时间:2020-07-20 20:30:41    阅读次数:96
文件操作
1 # r 读 2 f = open('十多年',mode='r',encoding='utf-8') 3 re = f.read() 4 print(re) 5 f.close() 6 7 # w 写 8 f = open('miaoge.txt',mode='w',encoding='utf-8 ...
分类:其他好文   时间:2020-07-20 13:21:47    阅读次数:285
打印99乘法表和菱形
static void Main(string[] args) { //99乘法表 // for (int i = 1; i <= 9; i++) // { // for (int j = 1; j <= i; j++) // { // Console.Write(i + "*" + j + "=" ...
分类:其他好文   时间:2020-07-20 13:21:03    阅读次数:68
1519. Number of Nodes in the Sub-Tree With the Same Label
Given a tree (i.e. a connected, undirected graph that has no cycles) consisting of n nodes numbered from 0 to n - 1 and exactly n - 1 edges. The root  ...
分类:其他好文   时间:2020-07-20 10:50:59    阅读次数:70
简单对文件内容读写
因为是要保存utf-8形式,所以: 写: with open('test.txt','wb+') as f: f.write('字符串'.encode('utf-8')) 读: with open('test.txt','rb+') as f: f.read().decode('utf-8') #默 ...
分类:其他好文   时间:2020-07-20 10:25:14    阅读次数:69
[SCOI2003]字符串折叠
题目大意: 折叠的定义如下: 一个字符串可以看成它自身的折叠。记作S = S X(S)是X(X>1)个S连接在一起的串的折叠。记作X(S) = SSSS…S(X个S)。 如果A = A’, B = B’,则AB = A’B’ 例如,因为3(A) = AAA, 2(B) = BB,所以3(A)C2(B ...
分类:其他好文   时间:2020-07-19 18:03:43    阅读次数:63
c#中内置委托
一、Action泛型委托 和之前委托最大区别在于不用定义委托,直接实例化委托(申明就可以),泛型其实就是选择数据类型,进行使得程序更加安全,并且也实现了委托的重载,最多选择16个参数。 namespace 自定义委托 { class Program { Action<string> actHandl ...
分类:Windows程序   时间:2020-07-19 16:28:52    阅读次数:88
38312条   上一页 1 ... 70 71 72 73 74 ... 3832 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!