Skip to content

Instantly share code, notes, and snippets.

View benocummins's full-sized avatar

Jamie Cummins benocummins

View GitHub Profile
@benocummins
benocummins / JC-Default-Ruleset.json
Last active August 28, 2026 12:51
My default ruleset for GitHub repos
{
"name": "JC-default-branch-protection",
"target": "branch",
"enforcement": "active",
"conditions": {
"ref_name": {
"include": ["~DEFAULT_BRANCH"],
"exclude": []
}
},
@benocummins
benocummins / Move-UserProfile.ps1
Created January 27, 2020 17:18
Migrate Windows User Profiles via PowerShell
$FoldersToCopy = @(
'Desktop'
'Downloads'
'Favorites'
'Documents'
'Pictures'
'Videos'
'AppData\Local\Google'
)