Skip to content

Instantly share code, notes, and snippets.

View cyqresig's full-sized avatar

HISAME SHIZUMARU cyqresig

View GitHub Profile
@iamadalek
iamadalek / antigravity_migration_guide.md
Created January 28, 2026 04:38
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

@snikch
snikch / gist:3661188
Created September 6, 2012 23:16
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;
}