I'll post my config files here if needed.
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
from functools import partial | |
from query import run_query | |
class QueryResolver(dict): | |
def __getitem__(self, key): | |
if key.lower().startswith('select_') and key not in self: | |
self[key] = partial(run_query, key) | |
return super().__getitem__(key) |
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
language: python | |
sudo: false | |
dist: xenial | |
cache: | |
pip: true | |
directories: | |
- $HOME/.cache/pypoetry |
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
# Project info | |
EXEC_NAME := main | |
SRC_DIRS := src | |
BUILD_DIR := build | |
# General config | |
CFLAGS += -std=c18 -Wall -Wextra -Wconversion -Werror | |
CPPFLAGS += $(addprefix -I,$(SRC_DIRS)) |
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
diff --git a/youtube_dl/extractor/bandcamp.py b/youtube_dl/extractor/bandcamp.py | |
index f14b407..72693b4 100644 | |
--- a/youtube_dl/extractor/bandcamp.py | |
+++ b/youtube_dl/extractor/bandcamp.py | |
@@ -1,5 +1,6 @@ | |
from __future__ import unicode_literals | |
+import json | |
import random | |
import re |
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
@function_tag minecraft:load | |
{ | |
"values": [ | |
"default:load" | |
] | |
} | |
@function_tag minecraft:tick | |
{ | |
"values": [ |
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
say hello |