Skip to content

Instantly share code, notes, and snippets.

View galpratama's full-sized avatar
🎯
Focusing

Galih Pratama galpratama

🎯
Focusing
View GitHub Profile
@galpratama
galpratama / README.md
Created November 13, 2025 05:20 — 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?

@galpratama
galpratama / sass-responsive-mixin.scss
Created February 25, 2016 11:09 — forked from peschee/sass-responsive-mixin.scss
SASS responsive mixin (bootstrap breakpoints)
/**
* Responsive mixin. The media breakpoints are as defined
* in the twitter bootstrap framework:
*
* - phone
* - tablet-portrait
* - tablet-landscape-desktop
* - large-desktop
*
* Additional parameters for tagetting retina and non-retina
@galpratama
galpratama / pxtoem-function.scss
Created November 23, 2015 15:45 — forked from ariona/pxtoem-function.scss
Pixel to Em function for SASS
$browser-context: 16;
@function em($pixels, $context: $browser-context) {
@if (unitless($pixels)) {
$pixels: $pixels * 1px;
}
@if (unitless($context)) {
$context: $context * 1px;
}