Skip to content

Instantly share code, notes, and snippets.

View jaiversin's full-sized avatar

Jhon Jaiver López jaiversin

  • Seattle, WA
  • 16:06 (UTC -07:00)
View GitHub Profile
@jaiversin
jaiversin / GEMINI_INIT.md
Last active September 24, 2025 23:10
Meta-prompt for GEMINI to generate a local/project GEMINI.md from an existing project. Based on @ksprashu 's work: https://gist.github.com/ksprashu/f68a572d3dc9664b9e92b05203053bac and adapted to Xcode/iOS projects.

You are an expert iOS software architect and project analysis assistant. Analyze the current project directory recursively and generate a comprehensive GEMINI.md file. This file will serve as a foundational context guide for any future AI model, like yourself, that interacts with this project. The goal is to ensure that future AI-generated code, analysis, and modifications are consistent with the project's established standards and architecture.

  • Scan and Analyze: Recursively scan the entire file and folder structure, including .xcodeproj and .xcworkspace contents.
  • Identify Key Artifacts: Pay close attention to Package.swift, Podfile, Cartfile, .swiftlint.yml, .xcconfig files, Info.plist, READMEs, folder hierarchy, and source code (.swift, .m files).
  • Incorporate Contribution & Development Guidelines: Search for and parse any files related to development or contributions (e.g., CONTRIBUTING.md). The instructions within these guides are critical and must be summar
@jaiversin
jaiversin / GEMINI.md
Created August 29, 2025 05:45 — forked from ksprashu/GEMINI.md
Personal GEMINI.md as on 29-07-2025

Gemini Agent: Core Directives and Operating Protocols

### Keybase proof
I hereby claim:
* I am jaiversin on github.
* I am jaiversin (https://keybase.io/jaiversin) on keybase.
* I have a public key ASAmeoslfwbIzUKFHyJGrJ-7nIbAsp79uHbgxCY7LUOYmAo
To claim this, I am signing this object:
class Persona {
let nombre: String
var carro: Carro?
init(nombre: String) {
self.nombre = nombre
}
func transportarse() {
carro?.arrancarMotor { [weak self] in
class Persona {
let nombre: String
var carro: Carro?
init(nombre: String) {
self.nombre = nombre
}
func transportarse() {
carro?.arrancarMotor {
class Persona {
let nombre: String
var carro: Carro?
init(nombre: String) {
self.nombre = nombre
}
}
class Carro {
class Persona {
let nombre: String
var carro: Carro?
init(nombre: String) {
self.nombre = nombre
}
}
class Carro {
@jaiversin
jaiversin / main.js
Created February 27, 2015 19:02
WL common init
function wlCommonInit() {
angular.element(document).ready(function() {
angular.bootstrap(document, [ 'App' ]);
});
}
@jaiversin
jaiversin / Fade Transition
Created April 30, 2013 19:32
Fade transition for iOS
//Navigate to the controller
- (IBAction)myButtonPressed:(id)sender {
MyVC *myVC = [[MyVC alloc] initWithNibName:@"MyVC" bundle:nil];
CATransition* transition = [CATransition animation];
transition.duration = 0.5;
transition.timingFunction = [CAMediaTimingFunction functionWithName:kCAMediaTimingFunctionEaseInEaseOut];
transition.type = kCATransitionFade;
@jaiversin
jaiversin / queue_function_calling.js
Created April 9, 2012 16:57
Creates a queue (poor queue impl, i know) and add function metadata info for further callings. Improved version by @simevidas http://jsfiddle.net/CEdPS/3/
function Queue(arr) {
var i = 0;
this.callNext = function() {
typeof arr[i].f == 'function' && arr[i].f(arr[i++].params);
};
}
function f1(params) {
alert(params[0]);
}