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
@chusiang
chusiang / continuous-delivery-workshop-with-ansible-x-gitlab-ci.md
Last active December 3, 2024 08:20
The topic intro for 2017.10.15 DigitalOcean Hsinchu、2017.11.11 Study-Area Tainan.

DevOps 人一定要知道的持續交付技巧 - Ansible & GitLab CI 實戰演練

2017/11/01 此頁面已不再維護,請移至 GitLab 上觀看。

主題簡介

Ansible 是個與 Puppet, Salt, Chef 並列其四的 Infrastructure as Code 組態設定工具,其簡單易用的特性讓人愛不釋手;GitLab 是業界常見的 Git 私有版本控制服務,搭配其 GitLab CI 更能建立屬於自己的發佈流程。

本次凍仁將藉由工作坊的形式,帶領大家一探持續交付的世界和自動化的威力!

@chusiang
chusiang / WanaCrypt0r_2.0_note.md
Last active May 21, 2017 17:05
Note of the WanaCrypt0r 2.0

Checksum of WanaCrypt0r 2.0 Patch

  • kb4019264: Windows 7.
  • kb4019215: Windows 8.

SHA256

150fe39c77e54c38ff0458674353bf41352f886683c0feb3ef52f6fbbd3f8ac2  windows6.1-kb4019264-x64_c2d1cef74d6cb2278e3b2234c124b207d0d0540f.msu
59668a383811d621d2ab2e372fb183c5733022a1a5bf9ceebb0bbb69ce735824  windows6.1-kb4019264-x86_aaf785b1697982cfdbe4a39c1aabd727d510c6a7.msu
@jlaska
jlaska / .ansible.cfg
Last active March 4, 2019 20:15
Holiday Themed Ansible Cows
[defaults]
cow_selection = random
cow_whitelist = ansible_lights,ansible_reindeer,ansible_tree
@chusiang
chusiang / memory-check.sh
Last active November 10, 2016 05:03
Monitoring specific process memory usage with Shell Script.
#!/bin/bash
# ============================================================
# Author: Chu-Siang Lai / chusiang (at) drx.tw
# Filename: memory-check.sh
# Modified: 2016-10-24 15:47
# Description: Monitoring process memory usage.
#
# `ps aux` 結果中的 RSS (resident set size) 的單位是 KB,而 zabbix-
# server 用的單位是 B,所以得多乘以 1024 才符合真實情況。
#
@chusiang
chusiang / 長假IT應變計畫_ithome.md
Last active February 5, 2024 08:07
長假 IT 應變計畫 | iThome
@chusiang
chusiang / slackpost.sh
Last active March 28, 2018 07:58 — forked from dopiaza/slackpost
Post a message to a Slack channel
#!/bin/bash
# ============================================================
# Author: Chu-Siang Lai / chusiang (at) drx.tw
# Blog: http://note.drx.tw
# Filename: slackpost.sh
# Modified: 2018-03-28 15:58
# Description: Post a message to a Slack channel.
# Reference:
#
# - https://gist.github.com/dopiaza/6449505#gistcomment-1627214
@appleboy
appleboy / git.md
Last active November 12, 2022 18:30
常用的 git 指令

git 常用指令

團隊常常需要切換或合併 branch,底下是常用 git 指令

git pull

拉最新的 master 程式碼到目前 branch。不管是在任何 branch 都是執行底下指令

$ git pull --rebase origin master
anonymous
anonymous / vmware-tech-day-2016-taiwan.md
Created June 23, 2016 13:37
VMware Technology Day 2016 Taiwan
  • CPU Performance
    • Ready time need to know
      • High CPU usage -> Best Virtualization utilization for enterprise, not really the CPU resource is exhausted
    • Higher Ready time -> Wait for Physical CPU Ready for a long time -> may be the CPU exhausted with High CPU usage
    • resxtop
      • V for show vm only
      • e for show the world of specified vm
    • Not to use SMP (1 CPU 1 vCPU)
  • Memory Performance
  • vm memory usage strategy: on demend -> will not return back memory
@chusiang
chusiang / ansible_on_demand_webinar.md
Last active June 22, 2016 07:29
Ansible On Demand Webinar | Ansible Inc.
@jeffhung
jeffhung / SHELL
Last active November 14, 2016 07:07
Vagrantfile for Declaring Tax (2016)
$ VBoxManage list usbhost
Host USB Devices:
...
UUID: 248ee848-3d9e-47cc-96d7-779e54946e39
VendorId: 0x0bda (0BDA)
ProductId: 0x0169 (0169)
Revision: 97.35 (9735)
Port: 1