-
Use the following as the file path:
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -ExecutionPolicy Bypass -Command "choco upgrade all -y; pause" -
Enable Run as Administrator
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "version": "1.0", | |
| "components": [], | |
| "extensions": [ | |
| "https://marketplace.visualstudio.com/items?itemName=ErikEJ.EFCorePowerTools", | |
| "https://marketplace.visualstudio.com/items?itemName=FireGiant.FireGiantHeatWaveDev17", | |
| "https://marketplace.visualstudio.com/items?itemName=FortuneNgwenya.FineCodeCoverage2022", | |
| "https://marketplace.visualstudio.com/items?itemName=MadsKristensen.AddNewFile64", | |
| "https://marketplace.visualstudio.com/items?itemName=MadsKristensen.CommandTaskRunner64", | |
| "https://marketplace.visualstudio.com/items?itemName=MadsKristensen.FileIcons", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <link href='https://fonts.googleapis.com/css?family=Quicksand:300,400,700|Raleway:400,100,200,300,500,600,700,800,900|Playfair+Display+SC:400italic,700italic,400,700,900' rel='stylesheet' type='text/css'> | |
| <div class="wrapper"> | |
| <div class="svg-wrapper"><svg><text class="upper sans">You have to</text></svg></div> | |
| <div class="svg-wrapper"><svg><text class="upper sans bold">say no</text></svg></div> | |
| <div class="svg-wrapper"><svg><text class="upper sans">to a lot of</text></svg></div> | |
| <div class="svg-wrapper"><svg><text class="upper serif">good things</text></svg></div> | |
| <div class="svg-wrapper"><svg><text class="upper sans">in order to be able to</text></svg></div> | |
| <div class="svg-wrapper"><svg><text class="upper sans bold">say yes</text></svg></div> | |
| <div class="svg-wrapper"><svg><text class="upper sans">to a lot of</text></svg></div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| echo | |
| exec pwsh -NoLogo -NoProfile -ExecutionPolicy RemoteSigned -Command ".\.git\hooks\prepare-commit-msg.ps1 '$1'" | |
| exit |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Get-ChildItem *.flac | ForEach-Object { Invoke-Expression -Command "ffmpeg -i `"$($_.FullName)`" -codec:a libmp3lame -qscale:a 0 `"$($_.Name.Substring(0,$_.Name.Length - $_.Extension.Length)).mp3`"" } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # ref: https://github.com/PowerShell/PSReadLine | |
| # ref: https://github.com/devblackops/Terminal-Icons | |
| Import-Module -Name PSReadLine,Terminal-Icons | |
| # Add Predictive IntelliSense using prompt history in a list view | |
| # ref: https://www.hanselman.com/blog/adding-predictive-intellisense-to-my-windows-terminal-powershell-prompt-with-psreadline | |
| # ref: https://devblogs.microsoft.com/powershell/announcing-psreadline-2-1-with-predictive-intellisense/ | |
| Set-PSReadLineOption -PredictionSource History | |
| Set-PSReadLineOption -PredictionViewStyle ListView | |
| Set-PSReadLineOption -EditMode Windows |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (netsh wlan show profiles) | Select-String "\:(.+)$" | %{$name=$_.Matches.Groups[1].Value.Trim(); $_} | %{(netsh wlan show profile name="$name" key=clear)} | Select-String "Key Content\W+\:(.+)$" | %{$pass=$_.Matches.Groups[1].Value.Trim(); $_} | %{[PSCustomObject]@{ SSID=$name;SECURITY_KEY=$pass }} | Format-Table -AutoSize |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env sh | |
| # Download lists, unpack and filter, write to stdout | |
| curl -s https://www.iblocklist.com/lists.php \ | |
| | sed -n "s/.*value='\(http:.*=bt_.*\)'.*/\1/p" \ | |
| | xargs wget -O - \ | |
| | gunzip \ | |
| | egrep -v '^#' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="utf-8" ?> | |
| <!-- On Local Rendering: https://stackoverflow.com/a/6251757 --> | |
| <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> | |
| <!-- https://stackoverflow.com/a/3404922 --> | |
| <xsl:output method="html" doctype-system="about:legacy-compact" /> | |
| <!-- DOCUMENT TEMPLATE --> | |
| <!-- Format the whole document as a valid HTML document --> | |
| <xsl:template match="/"> |
NewerOlder