This file contains 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
// To view the default settings, hold "alt" while clicking on the "Settings" button. | |
// For documentation on these settings, see: https://aka.ms/terminal-documentation | |
{ | |
"$schema": "https://aka.ms/terminal-profiles-schema", | |
"defaultProfile": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}", | |
"profiles": [{ | |
"guid": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}", | |
"name": "Windows PowerShell", | |
"commandline": "powershell.exe", | |
"hidden": false, |
This file contains 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
import { h } from 'hyperapp' | |
const location = { | |
state: { | |
hash: window.location.hash | |
}, | |
actions: { | |
changed: () => () => { | |
return { hash: window.location.hash } | |
}, |
This file contains 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 Git-BranchesList() { | |
git branch --merged | ?{-not ($_ -like '*master')} | %{"$_".trim()} | |
} | |
function Git-BranchesClear() { | |
git branch --merged | ?{-not ($_ -like '*master')} | %{git branch -d "$_".trim()} | |
} |
This file contains 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
#SingleInstance force | |
!d:: | |
formattime, carrotcake, , yyyy-MM-dd | |
send %carrotcake% | |
return | |
!t:: | |
formattime, carrotcake, , yyyy-MM-ddTHH:mm | |
send %carrotcake% | |
return |
This file contains 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 Sign-File( | |
[Parameter(Mandatory=$True,Position=0,ValueFromPipeline)] | |
[string[]] | |
$FilePath) { | |
Set-AuthenticodeSignature $FilePath $(Get-ChildItem -Path cert:\CurrentUser\my -CodeSigningCert) | |
} | |
function Sign-Directory( | |
[Parameter(Position=0)] |
This file contains 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, | |
ValueFromPipelineByPropertyName=$true, | |
Position=0)] | |
[string[]] | |
$Path, | |
[switch] | |
$ErrorOnly |