Skip to content

Instantly share code, notes, and snippets.

Avatar

Raí Vieira Adriano raivieiraadriano92

View GitHub Profile
@raivieiraadriano92
raivieiraadriano92 / DevToolsConfig.js
Last active Aug 16, 2018
React - Config ReactDevtools
View DevToolsConfig.js
if (__DEV__) {
require('react-devtools');
}
View example react-navigation v3
//routes.js
import { createStackNavigator, createSwitchNavigator, createAppContainer } from 'react-navigation';
import SignIn from './screens/SignIn';
import Home from './screens/Home';
const AuthNavigator = createStackNavigator({
SignIn,
});
View pine
/**
.
...
.....
.......
.........
*/
let node = 1;
View React Native Errors + Solutions
---iOS---
https://github.com/facebook/react-native-fbsdk/issues/794
https://khushwanttanwar.medium.com/xcode-12-compilation-errors-while-running-with-ios-14-simulators-5731c91326e9
View Setting React Native in Fedora
# Install Node.js
sudo dnf install nodejs
#Install React Native
sudo npm install -g react-native-cli
sudo mount -o remount,size=50G /tmp/
# Download and install Android Studio
# https://developer.android.com/studio/install.html
@raivieiraadriano92
raivieiraadriano92 / apple.sh
Created Jun 26, 2021 — forked from 50percentgrey/apple.sh
Delete-Clean Unnecessary files / Apple / Xcode
View apple.sh
#!/bin/bash
# Delete Archived Applications
rm -r ~/Library/Developer/Xcode/Archives/*/
# Delete Devired Data
rm -r ~/Library/Developer/Xcode/DerivedData/*/
# Delete Apple cached files
rm -r ~/Library/Developer/CoreSimulator/Caches/dyld/*/*/