Skip to content

Instantly share code, notes, and snippets.

@flayman
flayman / redefine_schema_model.py
Created July 12, 2019 10:13
My first crack at flask_restplus SchemaModel limited support for @api.marshal_with
import copy
import re
from six import iteritems
from collections import OrderedDict, MutableMapping
from flask_restplus.model import RawModel
from flask_restplus.fields import *
from flask_restplus.fields import get_value
class SchemaModel(RawModel, dict, MutableMapping):
'''
@flayman
flayman / build_xedit.md
Last active March 6, 2023 06:23
Step-by-step instructions for building xEdit in RAD Studio 10.4 Community Edition

Step-by-step instructions for building xEdit in RAD Studio 10.4 Community Edition

There is a message pinned to the #dev_support channel where ElminsterAU described the steps for building xEdit in the Community Edition of the Delphi RAD Studio IDE. With the release of version 10.4 of that IDE, these instructions have been superseded. I'm giving below my steps to get this project group to build. I would like to thank ElminsterAU for working with me to fix a couple problems in the codebase that were preventing it from building or running correctly. I will describe those too.

Step One: Install RAD Studio

This is not hard. Either log in on this page or click the link that reads "Register Here" to fill out a form. Then satisfy the captcha and click the button that reads "DOWNLOAD NOW" to begin the download of the latest version. You will also be sent by email a license key which needs to be provided during install. The install should be sel