上一页 1 ··· 153 154 155 156 157 158 159 160 161 ··· 491 下一页
摘要: Containers can be very useful to emulate various environments. You can also use much more complex containers. In this case, we had a container with a 阅读全文
posted @ 2021-01-30 21:12 Zhentiw 阅读(92) 评论(0) 推荐(0)
摘要: Netlify serverless Set up a Local Development Environment for Serverless Functions Using Netlify Netlify makes developing serverless functions easy wi 阅读全文
posted @ 2021-01-26 15:36 Zhentiw 阅读(157) 评论(0) 推荐(0)
摘要: function useState<S>( initialState: S | (() => S), ): [S, Dispatch<SetStateAction<S>>] Example: function useDarkMode() { // ... const returnValue: [st 阅读全文
posted @ 2021-01-26 03:58 Zhentiw 阅读(142) 评论(0) 推荐(0)
摘要: Stream<Employee> emps = ... TreeSet<Employee> tree = emps.collect( Collectors.toCollection( () -> new TreeSet<Employee>( Comparator.comparingInt(Emplo 阅读全文
posted @ 2021-01-22 20:17 Zhentiw 阅读(146) 评论(0) 推荐(0)
摘要: Nx Create a new empty Nx workspace npx create-nx-workspace <workspace name> Choose Empty workspace Nx Cloud Nx CLI Useful Commands yarn nx list Shows 阅读全文
posted @ 2021-01-21 23:17 Zhentiw 阅读(320) 评论(0) 推荐(0)
摘要: To void: forEach, forEachOrdered, peek stream.peek(System.out::println) // print without termination .filter(n -> n > 0) .distinct() .limit(10) .forEa 阅读全文
posted @ 2021-01-21 03:19 Zhentiw 阅读(82) 评论(0) 推荐(0)
摘要: Saying that we have some icons and a target sum, for example 16. How to choose which and how many icons to include to reach the target but minize the 阅读全文
posted @ 2021-01-19 03:00 Zhentiw 阅读(52) 评论(0) 推荐(0)
摘要: Sream<Employee> emps = ...; emps.sorted( Comparator.comparingInt(Employee::getSalary) .reversed() ).limit(10) .map(Employee::getName) .forEachOrdered( 阅读全文
posted @ 2021-01-18 22:43 Zhentiw 阅读(436) 评论(0) 推荐(0)
摘要: A serial of number, you cannot add siblings number together. To calcaulate what is the max sum value. Thinking: 1. Weather I should add current number 阅读全文
posted @ 2021-01-18 18:21 Zhentiw 阅读(129) 评论(0) 推荐(0)
摘要: <!-- HTML --> <div class="wrap"> <div class="headers"> <div class="scroller"> <div class="track"> <div class="heading">Heading 1</div> </div> ... </di 阅读全文
posted @ 2021-01-18 16:17 Zhentiw 阅读(155) 评论(0) 推荐(0)
上一页 1 ··· 153 154 155 156 157 158 159 160 161 ··· 491 下一页