home.social

Search

522 results for “jaykul”

  1. What if your shipped with Copilot?

    I'm still not sure if this is something I need or not, but I got Microsoft's CodexCLI working (again), just so I could show it off.

    This is how I want github CLI to integrate.

    I *do* like the explanations the current Copilot CLI gives, but I want this in the readline because I want to be able to edit the command I get back.

    i.imgur.com/8vbkF48.gif

    P.S. My working fork is at github.com/Jaykul/ReadlineAI

  2. Why isn't there already a Get-WebCertificate or something, for fetching the TLS certificate being used by a web server?

    Well, my old version doesn't work in PowerShell 7, so I had to put this together for someone this week:

    gist.github.com/Jaykul/74508c0

  3. @jamie @otterkring for what it's worth, I did convert it into something that worked for me.

    So I now have a function you can use in to syntax highlight arbitrary code roughly the way does it:

    github.com/Jaykul/EzTheme/comm

  4. @jaykul
    Thanks for the reference, I'll take a deep look at your module.

    Currently I'm moving to @mdgrs module solution. It's was quite easy to test the extension commands directly by importing it with a prefix. But then I've tested it from #SecretManagement and wanted to cry.... The AdditionalParameters HashTable which is automatically provided is case sensitive regarding the keys. I tend to call this nonsense and will open an issue in the main repo for this.

  5. @jaykul Hi, thanks, I've missed the obvious... And now I've got a usage for the 'Prefix' param of Import-Module: Coding a 'Get-Secret' and testing with 'Get-PWSSecret', nice.

    While this will be my current workaround for initial dev I'll switch over to @mdgrs #powershell solution github.com/mdgrs-mei/Restartab which works perfect even if testing the Extension through #SecretManagement.

  6. Found that playlist.

    If you're interested in , the CNCF project was in Seattle last month the week after the PowerShell and DevOps summit.

    They have all their videos posted to YouTube already, and here's the playlist:

    youtube.com/playlist?list=PLj6

  7. @sassdawe @shanselman I think that's going to be on the PowerShell team's head, ultimately: the days of decade-long validity for certificates are probably behind us.

    Only can fix the fact that it treats every new cert as a new publisher, and requires you to (re)affirm your trust of them.

    Never mind the package-signing thing in the old PowerShellGet, which blocks install if the certificate changes. 🙄

  8. @zas Also, KIC has _great_ support for the (even the preview stuff like ) as far as I can tell.

    I haven't tried it, because BYOCNI made it harder to switch off , and I have a talk to do ;-)

    docs.konghq.com/kubernetes-ing

  9. @zas Yeah, I've been trying to set up an with using the exclusively instead of my and it's tricky, not because of the "BYOCNI" part, but because *most* helm charts still don't support Gateway -- but do support Ingress.

    Sadly, the project got so sidetracked supporting vendor extensions that the current version can't even generate plain HTTP Routes from ingresses unless you're using @istiomesh

  10. @seanm yeah, as far as I know, it's just this: learn.microsoft.com/en-us/wind

    ... and that caveat is awful:

    > If you use a provisioning package or import-startlayout to configure the taskbar, your configuration will be reapplied each time the explorer.exe process restarts.

    I was hoping there would be something about this for but I don't see anything.

  11. @[email protected] the equivalent in is powerful and amazing, but not text-based. 😉

    1. You can use the FullName property _inside_ the foreach-Object:

    Get-ChildItem ~\Downloads -Recurse -File | ForEach-Object { perl .\bin\sanitize-file-name.pl $_.FullName }

    2. But you don't need the FullName property in modern PowerShell -- it will pass the FullName of a file to a string parameter by default:

    gci ~\Downloads -Recurse -File
    | % {
    perl .\bin\sanitize-file-name.pl $_
    }

  12. Has anyone had problems since this week with New-AzApiManagementApiRevision?

    Something like this?
    github.com/Azure/azure-powersh

  13. This graphapi vulnerability (seriously, phpinfo, in 2023?) is one of those things that only affect a fraction of users, but if you're affected, you'd better have already addressed it, because the is live.

    arstechnica.com/security/2023/

  14. The GitHub "actions/runner-images" project has been insisting they are just sticking with "LTS" #PowerShell for a year now.

    PowerShell 7.4 GA is out and is the new LTS release.

    github.com/actions/runner-imag

    Since 7.2 doesn't expire until November, my bet is they not do anything for several months, at least.

    Anyone betting against me?

    P.S. I'm using #earthly in my builds, so I can build and test with the versions of #PowerShell I want to support.

    earthly.dev/

  15. The GitHub "actions/runner-images" project has been insisting they are just sticking with "LTS" for a year now.

    PowerShell 7.4 GA is out and is the new LTS release.

    github.com/actions/runner-imag

    Since 7.2 doesn't expire until November, my bet is they not do anything for several months, at least.

    Anyone betting against me?

    P.S. I'm using in my builds, so I can build and test with the versions of I want to support.

    earthly.dev/

  16. @DoctorDNS @sasstu it's already in .NET -- but the team does not enable basic functionality if it came out after .NET 2.0 -- so you don't have access to unless you map them into the .NET 1.0 era "ETS"

    Here's the method in .NET:
    learn.microsoft.com/en-us/dotn

    Here's the pre-github era feature request:
    github.com/PowerShell/PowerShe

  17. Who else remembers getting these in the mail every month?

  18. @marud What I find weird about is the default comparer is OrdinalIgnoreCaseComparer, but when you "add" them, you get CultureAwareComparer:

    filter Get-Comparer {
    [hashtable].GetProperty("EqualityComparer", [Reflection.BindingFlags]"NonPublic,Instance").GetValue($_)
    }

    @{}, (@{} + @{}) | Get-Comparer

    Both are CaseInsentitive, so if you do New-Object or [hashtable]::new() you must not add hashtables, but you can use the Add or Set methods, or $ht[$key] = $value

  19. Please don't forget, when you're dealing with AI startups, that when they make ludicrous claims about privacy ... they might just be flat-out lying to you.

    The main HARPA website has this text:

    PRIVACY BY DESIGN: HARPA runs locally in browser and does not send your data away.

    Except we know this can't be true, because it's a ChatGPT service. Their actual privacy policy is a mess --but still fails to mention that you're also subject to OpenAI's terms!

  20. Please don't forget, when you're dealing with AI startups, that when they make ludicrous claims about privacy ... they might just be flat-out lying to you.

    The main HARPA website has this text:

    PRIVACY BY DESIGN: HARPA runs locally in browser and does not send your data away.

    Except we know this can't be true, because it's a ChatGPT service. Their actual privacy policy is a mess --but still fails to mention that you're also subject to OpenAI's terms!

    #AI #HARPA #Automation #Privacy #ChatGPT

  21. Please don't forget, when you're dealing with AI startups, that when they make ludicrous claims about privacy ... they might just be flat-out lying to you.

    The main HARPA website has this text:

    PRIVACY BY DESIGN: HARPA runs locally in browser and does not send your data away.

    Except we know this can't be true, because it's a ChatGPT service. Their actual privacy policy is a mess --but still fails to mention that you're also subject to OpenAI's terms!

    #AI #HARPA #Automation #Privacy #ChatGPT

  22. Please don't forget, when you're dealing with AI startups, that when they make ludicrous claims about privacy ... they might just be flat-out lying to you.

    The main HARPA website has this text:

    PRIVACY BY DESIGN: HARPA runs locally in browser and does not send your data away.

    Except we know this can't be true, because it's a ChatGPT service. Their actual privacy policy is a mess --but still fails to mention that you're also subject to OpenAI's terms!

    #AI #HARPA #Automation #Privacy #ChatGPT