Skip to content

Instantly share code, notes, and snippets.

View saif-shines's full-sized avatar
🎵
Music time!

Saif saif-shines

🎵
Music time!
View GitHub Profile
@saif-shines
saif-shines / README.md
Created December 23, 2025 06:44 — forked from RuiNelson/README.md
How to Use GLM Coding Plan and Claude Pro/Max Simultaneously with Claude Code on macOS

Who is this script for?

For those who have a Claude (Anthropic) account and a GLM Coding Plan (Z.ai) account and want to use Claude Code for both.

What does this script solve?

On macOS, Claude Code stores access credentials in the Keychain (macOS Keychain is a secure database that the operating system provides to applications for storing secrets). This makes the setup more secure but less programmatically configurable.

How does this script solve this problem?

@saif-shines
saif-shines / Digging into Node.js.md
Created October 19, 2023 10:00 — forked from i-python-com/Digging into Node.js.md
Node.js - Understanding the hard Parts

Each Node.js process has a set of built-in functionality, accessible through the global process module. The process module need not to be required - it is somewhat literally a wrapper around the currently executing process, and many of the methods it exposes are actually wrappers around calls into some of Nodejs core C libraries.

process.stdout.write("hello world")

The simplest way of retrieving arguments in Nodejs is via the process.argv array. This is a global object that you can use without importing any additional libraries to use it. You simply need to pass arguments to a Node.js application, just like we showed earlier, and these arguments can be accessed within the application via the process.argv array.