| Name | Package Id | Version | Source |
|---|---|---|---|
| 7Zip | 7zip.7zip | 19.0.0 | winget |
| Altap Salamander | salamander | choco | |
| Alt-Tab Terminator | alt-tab-terminator | choco | |
| AutoHotkey | Lexikos.AutoHotkey | 1.1.33.02 | winget |
| AutoHotkey Store Edition | HaukeGtze.AutoHotkeypoweredbyweatherlights.com | Latest | msstore (via winget) |
| Carnac |
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
| # nushell version 0.93.0 | |
| # some short flags cannot be added to extern completers due to this bug https://github.com/nushell/nushell/issues/8318 | |
| # List Perforce help topics | |
| def "nu-complete p4 help topics" [] { | |
| [ | |
| 'add', | |
| 'annotate', | |
| 'client', | |
| 'clients', |
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' ?> | |
| <!-- | |
| Why is this one giant script instead of a bunch of smaller scripts? | |
| Mostly this comes down to BuildGraph and personal preference. As the language BuildGraph isn't | |
| really much of a programming language there is no easy way to use an IDE and jump between | |
| includes, find usages of variables, and just generally quickly search things. It was found to | |
| be easier to have a single large file that a developer can quickly jump up and down in when | |
| trying to understand what the BuildGraph script is doing. |
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
| param( | |
| [Parameter(Mandatory=$true)] | |
| [string]$access_key, | |
| [Parameter(Mandatory=$true)] | |
| [string]$secret_key, | |
| [string]$path="c:\unreal-5.0" | |
| ) | |
| # this asssumes that the custom UE5 that you want to download is in an S3 bucket and is in a self-extracting archive (7zip or similar) | |
| # for the last version built, 225GB is needed at least, but we might be re-running, so need to get the current amount downloaded and subtract if present | |
| $driveInfo = Get-PSDrive -PSProvider 'FileSystem' | Where-Object { $_.Name -eq $path[0] } |
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
| using AutomationTool; | |
| using System; | |
| using System.Collections.Generic; | |
| using System.IO; | |
| using System.Linq; | |
| using System.Text; | |
| using System.Threading.Tasks; | |
| using UnrealBuildTool; | |
| namespace Gauntlet.Examples |
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
| """ | |
| Access windows credentials | |
| Credentials must be stored in the Windows Credentials Manager in the Control | |
| Panel. This helper will search for "generic credentials" under the section | |
| "Windows Credentials" | |
| Example usage:: | |
| result = get_generic_credential('foobar') |
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
| function getpw() { | |
| if [ $# -lt 1 ]; then | |
| echo "Usage: getpw <LPASS_ENTRY>" | |
| return 1 | |
| fi | |
| options=$(lpass ls | egrep -i "$*") | |
| count=$(echo "$options" | wc -l | sed 's/ //g') | |
| if [ $count -gt 1 ]; then | |
| echo "$options" | |
| echo "Too many LastPass entries returned. Please pick from one of the above $count items." |
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
| wget -c --no-cookies --no-check-certificate --header "Cookie: oraclelicense=accept-securebackup-cookie" https://download.oracle.com/otn-pub/java/jdk/12.0.2+10/e482c34c86bd4bf8b56c0b35558996b9/jdk-12.0.2_linux-x64_bin.tar.gz |
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
| echo 'Formatting the code base...' | |
| godep go fmt $(go list ./... | grep -v /vendor/) | |
| echo 'Optimizing the imports...' | |
| goimports -w $(go list -f {{.Dir}} ./... | grep -v /vendor/) | |
| echo 'Installing dependencies. This might take some time...' | |
| godep go install $(go list ./... | grep -v /vendor/) | |
| echo "Executing test" |
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
| node { | |
| echo 'Results included as an inline comment exactly how they are returned as of Jenkins 2.121, with $BUILD_NUMBER = 1' | |
| echo 'No quotes, pipeline command in single quotes' | |
| sh 'echo $BUILD_NUMBER' // 1 | |
| echo 'Double quotes are silently dropped' | |
| sh 'echo "$BUILD_NUMBER"' // 1 | |
| echo 'Even escaped with a single backslash they are dropped' | |
| sh 'echo \"$BUILD_NUMBER\"' // 1 | |
| echo 'Using two backslashes, the quotes are preserved' | |
| sh 'echo \\"$BUILD_NUMBER\\"' // "1" |
NewerOlder