Skip to content

Instantly share code, notes, and snippets.

💭
Improving the world via Ansible and DevOps.

Chu-Siang Lai chusiang

💭
Improving the world via Ansible and DevOps.
Block or report user

Report or block chusiang

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@chusiang
chusiang / Merry_Christmas.md
Created Dec 22, 2018
Merry Christmas on console.
View Merry_Christmas.md
🌟  chusiang@gundam 🎁  ~ 🎄  ❄️ 17:47
$ cowsay -f moose 'Merry Christmas'
 _________________
< Merry Christmas >
 -----------------
  \
   \   \_\_    _/_/
    \      \__/
           (oo)\_______
View zbx_template_app_chrony_service.xml
<?xml version="1.0" encoding="UTF-8"?>
<zabbix_export>
<version>3.2</version>
<date>2018-12-22T09:33:22Z</date>
<groups>
<group>
<name>Templates</name>
</group>
</groups>
<templates>
@chusiang
chusiang / teams-chat-post.sh
Last active Oct 10, 2019
Post a message to Microsoft Teams with bash script.
View teams-chat-post.sh
#!/bin/sh
# =============================================================================
# Author: Chu-Siang Lai / chusiang (at) drx.tw
# Filename: teams-chat-post.sh
# Modified: 2018-03-28 15:04
# Description: Post a message to Microsoft Teams.
# Reference:
#
# - https://gist.github.com/chusiang/895f6406fbf9285c58ad0a3ace13d025
#
@chusiang
chusiang / continuous-delivery-workshop-with-ansible-x-gitlab-ci.md
Last active Jan 18, 2018
The topic intro for 2017.10.15 DigitalOcean Hsinchu、2017.11.11 Study-Area Tainan.
View continuous-delivery-workshop-with-ansible-x-gitlab-ci.md

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
Note of the WanaCrypt0r 2.0
View WanaCrypt0r_2.0_note.md

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
@chusiang
chusiang / bat-run-docker.sh
Last active Mar 26, 2017
Batch run multiple docker containers.
View bat-run-docker.sh
#!/bin/bash
# ============================================================
# Author: Chu-Siang Lai / chusiang (at) drx.tw
# Blog: http://note.drx.tw
# Filename: bat-run-docker.sh
# Modified: 2017-03-27 00:25
# Description: Batch run multiple docker containers.
# ============================================================
for X in {1..31}; do
@chusiang
chusiang / 2016-11-26-leadership-camp-for-community-leaders.mm
Last active Nov 26, 2016
2016.11.26 Leadership Camp for Community Leaders.
View 2016-11-26-leadership-camp-for-community-leaders.mm
<map version="1.0.1">
<!-- To view this file, download free mind mapping software FreeMind from http://freemind.sourceforge.net -->
<node CREATED="1480142207100" ID="ID_1653007671" MODIFIED="1480146243259" STYLE="bubble">
<richcontent TYPE="NODE"><html>
<head>
</head>
<body>
<p>
2016-11-26 / &#31532; 7 &#32068;
@chusiang
chusiang / route53-ec2-ip-match.sh
Created Nov 14, 2016
Quick check domain address and ec2 public ip.
View route53-ec2-ip-match.sh
#!/bin/bash
# ============================================================
# Author: Chu-Siang Lai / chusiang (at) drx.tw
# Filename: route53-ec2-ip-match.sh
# Modified: 2016-11-14 15:31
# Description: Quick check domain address and ec2 public ip.
#
# - It's need install the `jq` package.
#
# Reference:
@chusiang
chusiang / memory-check.sh
Last active Nov 10, 2016
Monitoring specific process memory usage with Shell Script.
View memory-check.sh
#!/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 才符合真實情況。
#
You can’t perform that action at this time.