Skip to content

Instantly share code, notes, and snippets.

View jedieaston's full-sized avatar
⚔️
Speak softly and carry a +6 two-handed sword.

Easton Pillay jedieaston

⚔️
Speak softly and carry a +6 two-handed sword.
  • Symetra
  • United States
  • 04:27 (UTC -04:00)
View GitHub Profile
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&%%##%&@@@@@@@@@@@@@@@@@@@%(,..**#%&@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&#/*. .,/%@@@@@@@@@@@@
@jedieaston
jedieaston / Check-PR.ps1
Last active April 18, 2022 15:12
A easy way to see if your winget-pkgs pipeline run is done!
# Given the PR number, see what the status of the pipeline is.
Param(
[Parameter(Position = 0, HelpMessage = "The Pull Request to check on.", Mandatory = $true)]
[String] $PullRequest
)
$ErrorActionPreference = "Stop"
$ProgressPreference = "SilentlyContinue"
$url = "https://dev.azure.com/ms/winget-pkgs/_apis/build/builds?branchName=refs/pull/$PullRequest/merge&api-version=6.0"
@jedieaston
jedieaston / ArpMe.ps1
Created October 19, 2021 19:15
Figure out what new ARP entries there are.
function Get-ARPTable {
$registry_paths = @('HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall\*','HKLM:\Software\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\*', 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Uninstall\*', 'HKCU:\Software\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\*')
return Get-ItemProperty $registry_paths -ErrorAction SilentlyContinue |
Select-Object DisplayName, DisplayVersion, Publisher, @{N='ProductCode'; E={$_.PSChildName}}|
Where-Object {$null -ne $_.DisplayName } |
Where-Object {$null -ne $_.DisplayVersion } |
Where-Object {$null -ne $_.Publisher }
}
$errorActionPreference = "Stop"
$products = @(
@{
manifestId = "JetBrains.PyCharm.Community";
jetbrainsId = "PCC";
},
@{
manifestId = "JetBrains.PyCharm.Professional";
jetbrainsId = "PCP";
},
@jedieaston
jedieaston / Install-WinGet.ps1
Last active July 25, 2023 22:08
Install WinGet (.ps1)! (on x64 systems)
$ErrorActionPreference = "Stop"
$apiLatestUrl = 'https://api.github.com/repos/microsoft/winget-cli/releases/latest'
$tempFolder = $env:TEMP
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
$WebClient = New-Object System.Net.WebClient
function Update-EnvironmentVariables {
foreach($level in "Machine","User") {
@jedieaston
jedieaston / Nuke.ps1
Last active April 18, 2021 19:03
Script to remove a bunch of manifests from winget-pkgs.
$ErrorActionPreference = "Stop"
$FirefoxRoot = "C:\Users\Easton Pillay\projects\winget-pkgs\manifests\m\Mozilla\Firefox\Firefox\"
$PATH_TO_PR_BODY = "C:\Users\Easton Pillay\projects\qprbody.md"
$committedBranches = @()
Set-Location $FirefoxRoot
git checkout master
git remote add upstream https://github.com/microsoft/winget-pkgs/
git fetch --all
$versions = Get-ChildItem -Directory | Select-Object Name
@jedieaston
jedieaston / UpdateVS.ps1
Created March 20, 2021 00:56
A script to update Visual Studio in the winget repo (requires WinGetHelpers)
# Change these first!
$TARGETVERSION = "16.9.31112.23"
$BASEVERSION = "16.9.31105.61"
$root = "C:\Users\Easton Pillay\projects\winget-pkgs\manifests\Microsoft\VisualStudio"
$BASEMANIFEST = ".\" + $BASEVERSION + ".yaml"
$baseParams = @{
manifest = $BASEMANIFEST;
newVersion = $TARGETVERSION;
@jedieaston
jedieaston / settings.json
Last active January 20, 2022 14:27
Everything settings file for winget
{
// For documentation on these settings, see: https://aka.ms/winget-settings
// "source": {
// "autoUpdateIntervalInMinutes": 5
// },
"visual": {
"progressBar": "rainbow"
},
"experimentalFeatures": {
"experimentalMSStore": true,

Keybase proof

I hereby claim:

  • I am jedieaston on github.
  • I am jedieaston (https://keybase.io/jedieaston) on keybase.
  • I have a public key ASADlIklTnAwj_U8pG0w4RCKNIFm6Y2RtfDj6Cx1wellSAo

To claim this, I am signing this object:

@jedieaston
jedieaston / go.txt
Created April 23, 2018 13:50
IT Academy dependencies
cinst visualstudiocode
cinst git
cinst python3
cinst bluej