1.问题 使用sftp上传文件时报错:put: failed to upload xxx 拒绝访问。类似下图所示: 2.原因 造成这个问题的原因可能有两个,一是要上到的那个目录剩余磁盘空间不足,二是打开sftp会话的用户对服务端的那个目录没有读写权限。 说明:很多时候我们是在SecureCRT上ss ...
分类:
Web程序 时间:
2018-01-22 17:25:31
阅读次数:
615
efEntities tc = new efEntities(); Linq To Entity表达式查询 基本查询:var ss=from s in tc.table select s; 带where的查询语句:var ss=from s in tc.table where s.id>100 se ...
分类:
其他好文 时间:
2018-01-22 14:06:02
阅读次数:
194
1、需求 在项目代码中经常需要把对象复制到新的对象中,或者把属性名相同的值复制一遍。 比如: Student s = new Student() { Age = 20, Id = 1, Name = "Emrys" }; 我们需要给新的Student赋值 Student ss = new Stude ...
安装第三方库: File -> Setting -> Project:项目名 -> project Interpreter 点下面窗格,点右边+号 配置远程解释器: File -> Setting -> Project:项目名 -> project Interpreter -> 右边齿轮 -> SS ...
分类:
其他好文 时间:
2018-01-21 00:05:05
阅读次数:
196
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd hh:mm:ss");这样会出现12小时制的时间 SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");这样 ...
分类:
其他好文 时间:
2018-01-20 22:42:54
阅读次数:
168
只要在[]中使用寄存器bp,而指令中没有显性地给出段地址,段地址就默认在ss中。 mov ax,[bp] 含义:(ax) = ((ss)*16+(bp)) mov ax,[bp+idata] 含义:(ax) = ((ss)*16+(bp)+idata) mov ax,[bp+si] 含义:(ax) ... ...
分类:
编程语言 时间:
2018-01-19 23:28:10
阅读次数:
213
assume cs:codesg, ss:stacksg, ds:datasg stacksg segment dw 0,0,0,0,0,0,0,0 stacksg ends datasg segment db '1. display ' db '2. brows ' db '3. replace ... ...
分类:
编程语言 时间:
2018-01-19 20:25:58
阅读次数:
209
注意把书拆成两份 cpp include include include include using namespace std; int nb, nc, na, hea[40005], cnt, cur[40005], ss, tt, uu, vv, ww, maxFlow; int lev[40 ...
分类:
其他好文 时间:
2018-01-19 20:24:43
阅读次数:
168
设置excel日期格式,自定义,yyyy-mm-dd 上午/下午 hh:mm:ss AM/PM dddd aaaa ...
分类:
其他好文 时间:
2018-01-17 18:23:57
阅读次数:
157
python文件编码转换流程 python默认字符创编码是unicode python文件编码跟变量编码是两个东西 exampl #-*- coding:utf-8 -*- ss = "你好" #这个变量的默认编码是unicode #此python文件的默认编码是utf-8 ...
分类:
编程语言 时间:
2018-01-17 13:43:25
阅读次数:
161