Skip to content

Instantly share code, notes, and snippets.

Bigsby bzyg7b

Block or report user

Report or block bzyg7b

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View keybase.md

Keybase proof

I hereby claim:

  • I am bzyg7b on github.
  • I am bigsby (https://keybase.io/bigsby) on keybase.
  • I have a public key whose fingerprint is 0968 2193 C12B FD3F 0B56 407C D72B 85D9 8D31 6ACE

To claim this, I am signing this object:

View profile.ps1
function Prompt {
Write-Host '[' -NoNewline
Write-Host (Get-Date -Format "HH:mm tt") -ForegroundColor Green -NoNewline
Write-Host '] ' -NoNewline
[string]$dir = Get-Location
if ($dir.startswith("Microsoft.PowerShell.Core\FileSystem::")){
$dir = ($dir -split "FileSystem::" | select -Last 1 ).trim()
$last = ($dir -split "\\" | select -Last 1).trim()
$first = $dir -replace "$last",""
@bzyg7b
bzyg7b / AltTab.ps1
Created Jul 5, 2019
Alt + Tab in PoSH
View AltTab.ps1
[void][System.Reflection.Assembly]::LoadWithPartialName('System.Windows.Forms')
[System.Windows.Forms.SendKeys]::SendWait("%{TAB}")
You can’t perform that action at this time.