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 short { | |
param([string]$url) | |
$escapedUrl = [URI]::EscapeUriString($url) | |
$shorturl = curl "https://is.gd/create.php?format=simple&url=$escapedUrl" | |
Write-Output $shorturl | |
Set-Clipboard $shorturl |
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 acp { | |
param([string]$mes = "Small changes") | |
git add . | |
git commit -m $mes | |
git push | |
} |