Skip to content

Instantly share code, notes, and snippets.

@WirlyWirly
WirlyWirly / AyuDark.css
Last active March 8, 2023 05:34
AyuDark: A re-skinning of Tridactyl's built-in midnight colorscheme, featuring the AyuDark color palette and Roboto Condensed font
/*
AyuDark: v0.2 (https://github.com/tridactyl/tridactyl/discussions/4621)
GistHub: https://gist.github.com/WirlyWirly/e875ec0a38728d496867e0a9c6ee968c
Tridactyl Install Command:
colorscheme --url https://gist.githubusercontent.com/WirlyWirly/e875ec0a38728d496867e0a9c6ee968c/raw/AyuDark.css AyuDark
*/
@font-face {
font-family: 'Roboto Condensed';
font-style: normal;
@WirlyWirly
WirlyWirly / Drag and Drop with Python files
Last active November 1, 2020 07:09
How to create drag and drop functionality for python files
If you're on windows, have python installed, and would like to be able to drag-and-drop files on-top of python scripts (.py/.pyw files), this will show you how to set that up.
! Make sure python is in your path otherwise this won't work
1) Create a shortcut for the .py file: Hold alt while you drag the file
2) Right-click on the shortcut and open its properties
3) In the 'Target' field, add the word 'Python' (no quotes) to the very beggining of the line: Make sure you don't edit/delete the part that was already there. Press OK.
ex: python "C:\Path\to\Python_file.py"
4) Drag-and-drop your items on-top of this shortcut and the script will process them
@WirlyWirly
WirlyWirly / Steam: Game Trailer and Gameplay Buttons.user.js
Last active May 11, 2020 15:49
This will add buttons on steam gamepages that when clicked will search YouTube for gameplay or trailer videos. This is based off the script "Steam Game Page - Add Links To Game Trailer & Gameplay Search On YouTube" written by CoopCoding.
// ==UserScript==
// @name Steam: Game Trailer and Gameplay Buttons
// @author WIRLYWIRLY
// @namespace https://github.com/WirlyWirly
// @version 2.0
// @homepage https://gist.github.com/WirlyWirly/c682c27daf748022db3ff9760c3ac6cc
// @updateURL https://gist.github.com/WirlyWirly/c682c27daf748022db3ff9760c3ac6cc/raw/Steam:%2520Game%2520Trailer%2520and%2520Gameplay%2520Buttons.user.js
// @downloadURL https://gist.github.com/WirlyWirly/c682c27daf748022db3ff9760c3ac6cc/raw/Steam:%2520Game%2520Trailer%2520and%2520Gameplay%2520Buttons.user.js
// @description This will add buttons on steam gamepages that when clicked will search YouTube for gameplay or trailer videos. This is based off the script "Steam Game Page - Add Links To Game Trailer & Gameplay Search On YouTube" written by CoopCoding.
// @match htt*://store.steampowered.com/app/*