AuthObservable
import SwiftUI
@Observable class AuthObservable {
enum Status {
case splash
case success
| fileprivate extension ScrollGeometry { | |
| var offsetY: CGFloat { | |
| contentOffset.y + contentInsets.top | |
| } | |
| } | |
| ... | |
| .onScrollGeometryChange(for: ScrollGeometry.self, of: {$0}, action: { oldValue, newValue in | |
| scrollProperties = newValue | |
| }) |
AuthObservable
import SwiftUI
@Observable class AuthObservable {
enum Status {
case splash
case success
| @import url('https://cdn.jsdelivr.net/npm/@fontsource/monaspace-argon@5.1.0/400.min.css'); | |
| :root { | |
| --width: 1000px; | |
| --font-main: 'Monaspace Argon'; | |
| --font-secondary: 'Monaspace Argon'; | |
| --font-scale: 1em; | |
| --background-color: #2e2e2e; | |
| --heading-color: #A9DC76; | |
| --text-color: #A9DC76; |
The Rabbit R1 uses a few custom APIs to talk to The Cloud™. Almost nothing happens on-device, and all the AI magic happens on servers.
Consequently, you don't really need the physical device.
In lieu of an authentication scheme, Rabbit's servers attempt to verify device authenticity by checking the TLS client's JA3 fingerprint, presumably enforced by AWS WAF.
If your TLS client doesn't match an expected fingerprint, you'll get HTTP 403 errors. This fingerprint works:
| curl -sSLO https://github.com/pinterest/ktlint/releases/download/0.48.2/ktlint && chmod a+x ktlint && sudo mv ktlint /usr/local/bin/ |
| sudo dnf install vim-enhanced |
| sudo dnf upgrade | |
| sudo dnf update | |
| sudo dnf install bzip2-libs.i686 zlib.i686 ncurses-libs.i686 -y | |
| Download Android Studio from developer.android.com and it comes in tar.gz file. Cd to download folder and then run on terminal | |
| sudo tar -zxvf android-studio-*-linux.tar.gz | |
| sudo mv android-studio /opt/ |
| package com.iRender.s5.studies.expresioncheck; | |
| import java.io.File; | |
| import java.io.FileDescriptor; | |
| import java.io.FileInputStream; | |
| import java.io.FileOutputStream; | |
| import java.io.IOException; | |
| import java.io.InputStream; | |
| import java.io.OutputStream; | |
| import java.util.ArrayList; |
| git remote add upstream https://github.com/mozilla-mobile/firefox-ios.git | |
| git fetch upstream | |
| git merge upstream/main | |
| git push |
| package com.somfy.android.utils; | |
| import android.content.Context; | |
| import android.net.wifi.WifiManager; | |
| import com.somfy.android.BridgeApplication; | |
| import java.io.IOException; | |
| import java.net.DatagramPacket; | |
| import java.net.InetAddress; |