]> us-delaporte.pagekite.me Git - dotfiles.git/commitdiff
Merge branch 'main' of github.com:edthedev/dotfiles into main
authorEdward Delaporte <delaport@illinois.edu>
Thu, 3 Feb 2022 20:25:58 +0000 (14:25 -0600)
committerEdward Delaporte <delaport@illinois.edu>
Thu, 3 Feb 2022 20:25:58 +0000 (14:25 -0600)
Microsoft.PowerShell_profile.ps1
psmodules/dash.psm1

index b0c9ae9ef1a9704196c6dd12239b9079b67ba938..5718ea02c16b9af575dcd03cec35a4eaf1fd32d0 100644 (file)
@@ -132,3 +132,7 @@ New-Alias st                Get-GitStatus
 # Dashboard
 New-Alias dash   Show-MyDashboard # from dash.psm1
 New-Alias agenda Get-JournalAgenda # from minion_go.psm1
+
+function Invoke-FixWslVPN {
+       Get-NetAdapter | Where-Object {$_.InterfaceDescription -Match "Cisco AnyConnect Secure Mobility Client Virtual Miniport Adapter for Windows x64"} | Set-NetIPInterface -InterfaceMetric 6000
+}
\ No newline at end of file
index f6bccfedf3f2a45a86c6f9150904ca3f67f3626c..afa4910116428f9f4e4ec9f59595f07e589449ea 100644 (file)
@@ -1,15 +1,23 @@
 
 function Show-MyDashBoard() {
+       Write-Host ""
        Write-Host "## Todo items for today:"
        Measure-JournalTodos
        chart
        Get-JournalTodayTodos
+       Write-Host ""
        Write-Host "## Agenda for today:"
        Get-JournalAgenda
+       Write-Host ""
        Write-Host "## GitHub Issues Assigned (Show-AgileMine)"
        Show-AgileMine -DaysAgo 6
-       Write-Host "## GitHub Issues with no milestone. (Show-AgileNoMilestone)"
-       Get-AgileNoMilestone -repository SecOps-Tools | Measure-Object -Property updated_at -Min -Max
+       Write-Host ""
+       Write-Host "## GitHub Issues with no milestone. (Select-AgileNoMilestone)"
+       Write-Host "(Get-AgileQuery -state 'Open' | Invoke-AgileQuery | Select-AgileNoMilestone | Show-MarkdownFromGitHub)"
+    Get-AgileQuery -state 'Open' -Skip uillinois-community.github.io | Invoke-AgileQuery | Select-AgileNoMilestone | Show-MarkdownFromGitHub
+    # $orphans_count = ($orphans | Measure-Object -Property updated_at -Min -Max).Count
+       # $orphans | Measure-Object -Property updated_at -Min -Max
+       Write-Host ""
        Write-Host "Use command 'todo' to list more tasks."
        Write-Host "Use command 'chart' to show todo item progress."
        Write-Host "Use command 'agenda' to list the plan for today."