Skip to content

Instantly share code, notes, and snippets.

View faustaleonardo's full-sized avatar
👀
Hello there 👋

Fausta Leonardo faustaleonardo

👀
Hello there 👋
View GitHub Profile
// Explorer
ctrl + w + h = move to the file explorer. Then, use l to open the file.
cmd + shift + p or cmd + shift + x = type anything. Then + tab and + j to move up or + k to move down.
// Word
w = move forward to the first character of a word
W = move forward to the first character of a word ignoring special characters
b = move backwards to the first character of a word
B = move backwards to the first character of a word ignoring special characters
e = move forward to the end char of the word
@faustaleonardo
faustaleonardo / .jsx
Last active August 3, 2021 13:12
React Native Styling - Overlay Image
const createStyles = () =>
StyleSheet.create({
image: {
borderRadius: Spacing.tiny,
overflow: "hidden",
position: "relative",
},
overlay: {
position: "absolute",
top: 0,
@faustaleonardo
faustaleonardo / .jsx
Last active August 3, 2021 13:56
React Native Styling - Shadow on Card
card: {
shadowColor: '#000',
shadowOffset: {
width: 0,
height: 5,
},
shadowOpacity: 0.29,
shadowRadius: 4.65,
elevation: 7
}