Skip to content

Instantly share code, notes, and snippets.

View mlumoura's full-sized avatar

Maria Luiza Gonçalves de Moura mlumoura

View GitHub Profile
@letanure
letanure / estados-cidades.json
Last active July 22, 2024 21:10
JSON estados cidades do brasil, dividido por estados. segunda lista atualizada em 2020, dados do IBGE
{
"estados": [
{
"sigla": "AC",
"nome": "Acre",
"cidades": [
"Acrelândia",
"Assis Brasil",
"Brasiléia",
"Bujari",
@backpackerhh
backpackerhh / core-set.sql
Last active July 15, 2024 22:07
SQL - Social-Network Query Exercises
-- 1. Find the names of all students who are friends with someone named Gabriel.
SELECT H1.name
FROM Highschooler H1
INNER JOIN Friend ON H1.ID = Friend.ID1
INNER JOIN Highschooler H2 ON H2.ID = Friend.ID2
WHERE H2.name = "Gabriel";
-- 2. For every student who likes someone 2 or more grades younger than themselves, return that student's name and grade, and the name and grade of the student they like.
import { commitMutation, graphql } from 'react-relay';
import environment from '../../../../environment';
const mutation = graphql`
mutation deleteNoteMutation($_id: ID) {
deleteNote(_id: $_id)
}
`;
function deleteNoteMutation(_id) {

DIOmarketplace

Comandos usados no módulo Redux do curso React Native da Digital Innovation One.


1. npx react-native init DIOmarketplace

2. yarn add eslint -D
   yarn eslint --init
@juunegreiros
juunegreiros / AluraCommons.js
Last active April 30, 2023 15:47
Aula 1 - Imersão React 3
import React from 'react';
import styled, { css } from 'styled-components';
import NextLink from 'next/link';
const BASE_URL = 'http://alurakut.vercel.app/';
const v = '1';
function Link({ href, children, ...props }) {
return (
age gender fruit
20 1 apple
23 1 apple
25 1 apple
26 1 orange
29 1 orange
30 1 orange
31 1 Watermelon
33 1 Watermelon
37 1 Watermelon