Skip to content

Instantly share code, notes, and snippets.

@aaroncalderon
aaroncalderon / vscode-custome-preview-style.css
Created October 28, 2020 16:27
Custom vscode preview style.
body {
font-family: Segoe WPC, Segoe UI, SFUIText-Light, HelveticaNeue-Light, sans-serif;
font-size: .65em;
padding-left: 12px;
line-height: 1.2em
}
h1 {
font-size: 1.5em;
@aaroncalderon
aaroncalderon / Merge-PDF.ps1
Last active April 18, 2021 03:05
Merge PDFs with PowerShell
#Not my code, this is from Mike Pfeiffer - http://mikepfeiffer.net/2010/03/how-to-merge-pdf-files-using-powershell-and-pdfsharp/
#Requires PDFSharp assembly libraries http://sourceforge.net/projects/pdfsharp/
#You need to load the assembly before you can use the function
#
#Merge-PDF -path c:\pdf_docs -filename c:\saved_docs.pdf
Add-Type -Path C:\assemblies\PdfSharp.dll
Function Merge-PDF {
<#
.Synopsis
Converts a PowerShell object to a Markdown table.
.Description
Converts a PowerShell object to a Markdown table.
.Parameter InputObject
PowerShell object to be converted