Skip to content

Instantly share code, notes, and snippets.

View jacksoneyton's full-sized avatar

Jackson Eyton jacksoneyton

  • South Dakota
View GitHub Profile
@SMSAgentSoftware
SMSAgentSoftware / New-WPFMessageBox
Last active September 6, 2024 02:32
PowerShell function to display a customizable WPF message box / window
Function New-WPFMessageBox {
# For examples for use, see my blog:
# https://smsagent.wordpress.com/2017/08/24/a-customisable-wpf-messagebox-for-powershell/
# CHANGES
# 2017-09-11 - Added some required assemblies in the dynamic parameters to avoid errors when run from the PS console host.
# Define Parameters
[CmdletBinding()]
@Calcifer777
Calcifer777 / postgres_scd2.sql
Created November 1, 2020 10:57
postgres scd2 (slow changing dimension) trigger implementation
create table records (
record_id int,
record_name varchar(100),
record_value int,
date_start timestamp default now(),
date_end timestamp default null,
primary key(record_id, record_name, date_start)
);
insert into records (record_id, record_name, record_value)