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 SumoMath Input Enhancer + Modal Ad Dismisser (Numpad Support) | |
// @namespace http://tampermonkey.net/ | |
// @version 1.8 | |
// @description Keyboard shortcuts + automatic modal ad dismissal via OK button, now with numpad support | |
// @match https://sumomath.com/* | |
// @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 XGCartoon Enhancer Suite | |
// @namespace http://tampermonkey.net/ | |
// @version 1.0 | |
// @description All-in-one enhancement for xgcartoon: auto-close popups, toggle playback/UI, subtitle control, copy caption. | |
// @match https://www.xgcartoon.com/* | |
// @grant GM_setClipboard | |
// ==/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
if( | |
/* Check if Size or Value is empty; if true, return 0 as invalid task */ | |
empty(prop("Size")) or empty(prop("Value")), | |
0, | |
max( | |
0.01, /* Ensure the minimum value is greater than 0 */ | |
floor( | |
( | |
/* Base priority: Value divided by _cost */ | |
(toNumber(prop("Value")) / prop("Estimated Pomo")) * |
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
#This cuts the first part off a bunch of audio files | |
#useful for annoying textbooks that feel the need to | |
#announce who the publisher is or play music | |
import os | |
import glob | |
import shutil | |
from pydub import AudioSegment |
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
' macros for adding rules to outlook and then exectuing those rules | |
' Attribute VB_Name = "MyOutlookVBA" | |
' To enable Macros in Outlook 2016: Tools/Trust Center... and select Macro Security. | |
' Easiest thing is NO SECURITY CHECK. Can also select WARNINGS FOR ALL MACROS. | |
' ================================== Run Rules Macro ================================== | |
' To add as a button: Tools/Customize... then click on Macros category. Drag your macro to the toolbar. | |
' Rt Click on button to edit text. UPDATED for Outlook 2016 (changed FOR loop to use count; added on Error) | |
' This macro runs enabled ALL rules, not just those for the default store. |
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
######################### | |
# .gitignore file for Xcode4 and Xcode5 Source projects | |
# | |
# Apple bugs, waiting for Apple to fix/respond: | |
# | |
# 15564624 - what does the xccheckout file in Xcode5 do? Where's the documentation? | |
# | |
# Version 2.6 | |
# For latest version, see: http://stackoverflow.com/questions/49478/git-ignore-file-for-xcode-projects | |
# |
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
import webbrowser | |
from datetime import date, timedelta | |
# modify these constants to make it work | |
P = '/Users/f/Desktop/out.txt' #path to your txt file containing 1 per line chapter or section | |
PROJECT_NAME = 'Spoken Mandarin Chinese' #make sure this name matches project name in things3 exactly | |
SECTION_PER_DAY = 1 # how many sections you want to read per day | |
START_STUDY_DAY = 4 # what day of this week would you like to start studying (use current day number if today) | |
STUDY_DAYS = [0,2,4,6] # m=0,t=1,...sun=6. what days do you want to have your sections to read scheduled |
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
import UIKit | |
import PlaygroundSupport | |
PlaygroundPage.current.needsIndefiniteExecution = true | |
struct PhotoInfo: Codable { | |
var title: String | |
var description: String | |
var url: URL | |
var copyright: String? | |
enum CodingKeys: String, CodingKey { | |
case title |