Skip to content

Instantly share code, notes, and snippets.

View cristiancmello's full-sized avatar
🙂

Cristian Mello cristiancmello

🙂
View GitHub Profile
@cristiancmello
cristiancmello / index.html
Created October 21, 2026 15:11
Olá AWS S3!
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Olá AWS S3!</title>
</head>
<body>
<h1>Olá, AWS S3!</h1>
<p>Uma simples página da Internet oferecendo conteúdo estático.</p>
@cristiancmello
cristiancmello / deploy.yml
Created October 15, 2026 13:52
GitHub Workflows Deploy to S3 Definition
# .github/workflows/deploy.yml
name: Deploy para S3
on:
push:
branches: [main]
jobs:
deploy:
Pessoa:
definicao: ...
Usuario:
Perfil:
ref: ref(Perfil)
tipos:
Aluno: ref(Aluno)
Vendedor: ref(Vendedor)
Perfil:
<?php
namespace Illuminate\Foundation;
use Closure;
use Illuminate\Container\Container;
use Illuminate\Contracts\Foundation\Application as ApplicationContract;
use Illuminate\Contracts\Foundation\CachesConfiguration;
use Illuminate\Contracts\Foundation\CachesRoutes;
use Illuminate\Contracts\Http\Kernel as HttpKernelContract;
<?php
/*
|--------------------------------------------------------------------------
| Create The Application
|--------------------------------------------------------------------------
|
| The first thing we will do is create a new Laravel application instance
| which serves as the "glue" for all the components of Laravel, and is
| the IoC container for the system binding all of the various parts.
<?php
// Check if the application is in maintenance mode...
if (! file_exists($down = __DIR__.'/down')) {
return;
}
// Decode the "down" file's JSON...
$data = json_decode(file_get_contents($down), true);
<?php
use Illuminate\Contracts\Http\Kernel;
use Illuminate\Http\Request;
define('LARAVEL_START', microtime(true));
/*
|--------------------------------------------------------------------------
| Check If Application Is Under Maintenance
<?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
<?php
/**
* Laravel - A PHP Framework For Web Artisans
*
* @package Laravel
* @author Taylor Otwell <taylor@laravel.com>
*/
$uri = urldecode(
{
"folders": [
{
"path": "."
}
],
"extensions": {
"recommendations": [
"dracula-theme.theme-dracula",
"ritwickdey.liveserver",