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
d: https://rollthedice.online/en/dice/d%s | |
vs: javascript:void(document.getElementsByTagName('video')[0].playbackRate=1.8) | |
vss: javascript:void(document.getElementsByTagName('video')[0].playbackRate=2.4) | |
vsss: javascript:void(document.getElementsByTagName('video')[0].playbackRate=3.0) | |
mtgi: https://deckbox.org/mtg/%s | |
g: {google:baseURL}search?q=%s&{google:searchFieldtrialParameter}{google:language}{google:prefetchSource}{google:sourceId}{google:contextualSearchVersion}&udm=14 (Google Without AI) | |
vig [number]: https://scryfall.com/random?q=t:creature%20mv=%s |
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 Autoselect Page/Card Size | |
// @namespace http://tampermonkey.net/ | |
// @version 2025-04-07 | |
// @description Autoselect page and card size on the print tool | |
// @author James Hsiao | |
// @match https://imkyle4815.com/printTool | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=imkyle4815.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
#!/usr/bin/perl -pl | |
BEGIN { | |
my @ll, @rl; | |
my $sum, $sim; | |
} | |
END { | |
my ($sl, $sr) = ([sort {$a <=> $b} @ll], [sort {$a <=> $b} @rl]); | |
for ($x=0; $x<=$#ll; $x++) { |
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/sh | |
# | |
# a shell script to take all the mpc-ready images in the current directory | |
# and add a black bleed edge to them in a bleed/ subdirectory | |
# Requires [ImageMagick](https://www.imagemagick.org/) | |
# 1200dpi: 3000x4200 -> 144x144 border = 3288x4488 | |
# 1200dpi: 2976x4152 -> 144x144 border = 3264x4440 | |
# 800dpi: 2000x2800 -> 96x96 border = 2192x2992 | |
if ! [[ -d bleed ]] |
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
1. You share your playlist in the AM app to get the link address. The easiest way is via an email app. | |
2.You copy the link up to the question mark! Not further! Example: https://music.amazon.de/playlists/BKWF6GPV19? | |
3. Then open NFC Tools Pro: TASKS > ADD TASK > APPS > URL/ URI | |
Paste the copied link address there | |
4.And then write “do=play” at The End of the link address after the question mark (without the quotation marks of course!) | |
5.Confirm everything with OK | |
6.Write to NFC Tak and you're done. | |
If necessary, set a password for protection. | |
Now your playlist will start via the AM app as soon as the NFC has been scanned. |
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 not os.execute("netstat -anl|grep '*.22'") then | |
hs.osascript.applescript([[do shell script "launchctl load -w /System/Library/LaunchDaemons/ssh.plist" with administrator privileges]]) | |
end |
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
var intuit = { name: "Google Chrome", profile: "Profile 3" }; | |
var mailchimp = { name: "Google Chrome", profile: "Profile 2" }; | |
var debug = false; | |
module.exports = { | |
defaultBrowser: { | |
name: "Firefox", | |
}, | |
rewrite: [ | |
{ |
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
javascript:fetch("https://api.scryfall.com/cards/random").then((response)=>response.json()).then((json)=>window.open(json["image_uris"]["normal"])) |
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
#!/local/bin/perl | |
# | |
# grossinator -- randomly outputs a gross sentence | |
# likely this is probably the dumbest perl script ever written | |
# | |
@first = ("I'm gonna make ", | |
"It's time for ", | |
"There's nothing like ", | |
"You're like ", |
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
local rep = hs.hotkey.modal.new(hyper, 'a', "keyRepeat mode") | |
function rep:entered() keyRepeat = false end | |
rep:bind(nil, "escape", function() rep:exit() hs.alert'Exited keyRepeat mode' end) | |
rep:bind(nil, | |
"r", | |
function() hs.timer.doUntil( | |
function() return keyRepeat end, | |
function() hs.eventtap.keyStroke(nil, "x") end, | |
0.002) | |
end) |
NewerOlder