Skip to content

Instantly share code, notes, and snippets.

View gasaichandesu's full-sized avatar

Maxim Kalistratov gasaichandesu

  • Gathr
View GitHub Profile
@gasaichandesu
gasaichandesu / colorscheme
Last active February 3, 2026 14:30
Nord Light Slack Colorscheme
#D8DEE9,#88C0D0,#A3BE8C,#5E81AC
@gasaichandesu
gasaichandesu / main.dart
Created January 29, 2026 17:41
Multiple interactive dialogs in Flutter
import 'package:flutter/material.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
typedef VisibilityReportingSliverItemBuilder<T> =
Widget Function(BuildContext context, int index, T item);
/// A sliver-compatible list that reports which items are currently visible
/// in the viewport.
///
/// `VisibilityReportingSliverList<T>` behaves like a normal [SliverList], but
@gasaichandesu
gasaichandesu / claude-code-review.yml
Last active January 6, 2026 16:34
Claude Code Review Action
name: Claude Code Review
on:
pull_request:
types: [opened, synchronize, ready_for_review, reopened]
# Optional: Only run on specific file changes
# paths:
# - "src/**/*.ts"
# - "src/**/*.tsx"
# - "src/**/*.js"
@gasaichandesu
gasaichandesu / firebase-project-updater.js
Last active March 25, 2025 13:39
For anyone facing an `internal-error` using Firebase Auth trying to send an email with actionCodeSettings on iOS
const admin = require('firebase-admin');
admin.initializeApp({
// See https://firebase.google.com/docs/admin/setup/#initialize_the_sdk_in_non-google_environments on
// how to acquire credentials for your Firebase project
credential: admin.credential.cert(require("./credentials.json"))
});
const updateRequest = {
mobileLinksConfig: {