Skip to content

Instantly share code, notes, and snippets.

Avatar
🌊

Victor Pontis vpontis

🌊
View GitHub Profile
@brentvatne
brentvatne / firebase.md
Created March 14, 2019 02:29
Archiving expo-firebase
View firebase.md

We started building expo-firebase based off of react-native-firebase in order to attempt to get it to work well within the Expo client. It turned out that there wasn't a good way to do this - the SDK fully expects that there is one binary per app, and the Expo client has multiple apps inside of it. We weren't able to work around this.

If you'd like to use Firebase in the Expo client with the managed workflow, we'd recommend using the Firebase JS SDK. It supports Firebase Realtime Database and Firebase Storage. If you'd like access to the full suite of native firebase tools, we recommend using the bare workflow and react-native-firebase, because we cannot support this in the Expo client currently.

@vpontis
vpontis / copy.py
Last active August 22, 2023 14:12
Copy to clipboard from iPython on Mac OS X
View copy.py
"""
Add copy to clipboard from IPython!
To install, just copy it to your profile/startup directory, typically:
~/.ipython/profile_default/startup/
Example usage:
%copy hello world
# will store "hello world"
@nova77
nova77 / clip_magic.py
Last active September 20, 2023 10:38
copy to clipboard ipython magic
View clip_magic.py
"""
Add copy to clipboard from IPython!
To install, just copy it to your profile/startup directory, typically:
~/.ipython/profile_default/startup/
Example usage:
%clip hello world
# will store "hello world"