Skip to content

Instantly share code, notes, and snippets.

View chusiang's full-sized avatar
🐧
Improving the world via Ansible and DevOps.

Chu-Siang Lai chusiang

🐧
Improving the world via Ansible and DevOps.
View GitHub Profile
# 可以設定一些預設行為
# [defaults] General defaults
[defaults]
# hostfile -- 主機 ip 對照
inventory = hosts
# remote_user -- 遠端使用者名稱
remote_user = vagrant
@chusiang
chusiang / devopsdays_taipei_2023_open_space_day1.md
Created September 26, 2023 05:43
Open space of day 1 @ DevOpsDays Taipei 2023

Open space of day 1 @ DevOpsDays Taipei 2023

開始 DevOps 後,學了什麼軟實力

提案人:凍仁。

  1. 畫圖:用紙、筆和白板畫流程圖、架構圖,補助溝通 …。
  2. 我們上班是來解決有 商業價值 的問題,而不是純 coding。
  3. 為什麼我們都要聽老闆?因為他最了解 市場需求
  4. 工程師 (Engineer) 的通病,就是只關注 技術債技術評估 等工程問題;乎略了 從使用者角度著想溝通方法
@chusiang
chusiang / migrate-diary-to-sub-dir.sh
Created September 4, 2023 10:13
Migrate diary from yyyy-mm-dd.md to multi-sub directory architecture for "mattn/calendar-vim" plugin.
#!/bin/bash
# =============================================================================
# Author: Chu-Siang Lai / chusiang (at) drx.tw
# Blog: http://note.drx.tw
# Filename: migrate-diary-to-sub-dir.sh
# Modified: 2023-09-04 15:52
# Description: Migrate diary from vimwiki/obsidian format to multi-sub
# directory architecture for "mattn/calendar-vim" plugin, and
# only review/edit via Vim.
# Reference: https://github.com/chusiang/vimrc/commit/faca1de7e49f9a51cba3805d4ba3b2fc8a449909
@chusiang
chusiang / .ansible-lint.yaml
Created September 26, 2022 08:40
ansible-lint config of v4.0+
---
# .ansible-lint
# exclude_paths included in this file are parsed relative to this file's location
# and not relative to the CWD of execution. CLI arguments passed to the --exclude
# option will be parsed relative to the CWD of execution.
exclude_paths:
- .gitlab-ci.yml
- logs/
- roles/

「MEGAHOBBY EXPO 台灣 2022」 x 「閃電霹靂車 World Tour 台灣站」非官方筆記

寫在前頭,此筆記純資訊分享,透過網路下訂商品前,還請自行評估「資訊安全」,若有疑慮還請不要下單。

[TOC]

活動資訊

@chusiang
chusiang / .editorconfig
Last active May 26, 2020 05:34
The .editorconfig for my Ansible Playbooks project.
# EditorConfig is awesome: https://EditorConfig.org
# top-most EditorConfig file
root = true
# Unix-style newlines with a newline ending every file
[*]
end_of_line = lf
insert_final_newline = true
@chusiang
chusiang / starcraft2_units.md
Last active December 23, 2023 09:12
星海爭霸 2 中英文對照

單位建築中英文對照 | 星海爭霸 2

人族

補給站        Supply Depot
兵營          Barracks
陸戰隊        Marine
  掠奪者      Marauder
  死神        Reaper
@chusiang
chusiang / retry_gitbook_build.sh
Last active March 6, 2020 06:47
A script for auto retry the `gitbook build` command.
#!/bin/bash
# =============================================================================
# Author: Chu-Siang Lai / chusiang.lai (at) gmail.com
# Filename: retry_gitbook_build.sh
# Modified: 2020-03-04 15:47
# Description:
# As the gitbook maintainer, I want to auto retry the "gitbook build" tasks,
# so that we can reduce a lot of manual retry actions.
# =============================================================================
@chusiang
chusiang / Merry_Christmas.md
Created December 22, 2018 09:48
Merry Christmas on console.
🌟  chusiang@gundam 🎁  ~ 🎄  ❄️ 17:47
$ cowsay -f moose 'Merry Christmas'
 _________________
< Merry Christmas >
 -----------------
  \
   \   \_\_    _/_/
    \      \__/
 (oo)\_______