Skip to content

Instantly share code, notes, and snippets.

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.
@thepeopleseason
thepeopleseason / gist:8ecc7a2a2bd5300a1c0c3450d06bec08
Created August 23, 2023 04:20
Hammerspoon: Ensure remote login is on.
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
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: [
{
@thepeopleseason
thepeopleseason / gist:ee8b9a67673d5200750109cd0ad77db6
Last active November 27, 2022 05:32
Random MTG Card bookmarklet
javascript:fetch("https://api.scryfall.com/cards/random").then((response)=>response.json()).then((json)=>window.open(json["image_uris"]["normal"]))
#!/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 ",
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)
hs.window.animationDuration = 0
-- define screens
local laptopScreen = "Built-in Retina Display"
local vScreen = "S23C570"
local dellScreen = "DELL U3419W"
local miamiScreen = "HP S2031"
local function primaryScreen()
if hs.screen(miamiScreen) then
@thepeopleseason
thepeopleseason / gist:e10362d0f815e2de2ba86ca939b03c51
Created May 4, 2021 18:29
In which we bid farewell to our greatest colleague
It's hummus and sriracha time!
Ketchup and nutella time!
Wasabi Chickpea, chocolate time!
Onion Onion Onion Cookie
There you go, There you go, There you go, There you go.
Peanut butter jelly, peanut butter jelly, peanut butter jelly with a kleteson hat.
@thepeopleseason
thepeopleseason / gist:362f5777b94131fa7387cf79ef499cc6
Created March 19, 2021 14:35
Video/Audio Playback bookmarklets
Video: javascript:void(document.getElementsByTagName('video')[0].playbackRate=1.75)
Audio: javascript:void(document.getElementsByTagName('audio')[0].playbackRate=2.0)
Replace the Rate value with `prompt('Rate')` if you want to adjust the rate on demand.
javascript:(function() {
window.location=window.location.toString().replace(/&?fbclid=[^&]+/,'').replace(/&?utm_(campaign|source|medium|content|term)=[^&]+/g,'');
})()