Skip to content

Instantly share code, notes, and snippets.

View whonion's full-sized avatar
🧘‍♂️
In Code We Trust

RegEdit | whonion.app whonion

🧘‍♂️
In Code We Trust
View GitHub Profile
@whonion
whonion / github-runner.sh
Created January 12, 2024 06:13
github-runner
latest_version=$(curl -s https://api.github.com/repos/actions/runner/releases/latest | grep "tag_name" | cut -d'"' -f4)
REPO_RUNNERS_TOKEN=TOKEN
REPO=whonion
mkdir workflows
cd workflows
curl -o actions-runner-linux-x64-latest.tar.gz -L "https://github.com/actions/runner/releases/download/$latest_version/actions-runner-linux-x64-$latest_version.tar.gz"
mkdir whonion
tar -xzf ./actions-runner-linux-x64-latest.tar.gz --directory $REPO
cd whonion
./config.sh --url https://github.com/whonion/whonion --token $REPO_RUNNERS_TOKEN
$hostsFilePath = "%systemroot%\System32\drivers\etc\hosts"
$linesToAdd = @(
"127.0.0.1 activate.adobe.com",
"127.0.0.1 practivate.adobe.com",
"127.0.0.1 lmlicenses.wip4.adobe.com",
"127.0.0.1 lm.licenses.adobe.com",
"127.0.0.1 na1r.services.adobe.com",
"127.0.0.1 hlrcv.stage.adobe.com",
"127.0.0.1 genuine.adobe.com",
"127.0.0.1 prod.adobegenuine.com"
@whonion
whonion / coinstatsapp-portfolio-rollup.js
Last active November 22, 2023 12:29
coinstatsapp-portfolio-rollup
// ==UserScript==
// @name coinstats.app portfolio rollup
// @namespace http://your.namespace.here/
// @version 0.1
// @description Click on specific elements on coinstats.app
// @author whonion | https://github.com/whonion
// @match https://old.coinstats.app/*
// @grant none
// ==/UserScript==
@whonion
whonion / STABLECOIN_CONTRACTS.yaml
Created November 17, 2023 13:41
STABLECOIN_CONTRACTS
ETHEREUM:
USDC: 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48
USDT: 0xdAC17F958D2ee523a2206206994597C13D831ec7
DAI: 0x6B175474E89094C44Da98b954EedeAC495271d0F
ARBITRUM:
USDC(Bridged): 0xFF970A61A04b1cA14834A43f5dE4533eBDDB5CC8
USDC(Native): 0xaf88d065e77c8cC2239327C5EDb3A432268e5831
USDT: 0xFd086bC7CD5C481DCC9C85ebE478A1C0b69FCbb9
DAI: 0xDA10009cBd5D07dd0CeCc66161FC93D7c9000da1
OPTIMISM:
#
# This obfuscation dictionary contains names that are not allowed as file names
# in Windows, not even with extensions like .class or .java. They can however
# be used without problems in jar archives, which just begs to apply them as
# obfuscated class names. Trying to unpack the obfuscated archives in Windows
# will probably generate some sparks.
# Usage:
# java -jar proguard.jar ..... -classobfuscationdictionary windows.txt
# -packageobfuscationdictionary windows.txt
#
@whonion
whonion / js-debank-auto-follow.js
Created October 7, 2023 06:59
js-debank-auto-folow.js
// Find all buttons on the page
var buttons = document.querySelectorAll('.Button_button__1yaWD');//If need change element's code here
// Specify the text you want to search for on the button
var searchText = 'Follow';
// Loop through the buttons and click the one with the specified text
buttons.forEach(function(button) {
if (button.textContent === searchText) {
button.click();
@whonion
whonion / quai.sh
Last active November 1, 2023 10:28
quai.sh
#!/bin/bash
#0xf2b78c12f524b021fa5ebd95262ab23aa8223a54
#CPU Miner
#git clone https://github.com/dominant-strategies/quai-cpu-miner
#GPU Miner
#git clone https://github.com/dominant-strategies/quai-gpu-miner
#Stratum Proxy
#git clone
#Explorers
<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
<settings pass="oobeSystem">
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<OOBE>
<HideOnlineAccountScreens>true</HideOnlineAccountScreens>
<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
</OOBE>
</component>
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
@whonion
whonion / README.md
Created September 19, 2023 00:28 — forked from krcm0209/README.md
Using AdGuard DNS over HTTPS (DoH) on Windows 11

Why

You may want to use AdGuard's DNS over HTTPS[^2] service if you

  1. Want to make it harder for your ISP to know what websites you are requesting
  2. Want to block most traditional ads from your web browsing experience across your entire PC

Setup instructions

  1. Open PowerShell
[
"0x1c5a80630a16ab9e3b274c2f839df5793edf21e8",
"0x94e63d383afc369246a28a1e92ad4ae569649772",
"0xc88fb80d1e9f2bd0b6a194f2c844388d24d52e90",
"0x97a81cbf020b24e14d01d619f6afeb3f011ec513",
"0x7d84c998578f20e4834586a61a2fe4a929df8ea9",
"0x4b633130ae13a6eae484b41ce5a80867229d5755",
"0xab887ed848a72b9e3296634879b27abaf35339ee",
"0xa67009758cba0ac0292f3a8e66fd0058d6c10d3b",
"0xe75b04284e193a663aebfdbc69dc0477205a874d",