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……

阅读全文

获取URL参数 | JAVA

日常开发中需要解析URL里的参数与值 如下: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 /** * @description 解析日……

阅读全文

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……

阅读全文

笔记本Fn键解锁

笔记本键盘,fn+f1/fn+f2快捷键如何取消按fn键 原创 只需一步即可解决这个问题: 按键组合:Fn + ESC, 这样就通过 ESC键释放了对Fn键 的锁定。 之后,F2……

阅读全文

删除重复行 | 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……

阅读全文

每日一言

Programming is all about problem solving. It requires creativity, ingenuity, and invention. Regardless of your profession, you probably also have to solve problems creatively. However, for programmers, combining rich, flexible human thought with the rigid constraints of a digital computer exposes the power and the deepest flaws of both. translate to chinese 编程就是解决问题。需要创意, 独创性和发明。无论您的职业是……

阅读全文

图片增加水印 | 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……

阅读全文