今天要來介紹一個比較抽象的觀念,但在 K8s 中很常拿來使用,其實筆者從一開始的文章就開始埋下 Namespace 的坑,很多套件都會用到 Namespace…
今天要介紹的內容不一定適用於每位讀者,不一定每位讀者都會用到這個功能,但因為 K8s 也有提供這種功能所以就想說介紹給讀者了,今天要介紹的是 K8s 的排程工具:CronJob。
看到 Cron 應該就知道這個跟時間任務管理有關,而 Job 是任務,所以 CronJob 就是在規定時間要執行的任務,也就是大家俗稱的排程。
在昨天的 flexbox 介紹相信大家對於排版已經有了初步的了解,藉由 flexbox 讓網頁排版不再困難,然而前端世界變化萬千,比 flexbox 更厲害的排版樣式: grid…
現在的網頁越來越複雜,相信大家不會想自己手動做出一些別人已經做過的東西,想嘗試套用別人寫好的套件來加速自己的開發,今天這篇文章就是要教大家如何去使用別人寫好的套件,並且安裝到自己的專案底下。
今天要來介紹一個非常弔詭的東西: 閉包(closure) ,至所以會有 閉包 這個東西主要是因為 JavaScript 可以把 function 當成是變數傳來傳去,這邊用一個簡單的例子來形容 閉包 。
function foo2() { function foo() { console.log('Hello World') } foo()}foo2() // 輸出 "Hello World"
哈囉大家好我是 Andy,這是我第一次參加鐵人賽希望可以如期的每天都能發一篇文章出來 XD
上網可以說是當今人們必備技能,也讓越來越多人想從事與網頁相關的工作,本系列文主要是讓一些完全沒有基礎知識的新手利用 30 天的時間一起來學習如何寫出網頁,如果能夠順利學習完並吸收完畢應該會有 junior F2E 的標準吧 XD,之後的一些 code 會擺在 codepen 以及 GitHub 上面提供給大家參考。
相信大家一開始在練習網頁的時候可能會為了讓自己網頁底子更扎實,所以網頁的排版、 RWD…