iTerm2
Zsh
Oh My Zsh
Powerlevel10k
zsh-autosuggestions
Zsh-syntax-highlighting
micro editor
- Folder structure
- Homebrew
- NodeJS
- nvm
- Mozilla Firefox
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const createHomeStack = () => { | |
const { signOut } = useContext(AuthContext); | |
return ( | |
<Stack.Navigator> | |
<Stack.Screen | |
name="Home Screen" | |
component={createDrawer} | |
initialParams={{ singOut: signOut }} | |
/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { NavigationContainer } from '@react-navigation/native'; | |
import { createStackNavigator } from '@react-navigation/stack'; | |
import { createDrawerNavigator, DrawerItems } from '@react-navigation/drawer'; | |
const Stack = createStackNavigator(); | |
const Drawer = createDrawerNavigator(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const authContextValue = useMemo( | |
() => ({ | |
signIn: async data => { | |
if ( | |
data && | |
data.emailAddress !== undefined && | |
data.password !== undefined | |
) { | |
dispatch({ type: 'SIGN_IN', token: 'Token-For-Now' }); | |
} else { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { useEffect, useState, useContext } from 'react'; | |
import { validateAll } from 'indicative/validator'; | |
import { View, Text } from 'react-native'; | |
import { | |
Input, | |
Card, | |
FormValidationMessage, | |
Button | |
} from 'react-native-elements'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { useEffect, useState, useContext } from 'react'; | |
import { validateAll } from 'indicative/validator'; | |
import { View, Text } from 'react-native'; | |
import { | |
Input, | |
Card, | |
FormValidationMessage, | |
Button | |
} from 'react-native-elements'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { validateAll } from 'indicative/validator'; | |
const handleSignUp = () => { | |
const rules = { | |
email: 'required|email', | |
password: 'required|string|min:6|max:40|confirmed' | |
}; | |
const data = { | |
email: emailAddress, |
I hereby claim:
- I am icezer0 on github.
- I am idurant (https://keybase.io/idurant) on keybase.
- I have a public key ASCyDM4wqZMk1sMJPy6oTaLMhGJu5pip0_cykOK4JhQy6go
To claim this, I am signing this object:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function Hex32BitToBinary(HexData){ | |
let result = ""; | |
//32bit hex to string | |
HexData.match(/.{1,2}/g).forEach(str => { | |
result += hex2bin(str) | |
}); | |
return result; | |
} |
NewerOlder