This file contains hidden or 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 | |
/** | |
* The base configuration for WordPress | |
* | |
* The wp-config.php creation script uses this file during the installation. | |
* You don't have to use the web site, you can copy this file to "wp-config.php" | |
* and fill in the values. | |
* | |
* This file contains the following configurations: | |
* |
This file contains hidden or 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
Alias /phpmyadmin /usr/share/phpmyadmin | |
<Directory /usr/share/phpmyadmin> | |
Options SymLinksIfOwnerMatch | |
DirectoryIndex index.php | |
<IfModule mod_php5.c> | |
<IfModule mod_mime.c> | |
AddType application/x-httpd-php .php | |
</IfModule> |
This file contains hidden or 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
DATA="$(wget https://www.phpmyadmin.net/home_page/version.txt -q -O-)" | |
URL="$(echo $DATA | cut -d ' ' -f 3)" | |
VERSION="$(echo $DATA | cut -d ' ' -f 1)" | |
wget https://files.phpmyadmin.net/phpMyAdmin/${VERSION}/phpMyAdmin-${VERSION}-all-languages.tar.gz |
This file contains hidden or 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
<!-- html:5 --> | |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Rick and Morty</title> | |
<!-- link --> |
This file contains hidden or 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
html, body { | |
/* m0 */ | |
margin: 0; | |
} | |
#cabecera { | |
/* p1rem */ | |
padding: 1rem; |
This file contains hidden or 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
html, body { | |
/* m0 */ | |
margin: 0; | |
/* p0 */ | |
padding: 0; | |
} | |
#cabecera { | |
/* bgc */ |
This file contains hidden or 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
<header> | |
<img src="http://fakeimg.pl/300x100/000/fff?text=Procesar" alt="Logotipo"> | |
</header> | |
<h1> | |
Control de acceso | |
</h1> | |
<form action=""> | |
This file contains hidden or 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
* { | |
/* outline */ | |
outline: 1px solid #acd; | |
} | |
#cabecera li { | |
list-style: none; | |
} | |
#cabecera { |
This file contains hidden or 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 arreglo = [ 1, 2, 3 ] | |
arreglo.forEach( | |
elemento => console.log("un elemento:", elemento ) | |
) | |
const duplicados = arreglo.map( | |
elemento => elemento * 2 | |
) |
This file contains hidden or 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
{ | |
"info": { | |
"count": 826, | |
"pages": 42, | |
"next": "https://rickandmortyapi.com/api/character/?page=2", | |
"prev": null | |
}, | |
"results": [{ | |
"id": 1, | |
"name": "Rick Sanchez", |