I was trying to get a global .NET Core tool working on my development machine, which just so happens to be running macOS. I also work wit....NET macOS
We’ve moved around CSS frameworks in the past few years, Semantic UI for our application layer, and Bootstrap for our static sites. As ou...SASS
New to the frontend at RIMdev, or looking for more about our Frontend team? Here’s a quick overview of our team, tools, and culture! As ...Team RIMdev Frontend
We’re in the process of scaffolding out our Microsoft Azure environments using Terraform. We’re looking at deploying consistently from ma...Azure Terraform
Requirement ASP.NET Core 2.2 or 3.0 Why can’t I do this in earlier versions? Read ASP.NET Core 2.2 First Look – Endpoint Routing ...ASP.NET Core Routing Middleware
Health checks in ASP.NET Core are useful for reporting the health of your ASP.NET Core web application. But, this functionality can’t dir....NET
As I’ve walked through upgrading a number of solutions to target a new version of the .NET Framework, I’ve compiled a list of helpful ste....NET
What is WSL? Windows Subsytsem for Linux (aka WSL) is an excellent tool for running Linux-based binaries natively in Windows. With the i...WSL git ASP.NET MVC
Updated Solution! Thanks for the post!If you don't want to create a web.config, you can also drive this through the <AspNetCoreHo...asp.net asp.net core
I, Khalid Abuhakmeh, recently wrote about my [Razor Pages first impressions][khalid] and am mostly positive about the addition to the ASP...asp.net asp.net core razor
We’re in the process of scaffolding out our Microsoft Azure environments using Terraform. While Terraform does an excellent job creating ...Terraform OSS
TL;DR Explicitly using SqlBulkCopy might never cause this problem since mapping is done manually, but NPoco’s usage does automatic map...NPoco SqlBulkCopy
As you’re building out an API it’s important to keep response times in check. In many cases slowness is due to database calls, web reques...Benchmarking OSS
We’ve accomplished so much this year thanks to @VueJS that we wanted to give back to the Vue community in some way. Ritter IM is sponsor...VueJS
We are living on the bleeding edge that is Hugo’s release cycle. To keep our macOS development environments up to date we wrote this shell script.
To take advantage of our work, put the following script into a file called
# hugo_latest.sh # Find the latest Hugo from GitHub echo '🐹 Starting Hugo Install / Update 🐹' echo ' Note: Please be sure to have curl and grep installed' echo '' url=$(curl -s "https://api.github.com/repositories/11180687/releases/latest" | grep -o 'https://.*hugo_extended.*_macOS-64bit.tar.gz') echo '✅ Found latest version' curl -s $url -L -o hugo_latest.tar.gz echo '✅ Download complete: ' $url tar -zxf hugo_latest.tar.gz -C /usr/local/bin rm /usr/local/bin/README.md rm /usr/local/bin/LICENSE echo '✅ Extracted to /usr/local/bin' rm hugo_latest.tar.gz echo '✅ Removed downloaded artifacts' echo '' echo '👉 Current Version' $(hugo version) echo '' echo '🎉🎉🎉 Happy Hugo-ing! 🎉🎉🎉'
Save this file as
hugo_latest.sh and run
chmod +x hugo_latest.sh. Then run
./hugo_latest.sh. The output will look something like this:
Now you can keep your development environment always running on the latest. This script will look at GitHub releases and always overwrite your current version locally.
Note: You can always update the script to get the regular version, but we prefer the extended version. You will also need