Skip to content

Instantly share code, notes, and snippets.

View calebjenkins's full-sized avatar
🎙️
Building a better developer experience at work!

Caleb Jenkins calebjenkins

🎙️
Building a better developer experience at work!
View GitHub Profile
@calebjenkins
calebjenkins / Profile.ps1
Last active January 16, 2022 18:58
a PowerShell method to open the origin git URL in the browser from inside the git folder. Only works from the root git folder.
function GitW {
$repoUrl = git config --get remote.origin.url
if(!$repoUrl)
{
Write-Output " No git URL found"
break
}
# Start-Process chrome $repoUrl # Google Chrome
@calebjenkins
calebjenkins / example.cs
Created July 29, 2017 03:06
IConfiguration pattern blog post code example
int TimeoutSeconds = 5;
@calebjenkins
calebjenkins / gist:a7fdbcf118f69b1a88be1e761fd6d64e
Created July 29, 2017 03:05
IConfiguration pattern blog post code example
int TimeoutSeconds = 5;
{"version":1,"resource":"file:///c%3A/Users/caleb/code/Program.cs","entries":[{"id":"l8hY.cs","timestamp":1664063749540},{"id":"TgRM.cs","timestamp":1664063851093},{"id":"kBqq.cs","timestamp":1664063885478},{"id":"RMUo.cs","timestamp":1664064001407}]}