Posts
Homebrew vs MacPorts
Homebrew vs MacPorts Homebrew and MacPorts are both package managers for macOS, which means they are tools that allow you to easily install and manage software packages on your system. However, there are some differences between them that you should be aware of when deciding which one to use.
Homebrew is designed to be a lightweight, user-friendly package manager. It uses Git and Ruby to manage packages, and has a simple, command-line interface.
Posts
How to uninstall Homebrew completely
How to uninstall Homebrew completely To uninstall Homebrew completely from your macOS system, you can follow the steps below: Open the Terminal application.
Run the following command to uninstall Homebrew:
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall)" This will remove Homebrew from your system.
Posts
Homebrew vs MacPorts
Homebrew vs MacPorts Homebrew and MacPorts are both package managers for macOS, which means they are tools that allow you to easily install and manage software packages on your system. However, there are some differences between them that you should be aware of when deciding which one to use.
Homebrew is designed to be a lightweight, user-friendly package manager. It uses Git and Ruby to manage packages, and has a simple, command-line interface.
Posts
GitHub Pages Hugo script
GitHub Pages Hugo script name: github pages on: push: branches: - main # Set a branch that will trigger a deployment pull_request: jobs: deploy: runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v3 with: submodules: true # Fetch Hugo themes (true OR recursive) fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod - name: Setup Hugo uses: peaceiris/actions-hugo@v2 with: hugo-version: 'latest' # extended: true - name: Build run: hugo --minify - name: Deploy uses: peaceiris/actions-gh-pages@v3 if: github.
Posts
brew error `initialize': Version value must be a string; got a NilClass ()
brew error `initialize’: Version value must be a string; got a NilClass () This error typically indicates that Homebrew’s version needs reinstall. To resolve this issue, you can follow these steps:
Open the Terminal application.
Run the following command to uninstall Homebrew:
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall)" Run the following command to install Homebrew:
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" Run the following command to check if Homebrew has been installed correctly: