- 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 ( | |
"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
@-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
#!/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
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
BenchmarkLinkedListAdd-8 4933 253222 ns/op | |
BenchmarkSliceMapAdd-8 1375 815760 ns/op | |
BenchmarkSliceAdd-8 6985 143225 ns/op | |
BenchmarkLinkedListDelete-8 100000 1965 ns/op | |
BenchmarkSliceMapDelete-8 100000 1966 ns/op | |
BenchmarkSliceDelete-8 100000 2252 ns/op |
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
<4>[ 15.241799] [3: swapper/3: 0] ------------[ cut here ]------------ | |
<0>[ 15.241811] [3: swapper/3: 0] kernel BUG at arch/arm64/kernel/fpsimd.c:145! | |
<0>[ 15.241835] [3: swapper/3: 0] Internal error: Oops - BUG: 0 [#1] PREEMPT SMP | |
<4>[ 15.241845] [3: swapper/3: 0] Modules linked in: | |
<0>[ 15.241857] [3: swapper/3: 0] exynos-snapshot: core register saved(CPU:3) | |
<0>[ 15.241865] [3: swapper/3: 0] exynos-snapshot: context saved(CPU:3) | |
<6>[ 15.241905] [3: swapper/3: 0] exynos-snapshot: item - log_kevents is disabled | |
<4>[ 15.241925] [3: swapper/3: 0] CPU: 3 MPIDR: 80000103 PID: 0 Comm: swapper/3 Tainted: G W 4.4.111-Quantum_Treble-V3.0-A530W #1 | |
<4>[ 15.241934] [3: swapper/3: 0] Hardware name: Samsung JACKPOTLTE CAN rev07 board based on EXYNOS7885 (DT) | |
<4>[ 15.241943] [3: swapper/3: 0] task: ffffffc874ac4d80 task.stack: ffffffc874adc000 |
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
// findMembers finds a member with the given username from the state. | |
func findMembers(s state.Store, guild discord.GuildID, username string) *discord.Member { | |
m, err := s.Store.Members(guild) | |
if err != nil { | |
return nil | |
} | |
for _, m := range m { | |
if strings.HasPrefix(m.User.Username, username) { | |
return m |
Script snippet for use with TamperMonkey.
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
:root { | |
--bg0: #262626; | |
--bg1: #141414; | |
--bhl: #646464; | |
--fg0: #FEFEFE; | |
--fg1: #DEDEDE; | |
--sel: #268bd2; | |
} | |
body { |