摘要: Case Sensitive Check 1. Return names contain upper case Select id, name from A where name<>lower(name) collate SQL_Latin1_General_CP1_CS_AS 2. Return 阅读全文
posted @ 2019-10-30 11:40 HeyJudeee 阅读(627) 评论(0) 推荐(0) 编辑
摘要: 1.in js add id to html element and delete it var elem = document.getElementById("zzz");if (elem!=null) elem.parentElement.removeChild(elem); .attr({ i 阅读全文
posted @ 2020-08-21 13:30 HeyJudeee 阅读(101) 评论(0) 推荐(0) 编辑
摘要: generate datetime format =YEAR(C2) & "-" & RIGHT("0" & MONTH(C2),2) & "-" & RIGHT("0" & DAY(C2),2) & " " & HOUR(C2) & ":" & RIGHT("0" & MINUTE(C2),2) 阅读全文
posted @ 2020-03-10 11:36 HeyJudeee 阅读(142) 评论(0) 推荐(0) 编辑
摘要: tbc 阅读全文
posted @ 2020-02-24 13:24 HeyJudeee 阅读(73) 评论(0) 推荐(0) 编辑
摘要: Add CSS 1. External CSS <head> <link rel="stylesheet" type="text/css" href="mystyle.css"> </head> 2. Internal CSS <style> .zz{ font-size:20px; } </sty 阅读全文
posted @ 2020-02-24 13:13 HeyJudeee 阅读(174) 评论(0) 推荐(0) 编辑
摘要: 1. 为什么会有/怎么解决: async/await的无限嵌套 第一次遇到async/await是在做一个智能家居的网络控制程序上,为了不阻塞UI,老同事说把其中有的方法改成了async,让后端修改数据库的逻辑异步执行,返回操作结果之后再刷新UI,可是发现把一个函数标记成async之后,你就必须在这 阅读全文
posted @ 2019-08-01 22:26 HeyJudeee 阅读(8827) 评论(2) 推荐(1) 编辑
摘要: Given an array of integers, every element appears three times except for one. Find that single one. solution: def singleNumber(self,A): A.sort() for i 阅读全文
posted @ 2018-01-29 15:31 HeyJudeee 阅读(78) 评论(0) 推荐(0) 编辑
摘要: Given an array of integers, every element appears twice except for one. Find that single one. solution: class solution: def singleNumber(self,A): A.so 阅读全文
posted @ 2018-01-29 15:31 HeyJudeee 阅读(82) 评论(0) 推荐(0) 编辑
摘要: 题目输入输出 "this is a sentence" => [t, h, i, s, i, s, a, s, e, n, t, e, n, c, e]"thiis iss a senntencee" => [i, s, n, e]"thiisss iss a senntttenceee" => [ 阅读全文
posted @ 2018-01-29 14:33 HeyJudeee 阅读(353) 评论(0) 推荐(0) 编辑