Skip to content

Instantly share code, notes, and snippets.

View Icehunter's full-sized avatar

Ryan Wilson Icehunter

View GitHub Profile
function Get-LostBlobs {
# Create the 'lost' directory if it doesn't exist
$lostDir = "lost"
if (-not (Test-Path $lostDir)) {
New-Item -ItemType Directory -Path $lostDir | Out-Null
}
# Run git fsck and filter for lost blobs
git fsck --lost-found | ForEach-Object {
$line = $_
@Icehunter
Icehunter / templates.json
Last active May 4, 2025 07:20
portainer v3 templates
{
"version": "3",
"templates": [
{
"categories": [
"Productivity",
"Social"
],
"description": "Open source collaborative knowledge base for modern teams",
"env": [