摘要:
1 package com.example.demo; 2 3 public class InsertSort { 4 public void insertSort(int[] arr) { 5 int i, j; 6 for (i = 0; i < arr.length; i++) { 7 int temp = arr[i];//temp为哨兵 8 for (j = i - 1; j >= 0 阅读全文
摘要:
1、查看所有.so文件的版本并导出到log中 strings -f *.so | grep V9 > v9.log 2、查看某个.so文件的版本 strings xxx.so | grep V 其实strings是查看二进制文件的一个技巧极强的命令,上份工作中在linux下查看中间件文件经常用到。 阅读全文
摘要:
linux服务器之间传递文件: 从远程机器复制文件到本地服务器的目录下: scp -r root@远程机器的地址:要复制的文件目录 本地的目录 例:从147往221上复制147上的tomcat目录:scp -r root@192.168.45.147:/home/tomcat /home 不直接通过 阅读全文
摘要:
1、Linux下以Oracle帐户进入Linux系统。 2、执行以下命令查看数据库监听器的状况: lsnrctl status 3、执行以下命令停止数据库监听器运行: lsnrctl stop 4、执行以下命令进入SQLPlus: sqlplus / nolog connect / as sysdb 阅读全文
摘要:
假设括号都是(),{},[],{[]()},{()()}这种可以匹配的,存在{(}),([)均为错。 阅读全文
摘要:
1、vscode下载,安装 链接:https://pan.baidu.com/s/1xO_S59qT4bPw3ZtbnGQBVw提取码:ia0p 2、导入vue项目 安装vetur插件,vue语法高亮插件 安装eslint,智能错误检查工具 安装prettier,代码格式化 重启vscode sea 阅读全文