随笔分类 -  细节记录

摘要:Rename all files, recursively FOR /R %x IN (*.js) DO ren "%x" *.txt 阅读全文 »
posted @ 2021-03-25 21:02 satire 阅读(34) 评论(0) 推荐(0) 编辑
摘要:修改文件夹(递归修改)权限 chmod -R 777 /html Linux查看进程的4种方法 第一种: ps aux ps命令用于报告当前系统的进程状态。可以搭配kill指令随时中断、删除不必要的程序。ps命令是最基本同时也是非常强大的进程查看命令,使用该命令可以确定有哪些进程正在运行和运行的状态 阅读全文 »
posted @ 2021-01-15 15:40 satire 阅读(102) 评论(0) 推荐(0) 编辑
摘要:ORA-00918: column ambiguously defined 异常原因: select 查询的字段在from的两张表中都存在,导致数据库无法区别需要查询的字段来自于哪张表 以下是例子 select distinct sales_branch_no, sales_code from (s 阅读全文 »
posted @ 2020-12-31 11:26 satire 阅读(204) 评论(0) 推荐(0) 编辑
摘要:C++ 11 vector 遍历方法小结 方法零,对C念念不舍的童鞋们习惯的写法: void ShowVec(const vector<int>& valList) { int count = valList.size(); for (int i = 0; i < count;i++) { cout 阅读全文 »
posted @ 2020-12-18 10:45 satire 阅读(141) 评论(0) 推荐(0) 编辑
摘要:String 相关运算 String使用是注意是否初始化,未初始化的全部为null。不要轻易使用 string.isEmpty()等,首先确保string非空。 推荐使用StringUtils.isNotBlank(): public static boolean isNotEmpty(String 阅读全文 »
posted @ 2020-10-13 16:07 satire 阅读(126) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示