Skip to content

Instantly share code, notes, and snippets.

@burkeholland
burkeholland / ainstall.md
Last active October 15, 2025 11:42
Boost

Boost Prompt

A prompt to boost your lazy "do this" prompts. Install with one of the buttons below.

Install in VS Code Install in VS Code Insiders

Use

@robconery
robconery / markdown.code-snippets
Last active October 3, 2025 19:39
Code style Snippets
//drop this file into your .vscode directory for local snippets
{
"JS Styles": {
"scope": "markdown",
"prefix": "style-js",
"body": [
"# Javascript",
"",
"This project uses JavaScript with the following styles:",
"",
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@youmikoh
youmikoh / dev-store-test-orders.md
Created May 23, 2022 11:09
dev store test orders #workshop #shopify-api

A Practical Guide to Test Orders on Development Stores

If you are familiar with using REST APIs with tools like Postman or Insomnia, please follow the dev doc example here and skip this guide!


  1. Create a custom app from the Admin of your development store {your-dev-store-name}.myshopify.com and enable Admin API access scopes read_orders and write_orders.

img

  1. Install the your custom app to generate the Admin API access token. Keep this window open as we will need this page in step 4.
@f3man
f3man / Dockerfile
Last active September 4, 2023 04:59
ssdt dockerfile
FROM mcr.microsoft.com/dotnet/framework/sdk:4.8-windowsservercore-ltsc2019 AS builder
SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"]
# add SSDT build tools
RUN nuget install Microsoft.Data.Tools.Msbuild -Version 10.0.61804.210
# add SqlPackage tool
ENV download_url="https://download.microsoft.com/download/6/E/4/6E406E38-0A01-4DD1-B85E-6CA7CF79C8F7/EN/x64/DacFramework.msi"
RUN Invoke-WebRequest -Uri $env:download_url -OutFile DacFramework.msi ; \
Start-Process msiexec.exe -ArgumentList '/i', 'DacFramework.msi', '/quiet', '/norestart' -NoNewWindow -Wait; \
@SQLvariant
SQLvariant / Build_SQLInstance_wStringCreds_andPortNumber.ps1
Last active January 28, 2023 22:28
Use Invoke-ExecuteNotebook to build a SQL-on-Linux instance in a Docker container, by calling Invoke-ExecuteNotebook to execute the Notebook, and passing in the sa_password & digits for the name/port number to the Notebook as a parameter.
Invoke-ExecuteNotebook -InputNotebook .\SQL-on-Docker-with-PowerShell.ipynb -Parameters @{sa_password = 'Test9999'; SQLNumber = 97}
@jdhitsolutions
jdhitsolutions / Register-PSCoreHelpTask.ps1
Created April 15, 2019 14:44
Create a PowerShell Scheduled job to update help monthly on a Windows based platform running PowerShell Core
#requires -module ScheduledTasks
#update PowerShell help via a Scheduled Task
$cred = Get-Credential "$env:USERDOMAIN\$env:USERNAME"
# for Windows PowerShell
# $action = New-ScheduledTaskAction -execute powershell.exe -argument '-noprofile -command "&{Update-Help -force}"'
$actionparams = @{
execute = 'pwsh.exe'
argument = '-nologo -noprofile -noninteractive -command "&{Update-Help -force}"'
@rexwhitten
rexwhitten / Install-Com.ps1
Created March 2, 2019 02:13
Powershell script to install a COM+ Application and or Component
<#
.EXAMPLE .\Install-Com.ps1 -applicationName "test.application" `
-applicationIdentity "someuser" `
-componentBinPath "C:\where\is\your\dll\some.dll"
This will install 1 COM+ component to an application
If you have 1 application with 3 components
- call this 3 times for each COM+ Component dll path
#>
@pcgeek86
pcgeek86 / cheatsheet.ps1
Last active October 23, 2025 18:34
PowerShell Cheat Sheet / Quick Reference
Get-Command # Retrieves a list of all the commands available to PowerShell
# (native binaries in $env:PATH + cmdlets / functions from PowerShell modules)
Get-Command -Module Microsoft* # Retrieves a list of all the PowerShell commands exported from modules named Microsoft*
Get-Command -Name *item # Retrieves a list of all commands (native binaries + PowerShell commands) ending in "item"
Get-Help # Get all help topics
Get-Help -Name about_Variables # Get help for a specific about_* topic (aka. man page)
Get-Help -Name Get-Command # Get help for a specific PowerShell function
Get-Help -Name Get-Command -Parameter Module # Get help for a specific parameter on a specific command