- Ctrl+Shift+C
- Paste spotex.js in
- Scroll all the way up, then scroll down slowly
- Once the end is reached, type
songs
in the console to ensure all songs are present - JS:
console.log(JSON.stringify(songs))
, right click, Copy Message - Shell:
wl-paste | head -n1 | jq > playlist.json
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
package main | |
import ( | |
"context" | |
"log" | |
"os" | |
"os/exec" | |
"os/signal" | |
"time" |
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/env bash | |
# const | |
NOTIFICATION_APPNAME="vol.sh" | |
NOTIFICATION_ID=48741 # dice-roll randomness guaranteed | |
# notify title subtitle hints? icon? -> void | |
notify() { | |
title="$1" | |
subtitle="$2" |
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
@-moz-document regexp("https://discord.com/channels/.*") { | |
div[class^="message"][class*="cozyMessage"] img[class^="avatar"] { | |
width: 1.25rem; | |
height: 1.25rem; | |
margin-left: 18px; | |
} | |
div[class^="message"][class*="cozyMessage"] { | |
margin-top: 0; | |
padding-top: 0; |
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
package main | |
import ( | |
"flag" | |
"log" | |
"os" | |
"github.com/diamondburned/arikawa/v2/api" | |
"github.com/diamondburned/arikawa/v2/discord" | |
) |
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
package main | |
import ( | |
"encoding/csv" | |
"errors" | |
"io" | |
"log" | |
"os" | |
"strconv" | |
) |
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
{ pkgs }: | |
let gtkcord4 = { | |
src = pkgs.fetchFromGitHub { | |
owner = "diamondburned"; | |
repo = "gtkcord4"; | |
rev = "0ac19003b75865378b8a36781cb9106741bc603f"; | |
hash = "sha256:13wvbqqskrrczk3q2az18wmj6a7k79alrsnz0v7cijvm1bi1lrvk"; | |
}; | |
bin = pkgs.fetchzip { |
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
atod.asm: _atod.c | |
gcc -Wall -Os -s -c ./_atod.c | |
objconv -fnasm _atod.o | |
# Sanitize the output. | |
dos2unix _atod.asm | |
sed -i \ | |
-e 's/;.*$$//' \ | |
-e 's/\.\(LC[0-9]*\)/\1/g' \ | |
-e 's/^default rel//g' \ | |
-e 's/^SECTION \(\.\w*\).*$$/section \1/g' \ |
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
package ordmap | |
import ( | |
"bytes" | |
"encoding/json" | |
"fmt" | |
"log" | |
"strings" | |
) |
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
{ config, lib, pkgs, ... }: | |
let | |
user = "diamondburned"; | |
go-get-html = pkgs.writeTextFile { | |
name = "libdb.so-go-get"; | |
text = '' | |
<!DOCTYPE html> | |
{{ $path := .OriginalReq.URL.Path }} | |
{{ $name := $path | splitList "/" | rest | first }} |