You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Instantly share code, notes, and snippets.
Jeff Wainwright
yowainwright
Staff Software Engineer focused on deep learning, FOSS, security, privacy, and building AI workflows for optimal joy.
The candidate here was built from the local TypeScript modernization based on koajs/static#207. Its manifest still says 5.0.0; it is a separate working-tree build, not the published release.
Reproduce
Download these three Gist files into one directory:
Run Intel Mac Terminal Commands On Your M1 Mac Like A Boss In 5 Minutes Or Less
Run Intel Mac Terminal Commands On Your M1 Mac Like A Boss In 5 Minutes Or Less
After using terminals (iTerm, Terminal, Kitty) with an M1 Mac without issue for over a year, I finally came upon an issue that I couldn’t solve without using Rosetta. Rosetta is Mac software to run Intel Mac terminal commands on an M1 Mac. My issue initially came from trying to use Pyenv to install and use different versions of Python across multiple projects. After installing Rosetta, I initially used it by adding a custom flag to commands like this arch -x86_64 . This worked for me but was really error prone, “Did I forget the flag? Did I add the flag in the correct place?”.
This document describes solving M1 Mac vs Intel Mac terminal command discrepancies by creating a copy of your terminal and setting it up to run Intel Mac terminal commands using Rosetta. Although the process of making a Rosetta termi
Node CLI Program to Execute Standalone Node Script
The following file(s) aim to display a pattern of node script development.
In this pattern the CLI program is built to execute the standalone node script.
Writing Node Scripts
It is a common pattern to write a script.
It is a common pattern to write a CLI program to run a script.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters