Skip to content

Instantly share code, notes, and snippets.

View jasonlu6's full-sized avatar
🏠
At Home

Jason Lu jasonlu6

🏠
At Home
View GitHub Profile
@jasonlu6
jasonlu6 / gist:5f6ed032aef3bce2fe3584902583ecf2
Created January 16, 2026 03:04
kpdh_aml_python_coding.py
# Coding Missions S2 E2
# KPDH Rumi ACH Takedown
# Coding modules that determine AML violations that require
# a SAR (Suspicious Activity Report), CTR (Currency Transaction Report),
# determine which cases are filed for SAR, and include the lookback
# date of 120 days or oldest first transaction
# for any AML investigation.
# Suspect not ready for the takedown,
# Filing them for a world of pain!
@jasonlu6
jasonlu6 / pdf_generator_script.py
Created November 12, 2025 22:09
PDF Generator Using FPDF Python Module
# PDF generator script for the November 2025 Cyber Monday Shopping
# Note: Subject to shipping and handling if ordered online.
from fpdf import FPDF
pdf = FPDF()
pdf.add_page()
pdf.set_font("Arial", "B", 8)
pdf.cell(0, 10, "USB-C Hubs/Docks with Ethernet & Display Output", ln=True, align="C")
pdf.ln(10)
@jasonlu6
jasonlu6 / CBFs.py
Created July 31, 2020 20:28 — forked from KareemAlsayed1/CBFs.py
A python class implantation for Counting Bloom Filters data structure
#Import necessary libraries
import math
import hashlib
class CBFs: #Counting bloom filters class
def __init__ (self, expected_inputS, false_positiveP):
self.expected_inputS = expected_inputS #The expected input size (n)
self.false_positiveP = false_positiveP #The desired false positive proability (p)
@jasonlu6
jasonlu6 / jasonlu6revised.py
Last active October 16, 2021 02:30
atropos_demo.py
# CS 440 Programming Assignment 3
# File: jasonlu6Player.py
# Author: Jason Lu (jasonlu6@bu.edu)
# This Python program is the main solution of the Atropos Game algorithm
# Partner: Alex Moyse (azm@bu.edu)
# TF: Wenxin Feng, Yi Zheng
# Professor Margrit Betke, Artificial Intelligence 2018
# 4/12/2018 - 4/27/2018
import sys