Para instalar necesitamos tener unas dependencias en el sistema por ahora mostraremos en equipos Debian y Derivados. Pero primero instalares actualizaciones y MySQL
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
AddHandler fcgid-script .fcgi | |
Options +SymLinksIfOwnerMatch | |
RewriteEngine On | |
RewriteBase / | |
RewriteRule ^(public/.*)$ - [L] | |
# Esta linea dirige a static_media | |
RewriteRule ^(static_media.*)$ - [L] | |
# La razon que tengo dos es que trabajo en equipo | |
# y aveces mi equipo usa static o static_media |
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
{ | |
"line_numbers": false, | |
"gutter": false, | |
"draw_centered": false, | |
"wrap_width": 0, | |
"word_wrap": true, | |
"margin": 0, | |
"scroll_past_end": true | |
} |
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
Options +SymLinksIfOwnerMatch | |
RewriteEngine On | |
#Indexes para evitar que naveguen por las carpetas | |
Options -Indexes | |
#Agregar error 404 a 404.html | |
ErrorDocument 404 /404.html | |
#Redirecciones a páginas | |
Redirect /Contacto.html http://neijingtehuacan.com/pages/contacto.html |
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
# -*- coding: utf-8 -*- | |
""" | |
Author: Jesus A. Garzon | |
github: xtornasol512 | |
twitter: xtornasol512 | |
Description: | |
Just put this script in your directory of images | |
After create a directory for img_result | |
Then execute the script | |
python resize1920.py |
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 | |
/* | |
* A Design by PhyroServer | |
Author: PhyroServer | |
Author URL: http://phyroserver.com | |
License: Creative Commons Attribution 3.0 Unported | |
License URL: http://creativecommons.org/licenses/by/3.0/ | |
* | |
*/ | |
$userName=$_REQUEST['userName']; |
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
/** | |
* N9eeks Saludos | |
* The first commented line is your dabblet’s title | |
*/ | |
font-size: 2em; | |
background: #f06; | |
background: linear-gradient(20deg, #f06, yellow); | |
min-height: 100%; | |
color: #fff; |
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
# -*- coding: utf-8 -*- | |
""" | |
lista de estados de la Mexico | |
""" | |
AGC = "Aguascalientes" | |
BCN = "Baja California Norte" | |
BCS = "Baja California Sur" | |
CAMP = "Campeche" | |
CHI ="Chiapas" |
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="es"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
<title>Hola Mundo</title> | |
<link rel="stylesheet" href="css/foundation.min.css"> | |
</head> | |
<body> | |
<h1>Hola Mundo</h1> |
OlderNewer