Skip to content

Instantly share code, notes, and snippets.

View benjaminkomen's full-sized avatar

Benjamin Komen benjaminkomen

View GitHub Profile
@benjaminkomen
benjaminkomen / potential_expo_ui_elements.md
Last active February 28, 2025 08:45
Potential Expo UI elements

Potential Expo UI elements

I think the idea of Expo UI is to provide components that are then natively implemented by:

  • Swift UI for iOS
  • Jetpack Compose for Android

I am not sure whether the component needs to exist for both and to what extend they need to be complete primitives or can be higher order, i.e. a common combination of them.

Components

@benjaminkomen
benjaminkomen / expo_ui_instructions.md
Last active February 2, 2025 22:19
Expo UI instructions

Expo UI

In my ~/github directory, run git clone [email protected]:expo/expo.git. This takes a while, as it has to download 3 GiB

Navigate to cd expo and run yarn, this might take a minute Navigate to: cd apps/native-component-list folder Run yarn start which should start the Metro server

  • For web: run yarn web and it will show in your browser in localhost:8081
  • For Android:
  • We cannot use Expo Go (maybe that is supposed to work, but gives an error), so we need to build the app locally first
@benjaminkomen
benjaminkomen / keybase.md
Created April 26, 2021 15:23
KeyBase verification/proof

Keybase proof

I hereby claim:

  • I am benjaminkomen on github.
  • I am benjamin007 (https://keybase.io/benjamin007) on keybase.
  • I have a public key ASAtVVjnSySTMhU-Ji4qCEY2qGaJtm-Fq5ZUO8-oRowE-wo

To claim this, I am signing this object:

@benjaminkomen
benjaminkomen / solution.kts
Created October 5, 2020 13:06
Solution to Java to Kotlin Conversion Quiz
import java.io.BufferedReader
import java.io.File
import java.io.FileReader
import java.io.IOException
//Java to Kotlin Conversion Quizz samples for Java Magazine
//Example 1: Statics
object MySingleton {