Skip to content

Instantly share code, notes, and snippets.

View tlmurphy's full-sized avatar

Trevor Murphy tlmurphy

View GitHub Profile
@tlmurphy
tlmurphy / fix_class_decorators.py
Last active June 2, 2021 22:04
Fix missing parameter for JsonObject when using json2typescript 1.4.0+
from io import TextIOWrapper
import sys
import re
import glob
Q = "'"
REGEX = f'@JsonObject\({Q}{Q}\)|@JsonObject\(\)|^@JsonObject$'
def no_class_descriptor(line):
@PurpleBooth
PurpleBooth / README-Template.md
Last active June 16, 2024 07:49
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites