Skip to content

Instantly share code, notes, and snippets.

View brian-pond's full-sized avatar

Brian Pond brian-pond

View GitHub Profile
""" sql_db_clean.py """
#
# Original code and design belongs to Frappe Framework at https://github.com/frappe/frappe, licensed MIT.
# Copyright (c) 2016-2022 Frappe Technologies Pvt. Ltd. <developers@frappe.io>
#
# I kindly thank the contributors and maintainers for their original, open source work.
#
# The modifications and alterations below are to offer the "trim tables" and "trim database" CLI functions
# to users of Frappe Framework v13 (and possibly earlier versions)
""" ftp/utilities/pdf.py """
import os
from PyPDF2 import PdfFileWriter
import frappe
NoneType = type(None)
'''
USAGE EXAMPLE:
@brian-pond
brian-pond / gist:343143d4475fb2061f2aa6925f129d6b
Created July 3, 2026 22:04
Datahenge LLC canonical logo
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
version="1.1"
id="datahenge-logo-improved"
width="762.6"
height="724.6"
viewBox="0 0 762.6 724.6"
xmlns="http://www.w3.org/2000/svg">
<!-- Central arch: single continuous outline (like the original), so there are