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 requests | |
from bs4 import BeautifulSoup | |
from concurrent.futures import ThreadPoolExecutor | |
URL = "https://stats.lineageos.org/" | |
mapping = {} | |
r = requests.get("https://wiki.lineageos.org/devices/") | |
soup = BeautifulSoup(r.text, 'html.parser') |
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
#!/usr/bin/env python3 | |
import sys | |
import os | |
import pycparser | |
from pycparser import c_parser | |
def get_symbols(): | |
symbols = set() |
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/quodlibet/quodlibet/qltk/x.py b/quodlibet/quodlibet/qltk/x.py | |
index df4bdb8..0a84b3a 100644 | |
--- a/quodlibet/quodlibet/qltk/x.py | |
+++ b/quodlibet/quodlibet/qltk/x.py | |
@@ -10,9 +10,11 @@ Things that are more or less direct wrappers around GTK widgets to | |
ease constructors. | |
""" | |
-from gi.repository import Gtk, GObject, GLib, Gio | |
+from gi.repository import Gtk, GObject, GLib, Gio, GdkPixbuf |
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
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
# Copyright 2016 Christoph Reiter | |
# | |
# This program is free software; you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License version 2 as | |
# published by the Free Software Foundation. | |
import os | |
import sys |