{"id":28940677,"url":"https://github.com/prplecake/dotfiles-windows","last_synced_at":"2026-04-30T02:34:18.720Z","repository":{"id":297948711,"uuid":"998064731","full_name":"prplecake/dotfiles-windows","owner":"prplecake","description":null,"archived":false,"fork":false,"pushed_at":"2025-06-07T19:40:44.000Z","size":34,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-06-17T05:12:30.952Z","etag":null,"topics":["dotfiles"],"latest_commit_sha":null,"homepage":"","language":"PowerShell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/prplecake.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-06-07T19:40:37.000Z","updated_at":"2025-06-07T20:08:22.000Z","dependencies_parsed_at":"2025-06-08T14:55:51.345Z","dependency_job_id":null,"html_url":"https://github.com/prplecake/dotfiles-windows","commit_stats":null,"previous_names":["prplecake/dotfiles-windows"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/prplecake/dotfiles-windows","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prplecake%2Fdotfiles-windows","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prplecake%2Fdotfiles-windows/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prplecake%2Fdotfiles-windows/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prplecake%2Fdotfiles-windows/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/prplecake","download_url":"https://codeload.github.com/prplecake/dotfiles-windows/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prplecake%2Fdotfiles-windows/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261397158,"owners_count":23152479,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dotfiles"],"created_at":"2025-06-23T02:00:44.572Z","updated_at":"2026-04-30T02:34:18.713Z","avatar_url":"https://github.com/prplecake.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# windows-dotfiles\n\n\"dotfiles\" for Windows. Plus some other useful things.\n\n## Setup\n\nCreate the profile directory if it doesn't already exist:\n\n```powershell\nmkdir (Split-Path $PROFILE.CurrentUserCurrentHost) -ErrorAction SilentlyContinue\n```\n\nChange into that directory:\n\n```powershell\ncd (Split-Path $PROFILE.CurrentUserCurrentHost)\n```\n\nClone the repo:\n\n```powershell\ngit clone https://github.com/prplecake/windows-dotfiles .\n```\n\n## Custom Functions\n\n### Get Public IP Address\n\n```powershell\nGet-IP\n```\n\nReturns your public IP address and nothing else.\n\n### List empty directories\n\n```powershell\nList-EmptyDirs\n```\n\nLists all directories under the current working directory that is\ncompletely empty; i.e.: no folders or files. At this time this function\naccepts no parameters.\n\n### Monitor an HTTP Host\n\n```powershell\nMonitor-HttpHost -Uri \u003cstring\u003e [-SleepSeconds \u003cInt32\u003e]\n```\n\n#### Parameters\n\n`-Uri`\n\nSpecifies a URI to monitor.\n\n* **Type:** String\n* **Position:** Named\n* **Default value:** *None*\n* **Accept pipeline input:** False\n* **Accept wildcard characters:** False\n\n`-SleepSeconds`\n\nSpecifies the number of seconds to wait before trying again. **Default:\n15 seconds**.\n\n* **Type:** Int32\n* **Position:** Named\n* **Default value:** 15\n* **Accept pipeline input:** False\n* **Accept wildcard characters:** False\n\n### Open a URL in all browsers\n\nCurrently opens in Firefox, Chrome, Edge, and IE.\n\n```powershell\nOpen-InAllBrowsers https://google.com\n```\n\n#### Parameters\n\n`-Uri`\n\nSpecifies a URI to open in all browsers.\n\n* **Type:** String\n* **Position:** Named\n* **Default value:** *None*\n* **Accept pipeline input:** False\n* **Accept wildcard characters:** False\n\n### See why your computer last shutdown/restart\n\n```powershell\nGet-ShutdownReason\n```\n\nExample output:\n```\nMessage: The process C:\\WINDOWS\\system32\\svchost.exe (DELL-P7520-1) has initiated the restart of computer DELL-P7520-1 on behalf of user NT AUTHORITY\\SYSTEM for the following reason: Operating System: Service pack (Planned)\n Reason Code: 0x80020010\n Shutdown Type: restart\n Comment:\n Date: 2020-10-30 19:43:02\n```\n\n### Add Sublime {Text 3,Merge} Context Menu Items\n\n![Sublime Context Menu Items](https://drop.jrgnsn.net/oqlX.png)\n\n```powershell\nAdd-SublimeMergeContextMenu\nAdd-SublimeTextContextMenu\n```\n\nTo run both at once:\n\n```powershell\nAdd-SublimeContextMenus\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprplecake%2Fdotfiles-windows","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprplecake%2Fdotfiles-windows","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprplecake%2Fdotfiles-windows/lists"}