Showing posts from January, 2023

Moving to

My website was moved from WordPress to recently. I used to run my blog on Bluehost . It was a three years contract. To be honest,  the Bluehost service was super stable. The website only failed less than three times in the last three years. However, the renewal price was over $300. Hence, I started to explore an alternative. was an excellent option. However, I experienced it a few years ago. I want to try something new. GitHub Pages is a trendy blog service. But it needs to be simpler to set up. Try if you have time.  Eventually, I decided to go with . I need something stable and long-lasting. has been a Google service since 1997. It is long enough to prove the service's stability. And it is free to use with some advanced features. Such as the custom domain, SSL and AdSense, etc... It is easy to import WordPress content to Some online tools can convert the exported WordPress XML to format. It took me 15 m

“Autoplay audio” does not work on the Quizlet web version on MacOS

Quizlet is a flashcard application. You can use it to remember words, professional terms, or class notes. It has web and application editions.  The application edition works perfectly on iOS. It plays term and definition audio automatically. Quizlet calls it the "autoplay audio" feature. It is helpful to remember things with sounds. However, the function only sometimes works on Safari on MacOS. You may face similar problems. For example, the audio button is grayed out, or you must refresh the page several times to get the audio played. The fix is straightforward. Open a Safari window. Click Safari  on the top menu. Go to Settings . Go to the  Websites  tab. Go to Auto-Play . Select Allow All Auto-Play  for . This method is also applicable to similar issues on other websites.

How to List All Users in Terraform Cloud

Terraform has a rich API. However, the API documentation does not mention how to list all users. We can leverage the organization membership API and the PowerShell command Invoke-RestMethod to get a user list. 1. Create an organization token in Terraform Cloud. 2. Create the token variable ( $Token ) in PowerShell. $Token = "abcde" 3. Create the API parameters variable in PowerShell. $params = @{ Uri = "" Authentication = "Bearer" Token = $Token ContentType = "application/vnd.api+json" } Note: You need to replace ZHENGWU with your own organization name. And I used 100 at the end of the URI to retrieve the first 100 users. It can be any number.  4. Retrieve the API return and list the user's email address. $Test = Invoke-RestMethod @params $