Category: mac
Although creating a lock file with `pipenv lock` on an Intel Mac works without issues, attempting the same on an M1 (Apple Silicon) (ARM) Mac results in an error and the lock file cannot be created. However, by running `arch -x86_64 zsh` to emulate an x86_64 environment using Rosetta, `pipenv lock` executes successfully.
When you want to use multiple external displays with an M1 Mac and are outputting the screen through a display adapter with a Display Link chip, notifications may not appear on your Mac. In such cases, go to "Notifications" in the settings and ensure that the checkbox for "Allow notifications: When mirroring or sharing display" is checked. If this checkbox is unchecked, notifications will not appear while using Display Link. Make sure to turn this checkbox ON.
i2cssh is a tool that allows you to log into multiple servers simultaneously in iTerm2 and automatically arrange SSH panes for simultaneous operations. To log into multiple target servers via the same bastion host, you would use the following command: i2cssh -Xt=user@bastion.example.com "ssh user@server1.example.com" "ssh user@server2.example.com".
Here is an English translation of the summary for the Japanese blog post: "Solution for the Error: 'ERROR: Error installing i2cssh: ERROR: Failed to build gem native extension.'" This summary provides a brief description of what the blog post is about, which is a guide on how to resolve the specified error encountered when trying to install the i2cssh gem.
When using a Mac with a JIS keyboard that I bought a long time ago, I can't help but notice the US keyboard enthusiasts around me. They often say, "For development, it's got to be a US keyboard!" Even when I try to explain, "Well, the Kana key and the Control key placement are better," I still feel a bit hurt inside. I'm sure you've experienced something similar.
```bash #!/usr/bin/env jsc print("Hello, World!"); ``` To execute such a JS file from the terminal, it's convenient to use the JSC that comes pre-installed on Mac. 1. Add JSC Interpreter to Your Path The JavaScript interpreter on a Mac is located here: ```bash /System/Library/Frameworks/JavaScriptCore.framework/Versions/A/Resources/jsc ``` Since it's not in the PATH by default, create a symbolic link in a directory that is in the PATH. For example, you might use /usr/local/bin. ```bash cd /usr/local/bin ln -s /System/Library/Frameworks/JavaScriptCore.framework/Versions/A/Resources/jsc ./ ``` In the terminal, run: ```bash jsc --help ``` If the help information is displayed, it's set up correctly. 1.1. Using the Interactive Interface Run: ```bash jsc ``` This will start an interactive interface. The prompt and behavior are very similar to Python's interactive interface. You can even write functions.
Recent Posts
- Skill + CLI over MCP: Replacing Sentry MCP with a multi-profile CLI wrapper
- Turning Raspberry Pi into a Signage Display with Playwright and Chromium Kiosk Mode
- Docker 29 breaks docker push to ECR with 403 Forbidden on GitHub Actions
- How to Add "Copy Full File Path to Clipboard" to Finder's Services Menu
- How to turn Orange Pi Zero 2W into a Web Signage Display
Recent Deliverables
Categories
- Django (66)
- Python (49)
- mac (22)
- Linux (17)
- kubernetes (15)
- iOS (11)
- MySQL (10)
- Raspberry-Pi (8)
- AWS (7)
- PHP (6)
- Javascript (5)
- PC/Etc (5)
- Docker (5)
- Android (4)
- Bicycle (4)
- (4)
- nuxt (3)
- css (3)
- nginx (3)
- Bootstrap (3)
- Flutter (3)
- Shellscript(Bash/Zsh) (3)
- Making (2)
- Windows (2)
- HTML (2)
- (1)
- Ebook (1)
- Rails (1)
- Microcontrollers (1)
- less (1)
- Ansible (1)
- (1)
- (1)