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 java.util.ArrayList; | |
public class Carrinho { | |
Cliente cliente; | |
double valor; | |
Pagamento pagamento; | |
ArrayList<Produto> produtos = new ArrayList<Produto>(); | |
Carrinho(Cliente cliente) { | |
this.cliente = cliente; |
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
package main | |
import ( | |
"bufio" | |
"flag" | |
"fmt" | |
"net" | |
"os" | |
"strings" | |
) |
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
{"lastUpload":"2021-01-18T08:44:06.669Z","extensionVersion":"v3.4.3"} |
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 json | |
from flask import Flask, jsonify, Response | |
import requests | |
app = Flask(__name__) | |
nicks = { | |
'Ganja', | |
'Mandioca', | |
'Tapioca', | |
'Bueno', |
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
from random import randint | |
class Jogo: | |
# Multiplayer | |
continua = True | |
players = [] # Players | |
chute = 0 # Chute | |
tentativas = [0,0] # Total de tentativas restantes | |
nivel_tentativas = 0 # Total de tentativas por nivel | |
pontuacao = [100, 100] # Pontuação |
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
0x1ad31a923af5ba1a6fdf3c180679cfa1ecd3f9d1 |
This file has been truncated, but you can view the full file.
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
{"v":"5.5.7","meta":{"g":"LottieFiles AE 0.1.20","a":"","k":"","d":"","tc":""},"fr":30,"ip":0,"op":300,"w":1200,"h":800,"nm":"Hero1","ddd":0,"assets":[{"id":"image_0","w":1200,"h":800,"u":"","p":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAABLAAAAMgCAYAAAAz4JsCAAAgAElEQVR4XuzdUXITR9g/6m5Jdi45O8g/NzbYlYKsIN8OYAd4B5kdMOxA7MDsAHYQVnCgvrKDuTlhB/HdQbam/zWyMEpwgs24rR7No7uA9E738zapml9N98TgQ4AAAQIECBAgQIAAAQIECBAgQKBggVjw2AyNAAECBAgQIECAAAECBAgQIECAQBBgWQQECBAgQIAAAQIECBAgQIAAAQJFCwiwim6PwREgQIAAAQIECBAgQIAAAQIECAiwrAECBAgQIECAAAECBAgQIECAAIGiBQRYRbfH4AgQIECAAAECBAgQIECAAAECBARY1gABAgQIECBAgAABAgQIECBAgEDRAgKsottjcAQIECBAgAABAgQIECBAgAABAgIsa4AAAQIECBAgQIAAAQIECBAgQKBoAQFW0e0xOAIECBAgQIAAAQIECBAgQIAAAQGWNUCAAAECBAgQIECAAAECBAgQIFC0gACr6PYYHAECBAgQIECAAAECBAgQIECAgADLGiBAgAABAgQIECBAgAABAgQIEChaQIBVdHsMjgABAgQIECBAgAABAgQIECBAQIBlDRAgQIAAAQIECBAgQIAAAQIECBQtIMAquj0GR4AAAQIECBAgQIAAAQIECBAgIMCyBggQIECAAAECBAgQIECAAAECBIoWEGAV3R6DI0CAAAECBAgQIECAAAECBAgQEGBZAwQIECBAgAABAgQIECBAgAABAkULCLCKbo/BESBAgAABAgQIECBAgAABAgQICL |
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 products = [ | |
{ | |
id: 1, | |
title: "Banho", | |
description: "Realizamos a higiene completa do seu pet", | |
quantity: 5, | |
price: 79.9, | |
}, | |
{ | |
id: 2, |
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
#include <stdio.h> | |
#include <stdlib.h> | |
#include <locale.h> | |
void ordenaVetor(int v[], int n) { | |
int i = 0, j = 0, menor = 0, troca = 0; | |
/* percorre todo o vetor */ | |
for(i = 0; i < n-1; i++) { | |
/* procura o menor elemento para a posi��o "i" */ |
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
<?php | |
namespace App\Http\Controllers; | |
use Illuminate\Http\Request; | |
use Illuminate\Support\Facades\Auth; | |
class AuthController extends Controller | |
{ | |
// Muda a rota pra AuthController@index ao invés de dashboard pra seguir o padrão REST (index, show, update, create, delete...) |