September 29, 2019

Roll Your Sleeves Up, It's Hacktoberfest Time!

Posted on September 29, 2019  •  2 minutes  • 365 words

We’re now about half an hour away from October, at least here in New Zealand, meaning that it’s just about time for Hacktoberfest 2019 to kick off.

This will be my fourth Hacktoberfest, and with any luck the fourth event t-shirt for my wife to eventually claim (not by my choice though!) I’ve written about the event a couple of times in the past, in 2017 and 2018 .

What’s a “Hacktoberfest”?

Hacktoberfest is a yearly month long event fostering contributions to open source projects.

The first 50,000 people to complete four pull requests to open source projects will be able to claim a t-shirt which will be sent out with a few cool stickers. Every years' design has been awesome, but this year has by far and away the coolest, in my opinion.

If you’ve never done the whole GitHub Pull Request thing, check out this post by Michelle Gienow for a primer.

Don’t be afraid, this event in 2016 was the first time I ever submitted a PR and I’ve never looked back!

What Do I Work On?

My go to answer to this question is to give back to any projects you’ve found value in. Is there a PowerShell module you use every day? Find out if the code is on GitHub and see if you’re able to fix a bug, provide some more documentation, or write missing test.

Still not sure, head onto GitHub and search for open issues with the #Hacktoberfest label and the language set to PowerShell… or just click this link .

I’ve added Hacktoberfest label to issues on a few of my own projects:

Just Throw a Random Issue at Me!

I couldn’t finish out this post without a little PowerShell fun, this code will get all the appropriately labeled issues from GitHub, select a random one, and open it in a browser.

$Issues = @()

$URI = '{0}&per_page=100'

$Page = 1
$More = $true

while ($More) {
    $Result = Invoke-RestMethod -Uri ($Uri -f $Page)

    if ($Result.items.Count -eq 100) {
        $Page ++
    } else {
        $More = $false

    $Issues += $Result.items

Start-Process ($Issues | Get-Random).html_url


Hero image by Umanoide on Unsplash

comments powered by Disqus
Follow me