Skip to content

Instantly share code, notes, and snippets.

@x43x61x69
x43x61x69 / vnc_install.sh
Last active April 29, 2024 05:04
Steam Deck VNC Installation
#!/bin/bash
#
# Script for installing x11vnc on Steam Deck.
#
# Install:
#
# sh -c "$(curl -fsSL https://gist.githubusercontent.com/x43x61x69/9a5a231a25426e8a2cc0f7c24cfdaed9/raw/vnc_install.sh?$RANDOM)"
#
# This will modify root filesystem so it will probably get
# overwrite on system updates but is totally ok executing
@x43x61x69
x43x61x69 / elf_captcha.js
Created September 3, 2021 15:19
ELF Auto CAPTCHA
// ELF Auto CAPTCHA
// URL Pattern:
// - https://www.elf.com.tw/login.aspx
window.addEventListener('load', function () {
const formData = new FormData();
formData.append('p', 'ELF_Identify');
fetch('GetSession.ashx', {
method: 'POST',
body: formData
@x43x61x69
x43x61x69 / apple_dhl.html
Last active December 1, 2020 20:25
Apple Shipment Enumerator via DHL Express (SHANGHAI, CHINA)
<!--
// Copyright (C) 2020 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
@x43x61x69
x43x61x69 / ups_tracker_expend.js
Created December 10, 2019 07:33
UPS Tracking Auto Expend & Percentage
// 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 December 10, 2019 06:56
Amazon Progress Tracker in Percentage
// 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++)
{
<?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 10:14
Check SSL Certificate Info via Linux/macOS Command Line
# 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
@x43x61x69
x43x61x69 / README.md
Last active May 19, 2018 18:14
Xenoblade 2 (Switch) - Save Editing
javascript:
{
function evtSim(e, idx)
{
sel.selectedIndex = idx;
var evt = document.createEvent("MouseEvents");
evt.initEvent("change", false, true);
e.dispatchEvent(evt);
}
function inj(plt)