1. += *= 等等运算符,不改变变量类型 short s=10; s+=2; System.out.println(s); 编译通过,结果为12; short s=10; s=s+2; System.out.println(s); 编译不能通过,应改为 int i=s+2,因为s+2的结果值为i ...
分类:
编程语言 时间:
2021-01-01 11:52:41
阅读次数:
0
get \post传参的区别: get传参 参数在uri中; post传参 参数在请求正文 get方式的参数由于在地址栏中显示的,所以安全性低一点,post方式传参的时候参数在请求正文中,会相对来说安全一些 get方式传参,参数长度是要看浏览器对地址栏中字符长度的限制;post方式参数,参数长度是要 ...
分类:
其他好文 时间:
2021-01-01 11:52:19
阅读次数:
0
int a = new int [] {1,2,3} for (int x :a) { System.out.println(x); } ...
分类:
编程语言 时间:
2020-12-31 12:26:37
阅读次数:
0
code import multiprocessing def foo(i): print ('called function in process: %s' %i) return if __name__ == '__main__': Process_jobs = [] for i in range ...
分类:
编程语言 时间:
2020-12-31 11:59:32
阅读次数:
0
前言 最近有需要用到AWS S3云存储上传附件,这里对利用.NET或.NET Core在调用SDK APi需要注意的一点小问题做个记录,或许能对后续有用到的童鞋提供一点帮助 AWS S3云存储 官方已提供针对.NET/.NET Core针对S3的APi(https://docs.aws.amazon ...
分类:
Web程序 时间:
2020-12-30 11:35:26
阅读次数:
0
iptables 所在目录 : /etc/sysconfig/iptables # service iptables status #查看iptables状态 # service iptables restart #iptables服务重启 # service iptables stop #ipta ...
分类:
系统相关 时间:
2020-12-30 11:29:45
阅读次数:
0
int GetResourceId(void) { typedef BOOL (*P_IsWow64Process)(HANDLE, BOOL *); HMODULE kernel32 = LoadLibrary(L"kernel32.dll"); P_IsWow64Process __sys_Is ...
分类:
系统相关 时间:
2020-12-30 10:33:55
阅读次数:
0
查看字符集select userenv('language') from dual; 修改字符集 ORACLE11G 字符集更改(这里更改为AL32UTF8)更改步骤:1、用sysdba角色用户登录sqlplus: 命令行输入:sqlplus sys as sysdba2、输入口令,进入sqlplu ...
分类:
其他好文 时间:
2020-12-29 11:41:00
阅读次数:
0
设置路径:File -> Setting -> Version Control -> Confirmation Show options before adding to version control :提示选项,自己决定是否将新文件加入到版本控制; Add silently : 默认自动添加,会 ...
分类:
其他好文 时间:
2020-12-28 11:26:39
阅读次数:
0
While,Do...While循环 While循环 只要布尔表达式为true,循环就会一直执行下去 大多数情况需要让循环停止执行,用表达式失效的方式来结束循环 少部分情况需要循环一直执行,如服务器请求响应监听 循环条件一直未true,会造成死循环,正常程序应该避免死循环,会影响程序性能或者造成程序 ...
分类:
其他好文 时间:
2020-12-28 11:07:56
阅读次数:
0