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
; script starts by opening the Sound Output panel directly with Windows Key + CTRL + V, them manually selects output depending on amount of up/down arrow key inputs | |
; set # of ups/downs to coincide with desired output. alter time delays if needed. can also alter or add hotkeys, the latter depending on # of outputs | |
; tested only on Windows 11 | |
^!a:: ; set hotkey to toggle to designated output - currently using Ctrl + Alt + A | |
{ | |
; open sound output settings directly on Windows 11 | |
Send, #^{v} | |
Sleep, 500 |
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
// https://www.paypal.com/shopping/ | |
// for use in console, Tampermonkey, etc. | |
// Select all elements with specified class | |
var buttons = document.querySelectorAll('.shopping-view-ujbh5m-icon-button_base-secondary'); | |
// Click each button | |
buttons.forEach(function(button) { | |
button.click(); | |
}); |
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
<h2 class="clickable-element" onclick="toggleContent(this)">Toggle H2 1</h2> | |
<p class="content">Content 1</p> | |
<h2 class="clickable-element" onclick="toggleContent(this)">Toggle H2 2</h2> | |
<p class="content">Content 2</p> | |
<h2 class="clickable-element" onclick="toggleContent(this)">Toggle H2 3</h2> | |
<p class="content">Content 3</p> |
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 Wells Fargo Promo Activation | |
// @namespace http://tampermonkey.net/ | |
// @version 1.0 | |
// @description Clicks on elements with alternating classes | |
// @match https://web.secure.wellsfargo.com/auth/deals-portal | |
// @grant none | |
// ==/UserScript== | |
(function() { |
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 Amex Promo Offers Accepter | |
// @namespace http://tampermonkey.net/ | |
// @version 1.0 | |
// @description Clicks on elements with class "offer-cta" one at a time with a delay | |
// @match https://global.americanexpress.com/offers/eligible | |
// @grant none | |
// ==/UserScript== | |
(function() { |
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
@echo off | |
taskkill /f /im "autohotkey.exe" |
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
; WASD keybinds I made for Undertale | |
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. | |
; #Warn ; Enable warnings to assist with detecting common errors. | |
SendMode Input ; Recommended for new scripts due to its superior speed and reliability. | |
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory. | |
#HotkeyInterval 1000 ; Prevent Script from bugging out when you press the keys too quickly in succession. | |
Esc::ExitApp ; Exit script with Escape key |
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
pushd D:\YOUR_FOLDER\username.github.io | |
git add . | |
git commit -m auto | |
git push |
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
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. | |
; #Warn ; Enable warnings to assist with detecting common errors. | |
SendMode Input ; Recommended for new scripts due to its superior speed and reliability. | |
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory. | |
#If MouseIsOver("ahk_class Shell_TrayWnd") or MouseIsOver("ahk_class Shell_SecondaryTrayWnd") | |
WheelUp::Send {Volume_Up} | |
WheelDown::Send {Volume_Down} | |
MouseIsOver(WinTitle) |
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
#Selenium written in Python | |
#Automates Bing searches | |
#Work in progress - streamline with dictionary/tuple/list/keys | |
#Uses Chrome and Chromedriver to run random Bing searches | |
#change timings and search queries to your liking | |
import time | |
from selenium import webdriver | |
from selenium.webdriver.chrome.options import Options | |
from selenium.webdriver.common.keys import Keys |
NewerOlder