I hereby claim:
- I am leorcvargas on github.
- I am leorcvargas (https://keybase.io/leorcvargas) on keybase.
- I have a public key ASCMR2CESVyXBEbaBiY_eL2QhZqZIGrAIkJeJklSBe-jrwo
To claim this, I am signing this object:
#include <stdio.h> | |
#include <stdlib.h> | |
#include <math.h> | |
void hanoi(int disco, char orig, char dest, char aux) { | |
if (disco == 1) { | |
printf("Move disco %d de %c para %c\n", disco, orig, dest); | |
} else { | |
hanoi(disco - 1, orig, aux, dest); |
int sizeX; | |
int sizeY; | |
char linha[50]; | |
FILE *fp; | |
fp = fopen("img.txt", "r"); | |
if (fp == NULL) | |
{ | |
perror("Read error"); |
I hereby claim:
To claim this, I am signing this object:
const getBookData = async (id) => { | |
const book = await getBookById(id); | |
const reviews = await getReviewsByBookId(book.id); | |
const author = await getAuthorById(book.authorId); | |
const sellers = await getSellersByBookId(book.id); | |
return { ...book, reviews, author, sellers }; | |
}; |
const getBookData = async (id) => { | |
const book = await getBookById(id); | |
const [reviews, author, sellers] = await Promise.all([ | |
getReviewsByBookId(book.id), | |
getAuthorById(book.authorId), | |
getSellersByBookId(book.id), | |
]); | |
return { ...book, reviews, author, sellers }; |
Install, build and debug a react native app in WSL2 (Windows Subsystem for Linux) and Ubuntu.