Skip to content

Instantly share code, notes, and snippets.

View shredEngineer's full-sized avatar
👽

Paul Wilhelm shredEngineer

👽
View GitHub Profile
@shredEngineer
shredEngineer / MetalArchivesAPI.py
Created January 23, 2022 14:58
MetalArchives API in Python (Basic Example)
import json
import requests
def get_genre_prog(page):
# Website: https://www.metal-archives.com/lists/prog
# Request: https://www.metal-archives.com/browse/ajax-genre/g/prog/json/1?sEcho=9&iColumns=4
# &sColumns=&iDisplayStart=0&iDisplayLength=500&mDataProp_0=0&mDataProp_1=1&mDataProp_2=2&mDataProp_3=3
# &iSortCol_0=0&sSortDir_0=asc&iSortingCols=1&bSortable_0=true&bSortable_1=true&bSortable_2=true
# &bSortable_3=false&_=1642947935961
@shredEngineer
shredEngineer / functions_messenger.php
Created January 20, 2022 09:48
Hotfix for incorrect mail encoding in phpBB 3.3.5 (using https://github.com/phpbb/phpbb/pull/6320)
<?php
/**
*
* This file is part of the phpBB Forum Software package.
*
* @copyright (c) phpBB Limited <https://www.phpbb.com>
* @license GNU General Public License, version 2 (GPL-2.0)
*
* For full copyright and license information, please see
* the docs/CREDITS.txt file.
import sys
from PyQt5.QtWidgets import QApplication
from PyQt5.QtCore import Qt
from PyQt5.QtWidgets import QMainWindow, QDesktopWidget, QWidget, QVBoxLayout, QLabel, QLineEdit, QPushButton
class GUI(QMainWindow):
def __init__(self):
QMainWindow.__init__(self, flags=Qt.Window)