FROM ubuntu:noble
# Install necessary packages
RUN apt update
RUN apt install -y <package-name>
RUN rm -rf /var/lib/apt/lists/*
Replace <FirstName>
, <LastName>
, and <Email>
with your information.
mkdir ./cli/ && cd ./cli/
go install github.com/spf13/cobra-cli@latest
cobra-cli init --author "<FirstName> <LastName> <Email>" --license MIT --viper
go mod tidy
Watch the full Y Combinator talk on YouTube from Aug 29, 2018 here: https://youtu.be/0lJKucu6HJc
- Build a product so good, people spontaneously tell their friends about it.
- Build a product that is easy to explain in a few words.
- Identify a market that is going to grow every year.
- A real trend is one where the early adopters use it obsessively.
Issue Description
After upgrading my MacBook Air M1 to macOS Sonoma 14.0
(not sure if it is related to this issue),
I noticed that I often cannot click anything inside a webpage in Chrome, even though I can scroll the page.
Also, sometimes the navigation buttons don't work either.
Resolution Steps
It appears that this fix may have resolved the issue. The inspiration for this fix came from the following Apple community discussion thread:
Include the code below in any bash script!
This is a good way to start a bash script:
#!/usr/bin/env bash
set -eou pipefail
These are some useful generic reusable bash functions.
You could use this code to, for example, validate fields from a package.json
file for use in a Node.js CLI application.
It gives you a packageInfo
object that has some useful fields that you could use (in a help or usage message, for example):
packageInfo.version
, so that you can display the CLI versionpackageInfo.bin
, so that you can display the name of the CLI commandpackageInfo.repository
, so that you can display a URL to the repo for the CLI
Make sure your tsconfig.json
includes "resolveJsonModule": true
.