99 82 75 27 23 17 10 9 8 7 7 7 5 5 4 4 4 4 3 3 3 3 2 2 2 2 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 学习 中的文章

github访问超时

问题描述 国内如果没有翻墙,github访问超时是很常见的事情 解决办法 绕过dns解析 步骤 查询访问github最快的服务器ip 使用工具: 站长之家ping检测 修改ho……

阅读全文

win11新版输入法占用快捷键

问题描述 win11新版微信输入法快捷键占用问题 默认占用shift 切换中英文 占用shift + F6 未知功能 占用 ctrl + shift + F 简繁体切换 解决方法 参考链接 微软拼音输入法占用S……

阅读全文

html转文本 | JAVA

br转换行 1 2 3 4 5 6 7 8 9 10 11 12 public class Test1 { private static final Log log = LogFactory.getLog(Test1.class); public static void main(String[] args) throws Exception { String str = "<br> <br > <br /> <br/>"; str = str.replaceAll("(?i)<br[^>]*>","\n"); System.out.println("str = " + str); } 正则表达式解析 html转txt 1 2 3 4 5 6 7 8 9 10 11……

阅读全文

删除重复行 | Oracle

问题描述 最近搜索关键词,去除重复 解决方案 1 2 3 4 5 6 7 8 9 10 11 12 -- 使用rowid标识解决重复问题 DELETE FROM your_table WHERE rowid not in (SELECT MIN(rowid) FROM your_table GROUP BY column1, column2, column3); -- method1 DELETE from table_name where rowid not in (select min(rowid) FROM table_name group by column_name);……

阅读全文

SQL Error: ORA-01861 | SQL

问题描述 在作列表查询时,后台报一个SQL错误。 打印日志如下: 1 Caused by: oracle.jdbc.OracleDatabaseException: ORA-01861: literal does not match format string 错误原因如下 使用日期字符串与date字符比较,前后类型不一致 1 2 3 4 5 6 -- 错误……

阅读全文

思维锻炼

新手与专家思维区别 》》从总体出发 Stage 1: Novice 特点 Novices don’t particularly want to learn; they just want to accomplish an immediate goal. They do not know how to respond to mistakes and so are fairly vulnerable to confusion when things go awry. Stage 2: Improved Beginner Stage 3: Competent Stage 4: Proficient Stage 5: Expert Software isn’t designed in……

阅读全文

图片增加水印 | JAVA

使用Thumbnails包对图片添加水印效果 Thumbnails are ideally implemented on web pages as separate, smaller copies of the original image, in part because one purpose of a thumbnail image on a web page is to reduce bandwidth and download time. 。。。 Thumbnail@wiki 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19……

阅读全文

java列表平均分割 | JAVA

问题描述 1 2 oracle id in(a,b,c) 语句如果选项长度超过了1000会引起jdbc异常,错误如下 1 ERROR [net.sf.hibernate.util.JDBCExceptionReporter:58] ORA-01795: maximum number of expressions in a list is 1000 解决方法 将获取id数组的地方用java平均拆分成小于100……

阅读全文

Java列表去重 | Java基础

使用HashSet实现List去重(无序) 1 2 3 4 5 6 7 8 9 10 11 12 /**使用HashSet实现List去重(无序) * * @param list * */ public static List removeDuplicationByHashSet(List<Integer> list) { HashSet set = new HashSet(list); //把Lis……

阅读全文

Go语言学习分享 | Go

Go语言的理解 21世纪的C语言 综合开发效率与运行效率 对语言的又一次尝试 学习资源 菜鸟教程 语言中文网 官网……

阅读全文