Skip to content

Instantly share code, notes, and snippets.

View FernandoCutire's full-sized avatar
🙌
Just do it !

Fernando Cutire FernandoCutire

🙌
Just do it !
View GitHub Profile
@FernandoCutire
FernandoCutire / index.html
Created April 9, 2023 03:42
simple html apache site
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Topicos Site is Online</title>
<style>
body {
font-family: Arial, sans-serif;
background-color: #f0f0f0;
resource "azurerm_resource_group" "example" {
name = "example-resources"
location = "West Europe"
}
resource "azurerm_template_deployment" "example" {
name = "acctesttemplate-01"
resource_group_name = azurerm_resource_group.example.name
template_body = <<DEPLOY
@FernandoCutire
FernandoCutire / Change the presentation page in php app
Last active June 27, 2022 02:50
Change the first file in php app
# Página de Inicio Alternativa
DirectoryIndex resources/views/inicio/inicio.php index.php index.html
@FernandoCutire
FernandoCutire / Inicio
Last active June 21, 2022 03:09
Descripción de el parcial #1 de Seguridad Informática Enlace del tutorial: https://backtrackacademy.com/articulo/implementacion-de-modsecurity-en-contenedor-de-wordpress
# Parcial #1 Seguridad Informática
Documento de trabajo: https://utpac-my.sharepoint.com/:w:/g/personal/gabriel_diaz4_utp_ac_pa/ER66HkSPe39Ji9bUathyXYYBSW-ayDjhpjfvWMi_6OEhAw
Integrantes
- Fernando Cutire
- Gabriel Díaz
- Jonathan Gamero
<form action="language_switcher.php" method="post">
<select name="lang">
<option value="en"<?php if( $_COOKIE["language"] == "en" ) { echo " selected"; } ?>>English</option>
<option value="ru"<?php if( $_COOKIE["language"] == "ru" ) { echo " selected"; } ?>>Russian</option>
</select>
<input type="submit" value="Select Language">
</form>
<p>Language: <?php if( isset( $_COOKIE["language"] ) ) { echo $_COOKIE["language"]; } else { echo "<em>not set</em>"; } ?></p>
We couldn’t find that file to show.
@FernandoCutire
FernandoCutire / Readme.md
Last active March 10, 2022 14:26
Repositorio del Proyecto del Sistema Instucional de Investigación Científica (SIIC)

Plataforma SIIC

Repositorio del Proyecto del Sistema Instucional de Investigación Científica (SIIC)

SIC inicial

@FernandoCutire
FernandoCutire / CreateUser.sql
Created March 9, 2022 13:22
Drop user and create a new one
drop user admin@localhost;
flush privileges;
create user admin@localhost identified by 'admins_password'
@FernandoCutire
FernandoCutire / SIC_DBDB
Last active March 7, 2022 16:33
El código presentado por Francisco en mi reunión de team para la plataforma SIC. Se recomienda correrlo en un entorno SQLServer y poder visualizar las tablas
This file has been truncated, but you can view the full file.
-- phpMyAdmin SQL Dump
-- version 5.1.2
-- https://www.phpmyadmin.net/
--
-- Host: mysql.investigadores.utp.ac.pa
-- Generation Time: Mar 03, 2022 at 07:27 PM
-- Server version: 8.0.26-0ubuntu0.20.04.3
-- PHP Version: 7.4.3
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";