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
var estatura1 | |
var estatura2 | |
var estatura3 | |
var color1 | |
var color2 | |
var color3 | |
var nombres = [ "Jose", "Rebeca", "Ernesto", "Pedro" ] |
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
{ | |
"messages": [ | |
{ | |
"id": 1, | |
"user": 1, | |
"message": "Excepteur et laboris cillum cupidatat deserunt ullamco excepteur duis aute sunt" | |
}, | |
{ | |
"id": 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
let scrollDebounce | |
function loadMore() { | |
// ... | |
} | |
function windowScroll() { |
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
import Message from "./Message/Message" | |
export default ({ | |
messages | |
}) => { | |
const renderMessages = messages.map( message => ( | |
<Message {...message} key={ message.id }/> |
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 moment = require("moment") | |
function generarTextoHora() { | |
const hora = moment().format("hh:mm:ss") | |
const mensaje = `La hora es: ${ hora }` | |
return mensaje |
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
function keyPressed() { | |
switch( key ) { | |
case "ArrowUp": | |
myObject.position.y -= 0.025 | |
break; | |
case "ArrowRight": | |
myObject.position.x += 0.025 | |
break; | |
case "ArrowDown": |
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
<!-- ! --> | |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
<title>Consulta API</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
anonymous_enable=NO | |
local_enable=YES | |
write_enable=YES | |
chroot_local_user=YES | |
allow_writeable_chroot=YES | |
secure_chroot_dir=/var/run/vsftpd/empty | |
pam_service_name=vsftpd | |
pasv_enable=YES | |
pasv_min_port=40000 | |
pasv_max_port=45000 |
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
sudo apt-get update | |
sudo apt-get install \ | |
ca-certificates \ | |
curl \ | |
gnupg \ | |
lsb-release | |
sudo mkdir -p /etc/apt/keyrings | |
curl -fsSL https://download.docker.com/linux/debian/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg |
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
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] | |
RewriteBase /wordpress/ | |
RewriteRule ^index\.php$ - [L] | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteRule . /wordpress/index.php [L] | |
</IfModule> |
NewerOlder