R's Workshop

Install Git-Repo on Ubuntu 16.04

工作上用 git-repo 管理 SDK. 但在 Ubuntu 16.04 下透過 apt install repo 抓到的版本太舊, 一直要我升級. 升級後又噴 WARNING 說 python 版本不合. 紀錄一下在 Ubuntu 16.04 上安裝最新板 git-repo 的步驟. Read more

Add SSH key to GitHub Account

紀錄在 GitHub 上新增 SSH key 的方法, 省去 clone 和 push 時打密碼的麻煩. Read more

Change Login Shell without Root Privilege

最近接手同事的案子, 拿到一台 server 的登錄權限. 但登進去後發現 default shell 不是 bash 有點小崩潰 … 趕緊想辦法換一下. Read more

Binary Compatibility: ELF, ABI, and LSB

Binary compatibility 是指一段 code 在 A 電腦上編譯後, 在 B 電腦上能否正常執行. 影響一個程式能不能跨平台/跨作業系統執行的因素有兩個: excutable file format 和 Application Binary Interface (ABI). Read more

Gerrit Sandbox Branch

使用 Gerrit 時, 開發者之間 sharing code 除了直接讓對方 fetch 自己 local 主機的 git repos 外, 也可以善用 Gerrit 的 sandbox branch 來達到分享的目的. Read more