Skip to content

Instantly share code, notes, and snippets.

ZW Cai x43x61x69

Block or report user

Report or block x43x61x69

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@x43x61x69
x43x61x69 / ups_tracker_expend.js
Created Dec 10, 2019
UPS Tracking Auto Expend & Percentage
View ups_tracker_expend.js
// UPS Tracking Auto Expend & Percentage
// URL Pattern: ups.com/track
addEventListener("load", function()
{
var observer = new MutationObserver(function(mutations, me)
{
var details = document.getElementById("stApp_lblShipProgressTableViewDetailed");
if (details)
{
@x43x61x69
x43x61x69 / amazon_tracker_progress.js
Created Dec 10, 2019
Amazon Progress Tracker in Percentage
View amazon_tracker_progress.js
// Amazon Progress Tracker in Percentage
// URL Pattern:
// amazon.com/progress-tracker/package/*
// *.amazon.com/progress-tracker/package/*
var items = document.getElementsByClassName("js-milestone-bar");
var labels = document.getElementsByClassName("milestone-primaryMessage");
for (var i = 0; i < items.length; i++)
{
View com.apple.private.health.heart-rhythm.plist
<?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>HKAtrialFibrillationDetectionOnboardingCompleted</key>
<integer>1</integer>
<key>HKElectrocardiogramOnboardingCompleted</key>
<integer>3</integer>
</dict>
</plist>
@x43x61x69
x43x61x69 / .bash_profile
Last active May 21, 2018
Check SSL Certificate Info via Linux/macOS Command Line
View .bash_profile
# You can place this into '.bash_profile' to make it more accessible.
# sslstatus google.com:443
sslstatus()
{
echo
a=(${1//:/ })
PORT=443
if [ "${#a[@]}" -ne 2 ]; then
View gogoro_coupon_inject.js
javascript:
{
function evtSim(e, idx)
{
sel.selectedIndex = idx;
var evt = document.createEvent("MouseEvents");
evt.initEvent("change", false, true);
e.dispatchEvent(evt);
}
function inj(plt)
@x43x61x69
x43x61x69 / README
Last active Mar 24, 2018
Starbucks (Taiwan) Email Validation RFC 2822 Compliant Fix
View README
// Copyright (C) 2017 Zhi-Wei Cai.
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
@x43x61x69
x43x61x69 / Spotify.txt
Created Jan 14, 2018
Spotify Ads/Tracking Domains
View Spotify.txt
adeventtracker.spotify.com
spclient.wg.spotify.com
d3rt1990lpmkn.cloudfront.net
adjust.com
doubleclick.net
googleadservices.com
googlesyndication.com
googletagmanager.com
googletagservices.com
google-analytics.com
@x43x61x69
x43x61x69 / switch_romfs.py
Created Jul 19, 2017 — forked from SciresM/switch_romfs.py
Switch RomFS (IStorage) -> Files
View switch_romfs.py
from struct import unpack as up
import sys, os
dirs, files = None, None
def read_at(fp, off, len):
fp.seek(off)
return fp.read(len)
def read_u8(fp, off):
You can’t perform that action at this time.