Skip to content

Instantly share code, notes, and snippets.

View maxrodrigues's full-sized avatar
💭
Coffee is a best fuel!

Maxuel Rodrigues maxrodrigues

💭
Coffee is a best fuel!
View GitHub Profile
/* ======================================= */
/* ETAPA 1: Variáveis Iniciais (O Pedido) */
/* ======================================= */
// 1. Constantes de Preço do Menu
const precoHamburguer = 15.00;
const precoBatata = 8.00;
const precoRefrigerante = 6.00;
// 2. Variáveis de Pedido (Exemplo de pedido) [cite: 15]
@maxrodrigues
maxrodrigues / biteBurguer.html
Last active October 13, 2025 20:49
Trabalho de logica de programação
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Byte Burguer</title>
<script src="https://cdn.jsdelivr.net/npm/@tailwindcss/browser@4"></script>
</head>
<body class="h-screen w-full flex flex-col justify-between">
<div class="mx-auto">
<header></header>
@maxrodrigues
maxrodrigues / pint.json
Last active September 9, 2024 18:50
pint.json
{
"preset": "psr12",
"rules": {
"group_import": true,
"single_import_per_statement": false,
"no_unused_imports": true,
"array_indentation": true,
"array_syntax": {
"syntax": "short"
},
@maxrodrigues
maxrodrigues / initial_setup.sh
Last active September 2, 2024 12:53
Essenciais pra quando formatar o PC e colocar Linux
#!/usr/bin/env bash
stty sane
trap error_handling 1
nocolor='\033[0m'
green='\033[0;32m'
red='\033[0;31m'
cyan='\033[0;36m'
error='\033[1;31m'
Auto Rename Tag - Jun Han
Better Comments - Aeron Bond
Bookmarks - Alessadro Fragnani
Composer - Ioannis Kappas
Dracula Official - Dracula Theme
Editor Config for VS Code - EditorConfig
ENV - Jakka Prihatna
ESLint - Microsoft
Git Flow - PsykoSoldi3r
Git History - Don Jayamanne
@maxrodrigues
maxrodrigues / install.sh
Last active October 25, 2022 12:39
File to install all packages and programs (Ubuntu 22.04)
#!/bin/bash
# Title
echo ""
echo "╭━━╮╱╱╱╱╱╭╮╱╱╱╭╮╱╱╱╱╱╭╮╱╱╱╱╱╱╱╭╮╱╱╱╱╭━╮╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╭╮"
echo "╰┫┣╯╱╱╱╱╭╯╰╮╱╱┃┃╱╱╱╱╱┃┃╱╱╱╱╱╱╱┃┃╱╱╱╱┃╭╯╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╭╯╰╮"
echo "╱┃┃╭━╮╭━┻╮╭╋━━┫┃╭━━┳━╯┣━━┳━╮╭━╯┣━━╮╭╯╰┳━━┳━┳━┳━━┳╮╭┳━━┳━╋╮╭╋━━┳━━╮"
echo "╱┃┃┃╭╮┫━━┫┃┃╭╮┃┃┃╭╮┃╭╮┃╭╮┃╭╯┃╭╮┃┃━┫╰╮╭┫┃━┫╭┫╭┫╭╮┃╰╯┃┃━┫╭╮┫┃┃╭╮┃━━┫"
echo "╭┫┣┫┃┃┣━━┃╰┫╭╮┃╰┫╭╮┃╰╯┃╰╯┃┃╱┃╰╯┃┃━┫╱┃┃┃┃━┫┃┃┃┃╭╮┃┃┃┃┃━┫┃┃┃╰┫╭╮┣━━┃"
@maxrodrigues
maxrodrigues / all.conf
Created April 6, 2021 13:58
Arquivo de configuração do NGINX usado dentro do Laradock
server {
listen 80;
listen [::]:80;
# For https
#listen 443 ssl;
#listen [::]:443 ssl ipv6only=on;
#ssl_certificate /etc/nginx/ssl/default.crt;
#ssl_certificate_key /etc/nginx/ssl/default.key;