My Fuel
The fact is not everyone get to work on a skill they care as their careers progress. I appreciate my life for being a coder who would build something that matters and gaining skills along with joy in the end.
BFS and DFS BFS and DFS
Breadth First Search and how to apply it on Javascript DOM1. IntroductionBFS focusing on exhausting all options at curre
2021-12-25 Peter Chen
Binary search explain in Javascript Binary search explain in Javascript
Binary search explain in JavascriptIntroductionIt is also called, half interval search. Usually done by placiong two po
2021-12-11 Peter Chen
Async, Await and Promise Async, Await and Promise
Async, Await and Promise NotesAdvantage of Async over PromiseThey are both JavaScript’s unique way to achieve asynchrono
2021-10-01 Peter Chen
A beginners' guide of implementing co-operative editing document using React and socket.io A beginners' guide of implementing co-operative editing document using React and socket.io
A beginners’ guide of implementing co-operative editing document using React and socket.io1. Tech-Stack: React (create-r
2021-10-01 Peter Chen
关于JS对象键值隐性转换导致的复合数组求长度出现的问题 关于JS对象键值隐性转换导致的复合数组求长度出现的问题
JS对象键值的隐性转换 今天在求一种类似[{string:bool},{string:bool}]的数组长度时, 直接用Array.length没有用。 在外网上看到有解释,希望能对大家有用 问题是这样的 在往这个数组添加新元素的时候,我用
2021-05-02 Peter Chen
关于css animation 需要重置(重复启动)的情况 关于css animation 需要重置(重复启动)的情况
关于css animation 需要重置(重复启动)的情况CSS animation基础设置就是只跑一次,如果需要一个特点的结束状态(比如说结束后在新的xy位置 或者大小变化后不还原),那需要用的是transition 这篇文章不讨论这个但
2021-04-22 Peter Chen
JS事件流,冒泡,捕获流程,事件委托,以及高兼容的跨浏览器事件处理 JS事件流,冒泡,捕获流程,事件委托,以及高兼容的跨浏览器事件处理
JS事件流,冒泡,捕获流程,事件委托,以及高兼容的跨浏览器事件处理先说结论:选择捕获或冒泡完全取决于你想要的元素事件启动顺序。 DOM 事件流JS是事件驱动的(Event-oriented)语言,DOM规范提供了点击(onclick),加载
2021-04-03 Peter Chen
Nginx 部署 Django Python虚拟环境创建 傻瓜教程 Nginx 部署 Django Python虚拟环境创建 傻瓜教程
这里不讨论uwsgi 与 nginx之间的关系,但是建议学习 通俗说,Nginx就是可以让你的网页支持更多请求时保证负载均衡, 简单的网页用uwsgi部署配合django runserver也可以达到要求,所以从负载能力是 Nginx &g
2021-03-21 Peter Chen