This file contains 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
RewriteEngine On | |
RewriteBase / | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteCond $1 !^(fonts|images|img|css|js|robots\.txt) | |
RewriteRule ^(.*)$ /router.php?url=$1 [NC,L] |
This file contains 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
#!/bin/bash | |
# Este scrip agrega la ip publica a un grupo de seguridad de aws, | |
# guarda la ultmia ip que se se agrego en un archivo | |
# si el archivo exste intenta eleminar la ip del grupo de seguridad | |
# si la ip es la misma que el archivo no hace nada | |
GROUPID=""; | |
PROTOCOL=""; | |
PORT=""; | |
FILE="awsip"; |
This file contains 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
#!/bin/bash | |
##################################### | |
#Author: Leon Lee # | |
#email: [email protected] # | |
#QQ: 730395591 # | |
#Version: 1.0 # | |
#Note: If you have some good ideas # | |
# or advice, please mail me^^ # | |
##################################### |
This file contains 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
dhcp-authoritative | |
interface=eth0 | |
dhcp-range=192.168.11.2,192.168.11.253,255.255.255.0,192.168.11.255,24h | |
dhcp-option=3,192.168.11.1 | |
dhcp-option=6,192.168.11.1 | |
log-dhcp | |
address = /#/192.168.11.1 | |
enable-tftp | |
tftp-root=/tftpboot | |
dhcp-boot=pxelinux.0,pc,192.168.11.1 |
This file contains 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
#!/usr/bin/env ruby | |
=begin | |
Archivo: Clean.rb | |
Autor: Israel Navarrete Alvarado (Stilgar) | |
Fecha: 2013-03-22 | |
Versión: 1.1 | |
Contacto: [email protected] | |
Descipcion: | |
Pequeño script que recibe como parámetros un | |
directorio origen, directorio destino y cantidad en |