Posts by Tag

Wordcloud

Back to top ↑

CLI

AWS: PM2

less than 1 minute read

I use PM2 to let my Node.js running forever

AWS: Nginx

less than 1 minute read

Here is some command I use to install Nginx on AWS

Back to top ↑

Bubble sort

Back to top ↑

Selection sort

Back to top ↑

Insertion sort

Back to top ↑

Merge sort

Back to top ↑

Quick sort

Back to top ↑

Counting sort

Back to top ↑

Radix sort

Back to top ↑

Bucket sort

Back to top ↑

Array sort

Back to top ↑

List sort

Back to top ↑

Image Url

Back to top ↑

Flipping

LeetCode: 832. Flipping an Image

less than 1 minute read

Given a binary matrix A, we want to flip the image horizontally, then invert it, and return the resulting image.

Back to top ↑

Reverse

LeetCode: 832. Flipping an Image

less than 1 minute read

Given a binary matrix A, we want to flip the image horizontally, then invert it, and return the resulting image.

Back to top ↑

Move zero

LeetCode: Move Zeroes

1 minute read

Given an array nums, write a function to move all 0’s to the end of it while maintaining the relative order of the non-zero elements.

Back to top ↑

Odd

LeetCode: 905. Sort Array By Parity

less than 1 minute read

Given an array A of non-negative integers, return an array consisting of all the even elements of A, followed by all the odd elements of A.

Back to top ↑

Even

LeetCode: 905. Sort Array By Parity

less than 1 minute read

Given an array A of non-negative integers, return an array consisting of all the even elements of A, followed by all the odd elements of A.

Back to top ↑

Chrome

Chrome DevTools: computed

less than 1 minute read

Today, I spent large amount of time to check one mistake, I can not find any clues in “Styles” part of Chrome DevTools. Finally, I find it in “Computed”, le...

Back to top ↑

DevTools

Chrome DevTools: computed

less than 1 minute read

Today, I spent large amount of time to check one mistake, I can not find any clues in “Styles” part of Chrome DevTools. Finally, I find it in “Computed”, le...

Back to top ↑

Script

Jekyll: different pages js file conflict

less than 1 minute read

I add a new word cloud on categroies page by using wordcloud2, but it shows errors in my tags apge, because I set all js files as document.load , it running ...

Back to top ↑

error-handling

axios: error callback handling

less than 1 minute read

My backend check user register input, If input data is wrong, it will send back status 404 error with “error detail” message;

Back to top ↑

comfirmation-email

JS: confirmation email

1 minute read

When user create a new account, the system will send a email with a comfirmation link. I add token in comfirmation link as params, when user click this link,...

Back to top ↑

recover-email

JS: Password recover

less than 1 minute read

When user choose password recovery, back end server will send a email to customer email box. This email contain a password recovery form, customer can input ...

Back to top ↑

video

Back to top ↑

Callback

JS: 3 tips

less than 1 minute read

Follow the Dev Ed, learn 3 new stuffs

Back to top ↑

Call_stack

JS: 3 tips

less than 1 minute read

Follow the Dev Ed, learn 3 new stuffs

Back to top ↑

Web_APIs

JS: 3 tips

less than 1 minute read

Follow the Dev Ed, learn 3 new stuffs

Back to top ↑

Callback_Queue

JS: 3 tips

less than 1 minute read

Follow the Dev Ed, learn 3 new stuffs

Back to top ↑

Card

Back to top ↑

Map

JS: Map

less than 1 minute read

Resource

Back to top ↑