Skip to main content

Posts

Showing posts from October, 2021

Signal Clone

 

Git React Project Upload

 Git React Project Upload git init git config --global user.name "Your Name" git config --global user.email youremail@domain.com git add * git commit -m "Updated source" git remote add origin URL.git git remote -v git push --set-u origin master Initial Push- Make github project without readme git init git remote add origin URL git add . git commit -m "Initial Commit" git remote -v git branch -M master git push -u origin master Done Git commads Learned - Check Auth =  git config --global user.email git log  git status Creating Branch - git branch branchName Shortcut to create branch and checkout - git checkout -b Mihir/Add git push -u origin Mihir/Add Jumping From One Branch To Another: git checkout branchName Adding files and commiting: git add . (Add all Files) git add Div.js Branch Structure - Master (main) Dev  Mihir(developerName)/AddingMultipy Merging two branch:   - git checkout Master  - git merge MIhir/AddingMultiply Secret Files And Data: - make ...

React Native Full Notes

React Native Full Notes Device Orientation Like Youtube - First Go To App.json and set orientation:: "default"; Then go to project folder and run npm i @react-native-community/hooks import  {  }  from   'expo-status-bar' ; import   React   from   'react' ; import  {  Dimensions ,  StyleSheet ,  SafeAreaView ,  Text ,  View ,  Button ,  Platform ,  StatusBar  }  from   'react-native' ; import  {  useDimensions ,  useDeviceOrientation  }  from   "@react-native-community/hooks" ;   export   default   function   App () {    const  {  landscape  } =  useDeviceOrientation ();    return  (      < SafeAreaView   style = { styles . container } >        < View   style = { {          backg...