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 August 7, 2024 18:48
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 {
@aaroncalderon
aaroncalderon / ConvertTo-Markdown.ps1
Last active October 23, 2024 14:28 — forked from BenNeise/ConvertTo-Markdown.ps1
ConvertTo-Markdown
<#
.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