Skip to content

Instantly share code, notes, and snippets.

View milktea02's full-sized avatar
💭
😸

milktea02

💭
😸
View GitHub Profile
@milktea02
milktea02 / mfood.sql
Last active June 12, 2016 21:09
MFOOD SQL FILE
# INSERT STATEMENTS FOR RESTAURANTS
# INSERT INTO restaurant VALUES (RID, NAME, STREET_ADDRESS, CITY, LOCATION, CUISINE, OID, OWNERNAME, OWNERPASSWORD)
INSERT INTO restaurant VALUES (100, 'Stackhouse Burger Bar', '1224 Granville Street', 'Vancouver', 'Granville', 'steakhouse', 1001, 'Stack Burger', 'sburgs1')
# INSERT STATEMENTS FOR EMPLOYEES
# INSERT STATEMENTS FOR ...
@milktea02
milktea02 / 0001-censor-password-in-clickhouse-config-diffs.patch
Created August 25, 2021 00:14
A patch that does a regex search and replace
From 173187af791ef1db3b431d9c4500050905b3da6d Mon Sep 17 00:00:00 2001
From: jw <[email protected]>
Date: Tue, 24 Aug 2021 17:11:58 -0700
Subject: [PATCH] censor clickhouse config password in diffs
---
lib/ansible/plugins/callback/__init__.py | 3 +++
1 file changed, 3 insertions(+)
diff --git a/lib/ansible/plugins/callback/__init__.py b/lib/ansible/plugins/callback/__init__.py