- 博客(10)
- 收藏
- 关注
原创 iOS Tricks
展现下一个ViewControllerPerformSegue()func mapView(_ mapView: MKMapView, didSelect view: MKAnnotationView){ performSegue(withIdentifier: "pinToAttendeeView", sender: nil)}override func prepare(for segue: UIStoryboardSegue, sender: Any?) { if segu
2021-10-04 22:01:38 60
原创 Markdown用法
这里写自定义目录标题欢迎使用Markdown编辑器新的改变功能快捷键合理的创建标题,有助于目录的生成如何改变文本的样式插入链接与图片如何插入一段漂亮的代码片生成一个适合你的列表创建一个表格设定内容居中、居左、居右SmartyPants创建一个自定义列表如何创建一个注脚注释也是必不可少的KaTeX数学公式新的甘特图功能,丰富你的文章UML 图表FLowchart流程图导出与导入导出导入欢迎使用Markdown编辑器你好! 这是你第一次使用 Markdown编辑器 所展示的欢迎页。如果你想学习如何使用Mar
2021-06-03 16:19:54 217
原创 Java version sdkman
sdk list javasdk use java jdk1.8.0_101sdk use java 11.0.21.8 was installed in:/Library/Java/JavaVirtualMachines/jdk1.8.0_101.jdk1.11 was installed in (via sdkman):~/.sdkman/candidates/java/or/Users/yohochen/.sdkman/candidates/java/SDK Manhttps://
2021-04-29 09:50:50 99
原创 Mongoose
MongooseUpdate DocumentationMongoose SchemeFind doc if specific item exists in arrayUpdate item in arrayPush item in arrayRemove item from arrayPopulate RefUpdate DocumentationWays to update mongooseMongoose SchemeA group have many members(ref), many
2021-04-18 04:52:48 243
原创 Deploy Nodejs & React
https://sjsu.zoom.us/rec/share/ECePb4G0l26Q5wa4R8Hdjg4V61fhIpCU_5VrR53iExoIugQhCEK7U_Uadz4s3xNM.LP4NxM73TQXBx4sQ?startTime=16149890120003KT=xzhN
2021-03-25 06:43:52 186
原创 AWS ECR ECS Docker
273 Enterprise ToolDockerDockerDockerfile in rootFROM node:10.15.1 (some base image)RUN mkdir -p /user/src/myApp (Run command: create folder in docker, -p means maybe all parent dir if needed)WORKDIR /user/src/myApp (declare current local workd dir
2021-03-25 06:37:25 324
原创 JavaScript
JavaScriptcall, apply and bindcall, apply and bindbind - create method copy and bind to objectapply - pass argument as arraycall - pass each argumentlet name = { first: "yoho", last: "chen"}let printName = function(hometown, state) { console.log
2021-02-09 12:16:44 76
原创 LeetCode
LeetCodeBit191 Number of bit338260BitSet x to 1: x OR 1Set x to 0: x OR 0Toggle x : x XOR 1191 Number of bitMethod 1: bit mask - query and shift for all 32 bitsMethod 2: Count the last LSB of 1, then remove it x & (x - 1) always tu
2021-02-02 12:25:36 59
原创 Git
GitGit RepoGit RepoFirst create a repo in Gitgit initgit add .git commit -m "blablabla"git remote add origin <https://github.com/yoho/someurl.git>git push -u origin master
2021-01-21 12:39:14 175
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人