Skip to content

Instantly share code, notes, and snippets.

View drHyperion451's full-sized avatar

drHyperion451 drHyperion451

View GitHub Profile
@drHyperion451
drHyperion451 / USB_eject_ninja.ps1
Last active October 19, 2024 22:17
One line batch windows script to know which process is refusing to eject your USB disk.
# USB_eject_ninja.bat
# One line batch windows script to know which process is refusing to eject your USB disk.
# For Windows 11, but it should work on any Windows version
# Stolen from this superuser.com post: https://superuser.com/questions/87364/can-windows-tell-me-what-is-using-my-usb-drive
# License? None lol I've grabbed this from a random user on the internet.
# Why this isn't a feature inside Windows GUI? No fucking clue.
# THIS WORKS IF YOU ALREADY TRIED TO EJECT THE DRIVE.
# Just copy and paste the line below inside any cmd in Windows. It should work without admin privileges.
@sbolel
sbolel / instagram-comment-activity-deleter.js
Last active June 28, 2025 10:07
Instagram Comment Activity Deleter: Automate the deletion of all your Instagram comments from the 'Your Activity' section. Perfect for quick digital clean-up.
/**
* This script automates the process of deleting your own Instagram comments.
* It deletes comments in batches to avoid hitting rate limits or breaking the page.
*
* WARNING: This function directly manipulates the DOM and depends on the current HTML
* structure of Instagram's website to work. If Instagram implements changes to the
* activity page layout, structure, or functionality, this script may break or cause
* unexpected behavior. Use at your own risk and always review code before running it.
*
* How to use:
@KuanYuChang
KuanYuChang / configuration-Office365-x64.xml
Last active April 14, 2024 19:37
Configuration of Office Deployment Tool
<!-- Office 365 client configuration file.
For detailed information regarding configuration options visit: http://aka.ms/ODT.
To use the configuration file be sure to remove the comments.
Download Office Deployment Tool: https://www.microsoft.com/en-us/download/details.aspx?id=49117
Installation command: .\setup.exe /configure .\configuration-Office365-x64.xml -->
<Configuration>
<Add OfficeClientEdition="64">
<Product ID="O365ProPlusRetail">
<Language ID="en-us" />