NX二次开发-检查文件夹是否存在 1 bool CheckFolderExist(const string & strPath) 2 { 3 if (strPath.empty()) 4 { 5 return false; 6 } 7 8 WIN32_FIND_DATA wfd; 9 BOOL bV ...
分类:
其他好文 时间:
2021-02-05 10:36:27
阅读次数:
0
在用Android StudioBuild项目时,提示:Could not resolve all files for configuration ':classpath'.Could not find com.android.tools. Error:Gradle: A problem occur ...
分类:
移动开发 时间:
2021-02-03 11:01:45
阅读次数:
0
gitlab环境搭建,卸载,汉化 --卸载篇 完全卸载 停止gitlab gitlab-ctl stop 卸载gitlab rpm -e gitlab-ce 查看gitlab进程 ps aux | grep gitlab 杀掉第一个进程(就是带有好多…的进程) kill -9 pid // 杀掉后, ...
分类:
其他好文 时间:
2021-02-03 10:39:57
阅读次数:
0
ionic cordova build ios 时报错: No profiles for '***' were found: Xcode couldn't find any iOS App Development provisioning profiles matching '***'. Autom ...
分类:
移动开发 时间:
2021-02-03 10:30:48
阅读次数:
0
题目 题意:将n个数分成k组,使得k组中的最大值最小。 题解:暴力DFS,但是要注意两个地方剪枝,首先在DFS的过程中判断当前的最大值是不是已经超过了已有答案。 第二个剪枝的地方比较triky,由于我们对k组没有顺序要求的,所以当剩下的组都是空的时候,我们只需要DFS第一个组。 class Solu ...
分类:
其他好文 时间:
2021-02-02 11:23:19
阅读次数:
0
1.查看当前系统版本 cat /etc/redhat-release 2.查看端口使用 netstat -lnpt 3.检查端口被哪个进程占用 netstat -lnpt|grep 22 4.查看进程信息 ps 1091 5.终止进程 kill -9 1091 ...
分类:
系统相关 时间:
2021-02-02 11:04:47
阅读次数:
0
1.查看进程信息①进程查看 ps -aux ②根据PID查看进程 ps -aux | grep pid ③进程计数,查看指定进程 ps -aux | wc -l ps -aux | grep kworker 2.查看端口占用信息①查看各个端口占用信息 netstat -an ②查看指定端口占用信息 ...
分类:
系统相关 时间:
2021-02-02 10:39:00
阅读次数:
0
1. 首先用netstat -ano | find “端口号”查出进程号 明明有端口号是17568和18892, 如何确定是17568呢 2. takslist 查询当前的进行 3. 如何杀死进程呢 tasklist /pid ${xx} 发现不行呢,权限不够,用管理员权限运行cmd,发现又报错了, ...
# linux 下 取进程占用 cpu 最高的前10个进程ps aux|head -1;ps aux|grep -v PID|sort -rn -k +3|head # linux 下 取进程占用内存(MEM)最高的前10个进程ps aux|head -1;ps aux|grep -v PID|so ...
分类:
系统相关 时间:
2021-01-30 11:52:19
阅读次数:
0
数据库的连接(JDBCUTil) 具体代码: public class JDBCUtil { private static final String DRIVERNAME = "com.mysql.cj.jdbc.Driver";// jdbc 4.0以后不需要 private static fin ...
分类:
其他好文 时间:
2021-01-29 12:17:52
阅读次数:
0