Skip to content

Instantly share code, notes, and snippets.

View cyqresig's full-sized avatar

HISAME SHIZUMARU cyqresig

View GitHub Profile
@cyqresig
cyqresig / antigravity_migration_guide.md
Created February 13, 2026 02:47 — forked from iamadalek/antigravity_migration_guide.md
Antigravity Migration Toolkit v4: Full docs for CLAUDE.md

Moving from Claude Code to Antigravity

This guide explains how to migrate your existing Claude Code configuration—both personal and project-based—into Antigravity's .agent format.

Overview

Antigravity shares many concepts with Claude Code, making migration straightforward. We provide a script, migrate_claude_to_antigravity.sh, to automate this process.

Translation Logic

@cyqresig
cyqresig / gist:836228e9a1aa7d86e7950a818ededf26
Created February 18, 2017 12:52 — forked from snikch/gist:3661188
Find the current top view controller for your iOS application
- (UIViewController *)topViewController{
return [self topViewController:[UIApplication sharedApplication].keyWindow.rootViewController];
}
- (UIViewController *)topViewController:(UIViewController *)rootViewController
{
if (rootViewController.presentedViewController == nil) {
return rootViewController;
}