Blog Posts
Vim 常用套件與指令
- Productivity
- 05 Jul, 2017
視窗 將目前視窗放到最大 Ctrl + w + _移動到上/下面視窗 Ctrl + w + up/down套件管理 從 vimrc 自動安裝 Vundle " ht
read more
Git 常用命令
- Productivity
- 28 Jun, 2017
將其他分支的某個檔案合併到目前分支 $git checkout other_branch target_file顯示其他分支的檔案 $git show other_branch:path比較兩個 commit 之間的差別 $git diff revision_1:file_1 revision_2:file_2修改 commi
read more
Octopress 常用命令
- Productivity
- 23 Jun, 2017
新增文章 $bundle exec rake new_post['post_title']編輯文章 $vim source/_posts/post_file預覽網站 $bundle exec rake preview生成網站 $bundle exec rake generate發佈網站
read more
Postgresql 常用命令
- Database
- 08 Jun, 2017
$createdb [database_name]$pg_dump [database_name] -f [backup_filename]$psql -f [backup_filename] [database_name]$dropdb [database_name]
read more
Ubuntu 常用命令
- Productivity
- 08 Jun, 2017
解壓縮 解壓縮 tar.gz 檔 $tar zxvf file_name.tar.gz解壓縮 tar 檔 $tar xvf file_name.tar壓縮成 gz 檔 $gzip -c input_file > output_file.gz解壓縮 gz 檔 $gzip -d file_name.gz
read more