Skip to content

Instantly share code, notes, and snippets.

View githubhjs's full-sized avatar
🎯
Focusing

Chih-Hsueh "Josh" Huang githubhjs

🎯
Focusing
View GitHub Profile
@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 libsteve/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
@githubhjs
githubhjs / steam_console_params.txt
Last active August 29, 2015 14:26 — forked from davispuh/steam_console_params.txt
Steam client parameters, consoles commands and variables
-480p - Run tenfoot in 480p rather than 1080p
-720p - Run tenfoot in 720p rather than 1080p
-bigpicture - Start in Steam Big Picture mode
-cafeapplaunch - Launch apps in a cyber cafe context
-candidates - Show libjingle candidates for local connection as they are processed
-ccsyntax - Spew details about the localized strings we load
-complete_install_via_http - Run installation completion over HTTP by default
-console -
-cybercafe - Forces cyber cafe mode for debugging
-debug_steamapi - enables logging of Steam API functions
function git_prompt_info() {
ref=$(git symbolic-ref HEAD 2> /dev/null) || return
echo "$ZSH_THEME_GIT_PROMPT_PREFIX${ref#refs/heads/}$ZSH_THEME_GIT_PROMPT_SUFFIX"
}