Skip to content

Instantly share code, notes, and snippets.

View githubhjs's full-sized avatar

Chih-Hsueh "Josh" Huang githubhjs

View GitHub Profile
@githubhjs
githubhjs / _template.ott
Created October 19, 2023 02:06 — forked from rossant/_template.ott
Convert from Markdown to OpenOffice for Linux Magazine
@githubhjs
githubhjs / twinapps_required_apps.xml
Last active October 19, 2023 09:46 — forked from shakalaca/twinapps_required_apps.xml
給 ZenUI 4.0 之後 (including Asus Rog Phone 3) 應用分身使用的 app (including 野球魂/プロスピA) 支援設定檔
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string-array name="twinapps_required_apps">
<item>com.android.vending</item>
<item>com.google.android.gms</item>
<item>jp.naver.line.android|Line: Free Calls &amp; Messages</item>
<item>com.facebook.katana|Facebook</item>
<item>com.facebook.orca|Messenger - Text and Video Chat for Free</item>
<item>com.tencent.mm|WeChat</item>
<item>com.whatsapp|WhatsApp Messenger</item>
@githubhjs
githubhjs / nycu-oauth-document.md
Created October 24, 2022 07:17 — forked from yuchingtw/nycu-oauth-document.md
陽明交通大學 OAuth 服務 - 開發者說明文件

陽明交通大學 OAuth 服務 - 開發者說明文件

這裡會介紹如何透過陽明交通大學 OAuth 服務獲取使用者資訊。本平台是依據 OAuth 2.0 (RFC6749) 的標準開發,目前僅開放 Authorization Code 方式來認證。

開放欄位

  • Email
  • 內容:Email, 帳號名稱
@githubhjs
githubhjs / gitk
Created June 15, 2020 06:40 — forked from RootKiller/gitk
gitk dark theme
set mainfont {{Open Sans} 10}
set textfont {Consolas 9}
set uifont {Tahoma 9 bold}
set tabstop 8
set findmergefiles 0
set maxgraphpct 50
set maxwidth 16
set cmitmode patch
set wrapcomment none
set autoselect 1
[index]
[#1]前言
[#2]游戏
[#3]衍生游戏
[#4]书籍-非小说
[#5]小说
[#6]影视以及动画
[#7]漫画
[/index]
[size=4][b]可以转载、但转载[color=Red]请高亮[/color]注明来源链接以及作者、并在转载后将帖子链接用[color=Red]短消息[/color]发给我[/b][/size]
@githubhjs
githubhjs / SimpleHTTPServerWithUpload.py
Created December 9, 2018 04:51 — forked from UniIsland/SimpleHTTPServerWithUpload.py
Simple Python Http Server with Upload
#!/usr/bin/env python
"""Simple HTTP Server With Upload.
This module builds on BaseHTTPServer by implementing the standard GET
and HEAD requests in a fairly straightforward manner.
"""
@githubhjs
githubhjs / Connect-to-Android-WebDAV-Server.md
Created January 22, 2018 03:11 — forked from akaleeroy/Connect-to-Android-WebDAV-Server.md
Access phone storage over WiFi with WebDAV Server for Android

Access phone storage over WiFi

Batch file to map your Android phone as network drive in Windows.

Preview of Phone.cmd usage

Requirements

@githubhjs
githubhjs / Migration.js
Created July 14, 2017 03:48 — forked from stevebrun/Migration.js
A script for migrating the primary domain of a Google Apps account.
// migrate the script executer's primary domain
// domainName - the desired domain to migrate to
function migrateDomain(organizationName, domainName) {
var customerId = 'my_customer';
var customer = AdminDirectory.Customers.get(customerId);
customer.customerDomain = domainName;
customer.postalAddress.organizationName = organizationName;
customer.customerCreationTime = undefined; //
AdminDirectory.Customers.patch(customer, customerId);
@githubhjs
githubhjs / giveaway_su_captcha_helper.user.js
Created June 20, 2017 02:31 — forked from stackia/giveaway_su_captcha_helper.user.js
giveaway.su 验证码辅助输入脚本
// ==UserScript==
// @name giveaway.su 验证码输入辅助
// @namespace http://tampermonkey.net/
// @version 0.2
// @description 自动识别验证码+验证码输入键盘,必须安装 Liana 字体方可正常使用
// @author Stackia
// @require https://cdn.bootcss.com/jquery/3.2.1/jquery.min.js
// @match https://giveaway.su/giveaway/view/*
// @updateURL https://gist.githubusercontent.com/stackia/5e6fc0a3f1196042c1075109dd149825/raw/giveaway_su_captcha_helper.user.js
// @downloadURL https://gist.githubusercontent.com/stackia/5e6fc0a3f1196042c1075109dd149825/raw/giveaway_su_captcha_helper.user.js
@githubhjs
githubhjs / ida_dump.c
Created March 20, 2016 10:48 — forked from cra0kalo/ida_dump.c
CSGO Decrypt Overwatch
char __thiscall sub_104E1A10(int this, const char *a2, int a3, int a4)
{
int v4; // eax@1
int v5; // edx@2
int v6; // ecx@2
int v7; // eax@5
void *v8; // esp@8
signed int v9; // esi@9
unsigned __int32 v10; // eax@11
int v11; // esi@11