原创 如何利用nginx配置反向代理

1、下載nginx mac:brew install nginx windows:http://nginx.org/en/download.html 2、nginx下載後的配置目錄如下 mac:/usr/local/etc/ngi

原创 PMP每日一題 2020.3

2020.3.2 每日一題: During a weekly project stakeholder meeting, a product support manager brings up a concern that is i

原创 js監測頁面是否在後臺運行

document.visibilityState document.visibilityState (只讀屬性), 返回document的可見性, 即當前可見元素的上下文環境. 由此可以知道當前文檔(即爲頁面)是在背後, 或是不可

原创 js算法(排序)

js排序 常見的內部排序算法有:插入排序、希爾排序、選擇排序、冒泡排序、歸併排序、快速排序、堆排序、基數排序等。 快速排序 先從數列中取出一個數作爲“基準”。 分區過程:將比這個“基準”大的數全放到“基準”的右邊,小於或等於

原创 pmp每日一題 2020.1

2020.1.22 每日一題: You and and your team have just created a schedule network diagram.You have come up with the estima

原创 PMP每日一題 2020.2

2020.2.21 每日一題: Six team members are working on a project. Two team members work from remote location X;four team m

原创 小結 react-router 4.x路由的使用

React Router 4.x 前言 以4.0版本爲例, 我們在下載時, 要下載react-router-dom,注意不要下載 react-router react-router-dom的變量更全,更符合我們的需要 路由分爲兩種模式