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
server { | |
listen 8001; | |
server_name _; | |
root /var/www/html/pagina1; | |
index index.html; | |
location / { | |
try_files $uri $uri/ =404; | |
} |
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 { View, Text } from 'react-native' | |
import { useState } from 'react' | |
import { Button, TextInput } from 'react-native-paper' | |
import { cliente_axios } from '../global/cliente_axios' | |
export default function formulario() { | |
const [titulo, setTitulo] = useState('') | |
const [descripcion, setDescripcion] = useState('') |
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
package com.example.jmsa.pantallas | |
import androidx.compose.foundation.layout.Arrangement | |
import androidx.compose.foundation.layout.Column | |
import androidx.compose.foundation.layout.PaddingValues | |
import androidx.compose.foundation.layout.fillMaxSize | |
import androidx.compose.material.icons.Icons | |
import androidx.compose.material.icons.filled.AccountCircle | |
import androidx.compose.material.icons.filled.Add | |
import androidx.compose.material.icons.filled.Check |
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 os | |
import time | |
import datetime | |
import zipfile | |
import subprocess | |
HOST = 'localhost' | |
PORT = '3306' | |
DB_USER = 'root' | |
DB_PASS = '' |