It Has Been a While

It’s been a while since I last posted. I’ve been busy with work and life in general. I thought I’d refresh myself on how to use Hugo CLI. Here are some of the common commands that I would like to log for future reference: Hugo CLI Commands Check Hugo Version 1 hugo version Create a New Blog Post 1 hugo new posts/[file-name].md

May 29, 2024 · 1 min · 62 words · Oliver Gulich ·  Hugo ·  Blogging

Sudo for Windows

Wow. Sudo for Windows is here! See the official announcement in a Microsoft Devblogs here. Sudo for Windows is a new way for users to run elevated commands directly from an unelevated console session. It is an ergonomic and familiar solution for users who want to elevate a command without having to first open a new elevated console. I gave it a try, and it seems to be doing what it says on the tin....

Nifty Powershell Functions and Aliases

I thought I’d share some of the Powershell functions and aliases I’ve found useful over the years. I’ll try to keep this post updated as I find new ones. Powershell Aliases Most of the aliases below are pretty self-explanatory. They are just shortcuts to common commands. 1 2 3 4 5 6 7 8 9 10 Set-Alias -Name tf -Value terraform Set-Alias -Name k -Value kubectl Set-Alias -Name tt -Value tree Set-Alias -Name ll -Value ls Set-Alias -Name g -Value git Set-Alias -Name vim -Value nvim Set-Alias -Name np -Value 'C:\Windows\notepad....

January 22, 2024 · 3 min · 502 words · Oliver Gulich ·  PowerShell
DALL-E Generated Image for the "tennis court surrounded by glorious mountains in the morning sunlight" prompt

Generating Images Using DALL-E in Azure OpenAI

I’ve been going through Generative AI for Beginners course on GitHub over the last couple of days. In general, I found it quite useful not only for beginners, but also for those who have some experience with AI and ML. It’s a great way to get started with the latest developments in the field. I also found it useful to get a better understanding of the Azure OpenAI platform and its capabilities....

Interacting with Conda in PowerShell

If you want to be able to use conda in PowerShell, you need to add the conda scripts to your path. You can do this by running the following command in PowerShell: 1 $env:Path += ";C:\Users\USERNAME\Anaconda3\Scripts" Next, you want to run Anaconda Prompt as administrator. You can do this by right-clicking on the Anaconda Prompt icon and selecting “Run as administrator”. Execute the following command in Anaconda Prompt to register conda with PowerShell:...