This file contains hidden or 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
#!/usr/bin/env bash | |
# delete-zone-identifier-ads.sh | |
# Recursively remove Windows Zone.Identifier tags: | |
# - Plain files named "Zone.Identifier" | |
# - ADS files like "file:Zone.Identifier" | |
# - ADS stored as xattrs (ntfs-3g streams_interface=xattr) | |
set -euo pipefail | |
usage() { |
This file contains hidden or 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
// ==UserScript== | |
// @name n8n Webhook Footer Console | |
// @author Ron Egli <[email protected]> (github.com/smugzombie) | |
// @namespace http://tampermonkey.net/ | |
// @version 2025.08.27 | |
// @description Footer panel on n8n designer to send test webhook requests; persists values; DOM-safe; hide/show toggle. | |
// @match http*://*/*workflow* | |
// @match http*://*/*workflows* | |
// @match http*://*/*/workflow/* | |
// @match http*://*/*/workflows/* |
This file contains hidden or 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
IbcmN1MyoWE5yt1oNiRawKi4hNC55gWfI+1u9bvkgkM= |
This file contains hidden or 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 | |
# This script configures suspend mode and prepares for hibernation on Ubuntu 24.04 | |
# It ensures swap space is sufficient and configures GRUB for proper resume settings | |
# Check if the script is run as root or with sudo | |
if [ "$(id -u)" -ne 0 ]; then | |
echo "This script must be run as root or with sudo." | |
exit 1 | |
fi |
This file contains hidden or 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
// ==UserScript== | |
// @name Google/Bing to DuckDuckGo Redirector | |
// @namespace http://smugzombie.com | |
// @version 1.1 | |
// @description Redirects Google/Bing searches to DuckDuckGo. | |
// @author Ron Egli <[email protected]> (github.com/smugzombie) | |
// @match *://www.google.com/* | |
// @match *://www.bing.com/* | |
// @grant none | |
// ==/UserScript== |
This file contains hidden or 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
// ==UserScript== | |
// @name Highlight and Download Media on sites | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description Highlight and add a download button for images and videos on a webpage | |
// @author Ron Egli <github.com/smugzombie> | |
// @match *://*/* | |
// @grant none | |
// ==/UserScript== |
This file contains hidden or 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
const crypto = require('crypto'); | |
function stringToMacAddress(input) { | |
// Create an MD5 hash of the input string | |
const hash = crypto.createHash('md5').update(input).digest('hex'); | |
// Convert the hash to MAC address format | |
const macAddress = hash.match(/.{1,2}/g).slice(0, 6).join(':'); | |
return macAddress; |
This file contains hidden or 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
const dns = require('dns'); | |
const tls = require('tls'); | |
const email = process.argv[2]; | |
if (!email) { | |
console.error('Please provide an email address as an argument'); | |
process.exit(1); | |
} |
This file contains hidden or 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
const dns = require('dns'); | |
const net = require('net'); | |
const email = process.argv[2]; | |
if (!email) { | |
console.error('Please provide an email address as an argument'); | |
process.exit(1); | |
} |
NewerOlder