Skip to content

Instantly share code, notes, and snippets.

View sam-hansen's full-sized avatar
🦁
Slaying it

Sam Hansen sam-hansen

🦁
Slaying it
View GitHub Profile
@jchandra74
jchandra74 / PowerShell Customization.md
Last active March 1, 2024 01:02
PowerShell, Cmder / ConEmu, Posh-Git, Oh-My-Posh, Powerline Customization

Pimping Up Your PowerShell & Cmder with Posh-Git, Oh-My-Posh, & Powerline Fonts

Backstory (TLDR)

I work as a full-stack developer at work. We are a Windows & Azure shop, so we are using Windows as our development platform, hence this customization.

For my console needs, I am using Cmder which is based on ConEmu with PowerShell as my shell of choice.

Yes, yes, I know nowadays you can use the Linux subsystem on Windows 10 which allow you to run Ubuntu on Windows. If you are looking for customization of the Ubuntu bash shell, check out this article by Scott Hanselman.

@subfuzion
subfuzion / curl.md
Last active May 16, 2024 18:04
curl POST examples

Common Options

-#, --progress-bar Make curl display a simple progress bar instead of the more informational standard meter.

-b, --cookie <name=data> Supply cookie with request. If no =, then specifies the cookie file to use (see -c).

-c, --cookie-jar <file name> File to save response cookies to.

@guillaume8375
guillaume8375 / top_powershell.ps1
Last active April 24, 2023 14:43
top equivalent for powershell
while (1) {ps | sort -desc cpu | select -first 30; sleep -seconds 2; cls;
write-host "Handles NPM(K) PM(K) WS(K) VM(M) CPU(s) Id ProcessName";
write-host "------- ------ ----- ----- ----- ------ -- -----------"}
@Angles
Angles / Why Safari User CSS gists.md
Created July 30, 2012 22:03
Safari User CSS gists