This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Linear Interpolation Functions | |
const std = @import("std"); | |
const math = std.math; | |
fn lerp(x: f16, y: f16, a: f16) f16 { | |
return x * (1 - a) + y * a; | |
} | |
fn invLerp(x: f16, y: f16, a: f16) f16 { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Install dependencies | |
apt update -y | |
apt install docker.io -y | |
apt install docker-compose -y | |
systemctl start docker | |
systemctl enable docker |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export CODESIGN_PASSWORD = "test" | |
export KEYCHAIN_PATH = "build.keychain" | |
export CERTIFICATE_ID = "id from find-identity" | |
export PROFILE_ID = "profile from name from apple dashboard" | |
export CERITIFICATE_FILE = "Certificates.p12" | |
### At start load the certificate file to keychain | |
### Copy .mobileprovision to profiles | |
### Build flutter ipa without codesign |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// CREATE STATE HERE | |
class Inherited extends InheritedNotifier<AppState> { | |
const Inherited({required super.child, super.key, required super.notifier}); | |
static AppState? of(BuildContext context) { | |
return context.dependOnInheritedWidgetOfExactType<Inherited>()!.notifier; | |
} | |
@override | |
bool updateShouldNotify(InheritedNotifier<AppState> oldState) { |
OlderNewer