Skip to content

Instantly share code, notes, and snippets.

View jackii's full-sized avatar

Jacky jackii

  • Internet
  • 11:27 (UTC +08:00)
View GitHub Profile
@jackii
jackii / kematzy.hasura.audit_trail.sql
Created April 27, 2021 18:58 — forked from kematzy/kematzy.hasura.audit_trail.sql
Hasura AuditTrail by Kematzy
-- ## Kematzy Hasura AuditTrail
-- This is based on the [Hasura/audit-trigger](https://github.com/hasura/audit-trigger).
--
-- Changes from the Hasura version:
-- 1. Simplified audit table schema with these changes:
-- a. Renamed columns to lowerFirst format.
-- b. Changed order of columns.
-- c. Combined schema & table name into one column.
-- d. Stores the record `id` UUID value in the `rowId` column.
@jackii
jackii / xls2pdf.py
Created February 7, 2022 16:41 — forked from mprihoda/xls2pdf.py
Convert XLS to PDF using Iron Python and MS Office
import clr
import sys
import os.path
clr.AddReference("Microsoft.Office.Interop.Excel")
from Microsoft.Office.Interop import Excel
from System import Type, GC
# See http://msdn.microsoft.com/en-us/library/bb407651.aspx for