Bored due to the Roni Ronas, or just in general?

Brush up your code game by participating in Code Golf!

Code Golf


If you are running an older version of TLS and try to interact with the PowerShell Gallery you may see error messages like:

WARNING: Unable to resolve package source ‘https://www.powershellgallery.com/api/v2’

The gallery officially only supports TLS 1.2, so you have to use this as a workaround:

[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 

Read more: https://devblogs.microsoft.com/powershell/powershell-gallery-tls-support



Advent Of Code 2019 Advent of Code is an Advent calendar of small programming puzzles for a variety of skill sets and skill levels that can be solved in any programming language you like.

It’s pretty neat, give it a try!


Ok, this is not new or rocketsurgery, but it’s handy.

You can Google right out of the cmdline :¬) Just add this to your PowerShell profile

function google{
    if(-not($args.count -eq 0)){
        $searchstring = $args -join " " 
        $url = "https://www.google.com/search?q=$searchstring"
        $url = $url -replace "\s", "%20"
        Start-Process $Url
    }
}