This file contains 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 renpy.loader | |
from importlib.machinery import ModuleSpec | |
from types import ModuleType | |
from typing import Any, List, Optional, Union | |
class DummyLoader: | |
def __init__(self) -> None: |
This file contains 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 | |
if [ $# -ne 2 ] | |
then | |
echo Usage: $0 imgur_client_id image_hash | |
exit 1 | |
fi | |
url="https://api.imgur.com/3/image/"$2 | |
header="\"Authorization: Client-ID "$1"\"" |
This file contains 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 | |
# cmus part by github user ronno | |
# spotify part adapted from github user flymia | |
spotifyid=$(ps -ef | grep '[/]usr/share/spotify' | awk '{print $2}' | head -1) | |
if [ -z "$spotifyid" ]; then | |
if ps -C cmus > /dev/null; then | |
artist=`cmus-remote -Q | | |
grep --text '^tag artist' | |