Skip to content

Instantly share code, notes, and snippets.

View devoncarew's full-sized avatar

Devon Carew devoncarew

View GitHub Profile

Supported devices

Device Size Device category
iPhone SE (3rd gen) 375x667 Flat-edge, no cutout, small screen — budget / upgrade path
iPhone 14 390x844 Notch, 390×844 — covers iPhone 12, 13, 14
iPhone 15 393x852 Dynamic Island, 393×852 — proxy for iPhone 14 Pro, 15 Pro, 16, 16e
iPhone 15 Pro Max 430x932 Dynamic Island, 430×932 — covers iPhone 15 Plus, 16 Plus
iPhone 17 402x874 Current standard iPhone, 402×874 — same geometry as iPhone 17 Pro
iPhone 17 Air 420x912 Dynamic Island, 420×912 — iPhone 17 Air

Supported devices

Device Size Platform Device category
iPhone SE (3rd gen) 375 × 667 iOS Flat-edge, no cutout, small screen — budget / upgrade path
iPhone 14 390 × 844 iOS Notch cutout, 390 × 844 — covers iPhone 12, 13, 14
iPhone 15 393 × 852 iOS Dynamic Island, 393 × 852 — covers iPhone 14 Pro, 15 Pro, 16, 16e
iPhone 15 Pro 393 × 852 iOS Identical geometry to iPhone 15 — proxy for 14 Pro, 16
iPhone 15 Pro Max 430 × 932 iOS Dynamic Island, 430 × 932 — covers iPhone 15 Plus, 16 Plus
iPhone 16 Pro Max 440 × 956 iOS Largest iPhone screen, 440 × 956 — exposes wide-layout edge cases

MIME types

Supported media types and file extensions.

MIME type Default Additional
application/andrew-inset ez
application/applixware aw
@devoncarew
devoncarew / .sidekick.toml
Created September 29, 2025 15:45
Code snippets for generating server streaming SSE clients
# Auxillary method info.
sse-streaming-methods = [
'generativelanguage.models.streamGenerateContent',
'generativelanguage.tunedModels.streamGenerateContent'
]
@devoncarew
devoncarew / generativelanguage.dart
Created May 28, 2025 01:36
generativelanguage API generated from the protos
// Copyright 2025 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
@devoncarew
devoncarew / generativelanguage.dart
Created May 28, 2025 01:29
generativelanguage API generated from the discovery docs
// Copyright (c) 2025, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
// This is a generated file - do not edit.
import 'dart:typed_data';
import 'package:google_api_base/base.dart';
import 'package:google_api_base/src/encoding.dart';
// Copyright 2024 the Dart project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license
// that can be found in the LICENSE file.
import 'package:flutter/material.dart';
import 'package:flutter_markdown/flutter_markdown.dart';
import 'package:google_generative_ai/google_generative_ai.dart';
import 'package:url_launcher/link.dart';
void main() {

Google API client for the Cloud Functions API.

Manages lightweight user-provided functions executed in response to events.

For additional documentation, see https://cloud.google.com/functions.

Getting started

To get started, create an instance of CloudFunctions:

google.iam.credentials.v1.iamcredentials
State count 4
SubstitutionsEntry count 3
google.firestore.v1
Operator count 3
FieldsEntry count 2
LabelsEntry count 3
google.iam.v3.iam
AnnotationsEntry count 2
google.cloud.tpu.v2.tpu

Supported MIME types

MIME type Default ext Additional exts
application/andrew-inset ez
application/applixware aw
application/atom+xml atom