Skip to content

Instantly share code, notes, and snippets.

@e9x
e9x / discord-typing.user.js
Created March 10, 2024 02:17
Prevent others from knowing you're typing on Discord
// ==UserScript==
// @name Discord Block Typing
// @namespace https://github.com/e9x
// @version 1.0.0
// @description Prevent others from knowing you're typing on Discord
// @author e9x
// @homepageURL https://github.com/e9x
// @match https://*.discord.com/app
// @match https://*.discord.com/channels/*
// @match https://*.discord.com/login
@e9x
e9x / configs.py
Last active March 6, 2024 02:15
mullvad config doohickey
#!/usr/bin/env python3
import os
import json
import random
from mullvad import (
generate_config,
wg_interface,
dns_blocklist,
connect_protos,
allow_traffic,
@e9x
e9x / README.md
Last active January 5, 2024 02:17
Qubes Sensible Terminal

Qubes Sensible Terminal

This is qubes-i3-sensible-terminal but support for any DE.

Known to work in XFCE.

Setup:

  • Copy the script below to DOM0 and make it executable
@e9x
e9x / README.md
Last active February 5, 2024 00:10
Qubes Mullvad VPN Firewall Command Generator

Qubes Mullvad VPN Firewall Command Generator

Based on https://mullvad.net/en/help/wireguard-on-qubes-os

Goes through your Mullvad VPN/wireguard configs stored in your sys-vpn qube at /home/user/configs/ and generates qvm-firewall commands.

The commands aren't executed automatically and are instead written to console.

Setup

@e9x
e9x / README.md
Last active March 22, 2024 02:17
Qubes redirect mouse input to VM

How it works:

This script will detect the active VM based on the currently focused window and redirect mouse events from DOM0 to the VM until the script is ran again.

This works for games or anything that uses your mouse.

This is basically doing the reverse of how sys-usb makes your mouse available to your entire system.

Based on:

@e9x
e9x / README.md
Last active June 26, 2023 09:16
Google Contacts Scraper

If the scrolling stops, try incrementing the zoom (CTRL + +)

/**
* Krunker adblock, killfeed and chat hider, and red theme
*/
const style = document.createElement("style");
style.textContent = `* {
color: red !important;
}
@e9x
e9x / 10-fixed.js
Created May 12, 2023 02:04
Examples
'use strict';
var v_exports = exports;
var require_5Js = require('./5.js');
var mAssert = require('./9.js');
var require_99Js = require('./99.js');
v_exports.assert = mAssert;
v_exports.toArray = require_99Js.toArray;
v_exports.zero2 = require_99Js.zero2;
v_exports.toHex = require_99Js.toHex;
v_exports.encode = require_99Js.encode;
@e9x
e9x / NodeJS across Linux distributions.md
Last active January 13, 2024 04:19
NodeJS across Linux distributions

As of 2023-01-02

Distro Package URL Version Released LTS
Debian 12.4 https://packages.debian.org/bookworm/nodejs 18.19.0 2023-11-29
Debian 11.8 https://packages.debian.org/bullseye/nodejs 12.22.12 2021-04-05
Debian 10.13 https://packages.debian.org/buster/nodejs 10.24.0 2021-02-23
Ubuntu 23.10 https://packages.ubuntu.com/mantic/nodejs 18.13.0 2023-01-06
Ubuntu 23.04 https://packages.ubuntu.com/lunar/nodejs 18.13.0 2023-01-06
Ubuntu 22.04 https://packages.ubuntu.com/jammy/nodejs 12.22.9 2022-01-11