Posts

Showing posts from November, 2017

VS Code x GitLab 首次註冊使用教學 如何從 VSCODE 上傳到 gitLab

第一次使用 VSCode @@ 總之一定要來搭配 Git 於 GitLab 上使用 先於 GitLab 上新增 New Project 新增完後,GitLab 會提醒需要 ssh 連線才能 push & pull https://gitlab.com/help/ssh/README (Teach how to generate a new key or locating a existing key) 下載 puttygen,產生一組 public & private key 在 GitLab 上傳 public key https://gitlab.com/profile/keys 接下來就回到 VS Code,按 Ctrl + ` ,把 Integrated Terminal 打開 輸入 public key 的檔案 cat ~/.ssh/id_rsa.pub 進入到要 git 的資料夾 cd newFolder 輸入一些 git 指令 // 設定 git 資訊 git config --global user.name "Your Name" git config --global user.email "Your Email" // 初始化 a new repository git init // 把 gitLab 上的同步過來 // 這邊會要求輸入 gitLab 的帳號密碼,就是登入時用的 git remote add origin git@gitlab.com:YOURNAME/YOURNAME.git // 把該資料檔案全部加入 git staging area (要同步的檔案) 準備 commit git add . //git add -A 也可 // 新增一個 commit git commit -m "版本備註" // 上傳到 gitLab // master 是主線的意思 git push -u origin master 回到 gitLab 查看一下東西有沒有上傳,這時應該 VSCODE 也會有對應的 git 狀態了

Front-End 20171122

一點筆記 from Modern Web and App Programming HTML5 HTML5 之後可以直接進行表單元件的驗証了 i.g., input type="email" required  CSS、Bootstrap v4 根本直接掛 bootstrap就好了 CSS3 新元素 display:flex

Front-End 101

因緣際會下決定重新學習網頁前端設計。 打算學習的方向是 HTML5 、CSS 3、Bootstrap、Javascript、React、React Navtive,重點是要熟悉 JS。 現在的網頁和八年前剛畢業所學的已經完全是另一個生態系了。 也只好從頭來過。好險很多概念基本上不變的。 目前打算首先從這篇開始 清大資工系教授的 Modern Web and App Programming https://nthu-datalab.github.io/webapp/index.html 免費 接著是 Udemy - The Complete JavaScript Course: Build a Real-World Project https://www.udemy.com/the-complete-javascript-course/ NTD $300 Udemy - JavaScript 全攻略:克服 JS 的奇怪部分 https://www.udemy.com/javascriptjs/ NTD $300 之後會在這裡將學習時間做個記錄。 https://time.graphics/line/d4720b9777f9dbb4bdbd1981f7c4fdd9