Skip to content

Instantly share code, notes, and snippets.

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

HuangI Yang HenryYang

:octocat:
!@#$%^&*()
View GitHub Profile
@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 / 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 <disassembler@dasm.cz>
# 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 / 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
<?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>
<!-- 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

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: