install(windows)

  • download PyCharm windows Community version
閱讀全文 »

gitk 中文亂碼

1
2
3
4
git config --global core.quotepath false   		 #顯示status編碼
git config --global gui.encoding utf-8 #圖形界面編碼
git config --global i18n.commit.encoding utf-8 #提交信息編碼
git config --global i18n.logoutputencoding utf-8 #輸出log編碼
閱讀全文 »

JPG, 也有人說是 JPEG - 大色素檔案,但不 support 透明檔案及動畫

JPG(Joint Photographic Experts Group)

  • 支持 24 位元影像
  • 是一種破壞性資料壓縮格式,壓縮比從 10:1 到 20:1 不等,大多數設計師選擇60%到70%範圍內
  • 不支持透明及動畫
  • JPG格式最常用於圖像,攝影和任何具有大量顏色的東西。
閱讀全文 »

基本原理

Git儲存每次專案更新時的快照

檔案沒有變更,Git不會再度儲存該檔案,而是記錄到前一次的相同檔案的連結。

閱讀全文 »

常用網頁

課程

Online Coding

網頁設計工具

閱讀全文 »

next

clone next theme

1
2
3
4
5
6
npm install hexo-theme-next --save
# copy next config to local
# windows command
copy node_modules\hexo-theme-next\_config.yml _config.next.yml
# linux command
cp node_modules/hexo-theme-next/_config.yml _config.next.yml

or

1
2
3
4
5
6
git clone https://github.com/next-theme/hexo-theme-next themes/next
# copy next config to local
# windows command
copy themes\next\_config.yml _config.next.yml
# linux command
cp themes/next/_config.yml _config.next.yml

_config.yml 設定

設定 theme

1
2
# theme: landscape
theme: next
閱讀全文 »

git 命令

git init

1
git init

Branch

建立新分支 backup

1
2
3
4
# 建立新分支 issue1
git branch issue1
# 建立新分支 backup 同時切過去
git checkout -b backup
閱讀全文 »

第一次備份

git init

1
2
cd blog
git init

建立新分支 backup

1
git checkout -b backup
閱讀全文 »