Skip to content

Instantly share code, notes, and snippets.

View HenryYang's full-sized avatar
:octocat:
!@#$%^&*()

HuangI Yang HenryYang

:octocat:
!@#$%^&*()
View GitHub Profile

Keybase proof

I hereby claim:

  • I am HenryYang on github.
  • I am henryyang (https://keybase.io/henryyang) on keybase.
  • I have a public key whose fingerprint is EDB9 A3C7 A747 3884 31A3 BE4B 1DE1 3A1E 428C 6544

To claim this, I am signing this object:

<!-- Office 365 client configuration file sample. To be used for Office 365 ProPlus 2016 apps,
Office 365 Business 2016 apps, Project Pro for Office 365 and Visio Pro for Office 365.
For detailed information regarding configuration options visit: http://aka.ms/ODT.
To use the configuration file be sure to remove the comments
For Office 365 client apps (verion 2013) you will need to use the 2013 version of the
Office Deployment Tool which can be downloaded from http://aka.ms/ODT2013
The following sample allows you to download and install Office 365 ProPlus 2016 apps
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>appRules</key>
<dict>
<key>150</key>
<true/>
<key>am.sunrise.ios</key>
<dict>
@HenryYang
HenryYang / pp2t_vpn.sh
Last active March 3, 2019 04:07
Easy Install PP2P VPN
#!/bin/bash
apt update
apt install -y pptpd
echo "localip 192.168.0.1" >> /etc/pptpd.conf
echo "remoteip 192.168.0.128-255" >> /etc/pptpd.conf
echo "ms-dns 8.8.8.8" >> /etc/ppp/pptpd-options
@HenryYang
HenryYang / reclaimWindows10.ps1
Created February 1, 2017 07:57 — forked from alirobe/reclaimWindows10.ps1
"Reclaim Windows 10" turns off a bunch of unnecessary Windows 10 telemetery, removes bloatware, and privacy invasions. Review and tweak before running. Scripts for reversing are included and commented. Fork via https://github.com/Disassembler0 (different defaults)
##########
# Win10 Initial Setup Script
# Author: Disassembler <[email protected]>
# Version: 1.7, 2016-08-15
# dasm's script: https://github.com/Disassembler0/Win10-Initial-Setup-Script/
# THIS IS A PERSONALIZED VERSION
# This script leaves more MS defaults on, including MS security features.
# Tweaked based on personal preferences for @alirobe 2016-11-16 - v1.7.1
@HenryYang
HenryYang / DeutscheBahn_GPS.py
Created January 11, 2018 15:47
Catch Germany DB train Real-time GPS via in-train WiFi
#!/usr/bin/python
# coding: utf8
import requests
import sys
import os
import random
import time
import threading
@HenryYang
HenryYang / tokenPaymentBanks.md
Last active January 2, 2023 17:45 — forked from shyuan/tokenPaymentBanks.md
在台灣的國際 Pay 信用卡與金融卡支援銀行對照表

對應表

銀行/支付系統 Apple Pay Google Pay Samsung Pay Garmin Pay Fitbit Pay 支援家數
國泰世華銀行 5
國泰世華銀行 - 金融卡 5
中國信託銀行 5
中國信託銀行 - 金融卡 3
台新國際商業銀行 5
台新國際商業銀行 - 金融卡 5
聯邦銀行 5
from urllib2 import urlopen
import json
html = urlopen('https://www.amexlovelocal.com.tw/backend/Api/GetStores').read()
amex_json = html.split('{"StoreList":')[1].split(',"dbl":')[0]
amex_store = json.loads(amex_json)
@HenryYang
HenryYang / get_Mojave_iso.sh
Last active December 23, 2018 15:00 — forked from DjinnGA/prepare-iso.sh
Convert MacOS 10.14 Mojave Installer App To ISO File
#!/bin/bash
hdiutil create -o /tmp/Mojave.cdr -size 8g -layout SPUD -fs HFS+J
hdiutil attach /tmp/Mojave.cdr.dmg -noverify -mountpoint /Volumes/install_build
sudo /Applications/Install\ macOS\ Mojave.app/Contents/Resources/createinstallmedia --volume /Volumes/install_build
mv /tmp/Mojave.cdr.dmg ~/Desktop/InstallSystem.dmg
hdiutil detach /Volumes/Install\ macOS\ Mojave
hdiutil convert ~/Desktop/InstallSystem.dmg -format UDTO -o ~/Desktop/Mojave.iso
mv ~/Desktop/Mojave.iso.cdr ~/Desktop/Mojave.iso
@HenryYang
HenryYang / flight_info.md
Last active February 1, 2024 19:00
Few tips about flight