- IntroductionBriefly speaking, NodeJS is like using JS on back-end stuff. Its really cooooooool and exctied for every JS developer !!!
I just started to learn Node, and in order to learn it better, I made a small cli tool for myself, it’s quit helpful actually.
Meet BabyI named this tool as ‘baby’ with a lot of reasons…...
TaoAlphatechJSCLINodeJS Mo, December 7, 20156 minutes to read - 我不知道感恩节的历史, 也并没有探究的欲望. 但还是以此为名, 随便写写.
我很感谢我的父母, 他们给了我生命, 而这是让我得以体验这个世界的根本缘由. 还有两个月我满24岁, 至此已来人世两个小轮回, 我庆幸自己始终活着, 走着…
我很感...
TaoAlphablog随笔 Fr, November 27, 20151 minutes to read - IntroductionWhen we deal with event on DOM, jQuery always very helpful. But javascript has this mechanic called event bubbling is quite annoying. So be careful when you deal with them.
Event BubblingWe all know DOM elements can be nested inside each other which is great for structure. But it causes some troubles when y...
TaoAlphatechjQueryJSpropagation Th, November 19, 20155 minutes to read - Introduction'use strict' is a new feature introduced from ECMAScript 5, it is not a subset of js, it has some different semantics from normal code. So be careful to use it.
What is the difference?After you insert the 'use strict' into the head of your entire code or in the beginning of the function code...
TaoAlphatechJS We, November 11, 201511 minutes to read -
This post is a copy of Luke Hoban - ES6Features repo
IntroductionECMAScript 6, also known as ECMAScript 2015, is the latest version of the ECMAScript standard. ES6 is a significant update to the language, and the first update to the language since ES5 was standardized in 2009. Implementation of these features in maj...
Luke HobantechES6JS Fr, November 6, 201543 minutes to read - IntroductionLRU which is short for least recently used is a popular algorithm in cache. The basic idea is always put your items in order of used time, and when you insert new item into the fullfilled chache,remove the least recently used item in your memory.
ImplementationO(n)At first, I plan to use a hashtable and a l...
TaoAlphatechJSLRU Tu, November 3, 201515 minutes to read - Introductionconcat(),splice(),slice(),push(),pop(),shift(),unshift()… all these handy functions belong to Array. We are using them everyday, but do you really know about them ? Time cost of a function in language like JavaScript is not easy to measurement, since different browsers use different javascript engine which ...
TaoAlphatechJSArrayData Structure Fr, October 30, 201515 minutes to read - IntroductionBubble sort is really cool but not so useful, it seems that you will never use it… But merge sort is really cool since it is really fast.
Bubble SortSo what is bubble sort, according to wikipedia:
Bubble sort, sometimes referred to as sinking sort, is a simple sorting algorithm that repeatedly steps throug...
TaoAlphatechJSSortingAlgorithm Th, October 29, 201511 minutes to read - Sorting AlgorithmAs the most important and fundamental algorithm, sorting algorithm is always the best start to learn algorithm.
Among all the different sorting algorithms, we have 10 algorithms which are used a lot in practice, and I will introduce all these ten algorithms one by one.
Today we will talk about: Select...
TaoAlphatechJSSortingAlgorithm Th, October 29, 201515 minutes to read - BackgroundMy Raspberry Pi suddenly stopped running(connection lost when I was connecting with my pi through ssh) when I was doing something really normal(like modifying a file…) And then I tried to connect my pi with a screen and it showed the mysterious Kernel Panic error…
Possible SolutionsFrom the communityI did som...
TaoAlphatechRaspberry PiRestoreDatabase We, October 14, 201511 minutes to read