Skip to content

Instantly share code, notes, and snippets.

View EleazarRC's full-sized avatar
🎯
💯

Eleazar Ramos Cortés EleazarRC

🎯
💯
  • Vila-real
View GitHub Profile
@EleazarRC
EleazarRC / instalaciones-angular.md
Created January 17, 2022 10:50 — forked from Klerith/instalaciones-angular.md
Instalaciones necesarias y recomendadas - Curso de Angular de cero a experto
@EleazarRC
EleazarRC / setTimeout.js
Created January 8, 2022 10:19 — forked from frankyonnetti/setTimeout.js
Javascript - setTimeout #javascript
setTimeout(function() {
// do something
}, 200)
@EleazarRC
EleazarRC / index.php
Created January 8, 2022 10:03
PHP MVC: index.php
<?php
require_once __DIR__ . '/../vendor/autoload.php';
require_once __DIR__ . '/../includes/app.php';
use MVC\Router;
use Controllers\LoginController;
$router = new Router();
// LOGIN
@EleazarRC
EleazarRC / router.php
Last active January 8, 2022 10:04
PHP MVC ROUTER.PHP
<?php
namespace MVC;
class Router
{
public array $getRoutes = [];
public array $postRoutes = [];
public function get($url, $fn) {