create Github gist with binary content #powershell #gist
create Github gist with binary content #powershell #gist
inspired by PSGist and other great pieces of software
Install-Module -Name binGist
History of releases and all downloads are available at Powershell Gallery
Get-Help binGist
Get-Help binGist -full
Get-Help binGist -examples
$ New-BinaryGist -Path screenshot.png -Description 'Screenshot'
...
to https://gist.github.com/295602c25d587e637d5cc827eeeeffff.git
$ Get-Gist 295602c25d587e637d5cc827eeeeffff
Owner : XXXXXXXXXX
Description : Screenshot
Id : 295602c25d587e637d5cc827eeeeffff
CreatedAt : 2018-07-27 21:54:52
UpdatedAt : 2018-07-27 21:54:52
Public : False
HtmlUrl : https://gist.github.com/295602c25d587e637d5cc827eeeeffff
Files : screenshot.png
[hexagram]: https://gist.githubusercontent.com/TurboBasic/9dfd228781a46c7b7076ec56bc40d5ab/raw/03942052ba28c4dc483efcd0ebf4bfc6809ed0d0/hexagram3D.png ‘hexagram of Wisdom’