Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
Building Asteroids 2D Game for Kids

Micheal Colhoun colhountech

💭
Building Asteroids 2D Game for Kids
View GitHub Profile
@aggieben
aggieben / dotnet-versions
Last active Jul 20, 2017
List installed .NET Core SDK versions
View dotnet-versions
#!/bin/sh
# Benjamin Collins <aggieben@gmail.com>
# Requires GNU readlink (get on macOS with `brew install coreutils`)
READLINK=${READLINK:-readlink}
cliPath=$(which dotnet)
netDir=$(dirname $($READLINK -f $cliPath))
ls -1 "$netDir/sdk"