Skip to content

Instantly share code, notes, and snippets.

View hcchen's full-sized avatar

Chen,Hsieh-Chang hcchen

View GitHub Profile
<%
function gaScreenView (vcard) {
return `https://www.google-analytics.com/collect?${Qs.stringify({
an: 'LINE 台水數位版名片',
cd: `台水一般版-2020/07/19-${vcard.mobile}`, // 畫面名稱,在此用來紀錄數位版名片的版本
cid: vcard.uuid, // uuid
ds: 'app', // 資料來源,填寫為 app
t: 'screenview',
tid: 'UA-39556213-12', // GA 追蹤代碼
ul: 'zh-tw', // locale
uuid title_tw name_tw title_en name_en mobile ext email
00000000-0000-0000-0000-000000110168 工程員 陳協昌 Junior Engineer Allen Chen 0912617737 563 hcchen1113@mail.water.gov.tw
@hcchen
hcchen / Linux Static IP
Created February 3, 2016 02:11 — forked from fernandoaleman/Linux Static IP
How To Configure Static IP On CentOS 6
## Configure eth0
#
# vi /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE="eth0"
NM_CONTROLLED="yes"
ONBOOT=yes
HWADDR=A4:BA:DB:37:F1:04
TYPE=Ethernet
BOOTPROTO=static
# ---------------------------------------------------------------------------
#
# Description: This file holds all my BASH configurations and aliases
#
# Sections:
# 1. Environment Configuration
# 2. Make Terminal Better (remapping defaults and adding functionality)
# 3. File and Folder Management
# 4. Searching
# 5. Process Management