This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- | |
// 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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++) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript: | |
{ | |
function evtSim(e, idx) | |
{ | |
sel.selectedIndex = idx; | |
var evt = document.createEvent("MouseEvents"); | |
evt.initEvent("change", false, true); | |
e.dispatchEvent(evt); | |
} | |
function inj(plt) |
NewerOlder