Skip to content

Instantly share code, notes, and snippets.

View heckctor's full-sized avatar

Hektor Peña heckctor

View GitHub Profile
@heckctor
heckctor / lampp_install.sh
Last active March 15, 2016 05:30
Script bash básico que descarga desde google drive el zip de Xampp 5.6.19 y lo instala
#!/bin/bash
# -*- ENCODING: UTF-8 -*-
#----------------------------------------#
# XAMPP INSTALLER v1.0.0 #
#----------------------------------------#
# By: https://github.com/heckctor #
#----------------------------------------#
# ejecutar $bash xampp-files.sh
rutaXampp=/opt/lampp/htdocs
@heckctor
heckctor / prepos_install.sh
Last active December 9, 2019 18:36
Script basico que descarga e instala Prepros Linux 5.10.2
#!/bin/bash
# -*- ENCODING: UTF-8 -*-
#Requiere de permisos de ejecución:$chmod -x prepros_install.sh
#Ejecutar como Root: $bash prepros_install.sh
#Validando Acceso Root
if [[ $EUID -ne 0 ]]; then
echo "Tienes que ejecutar este script como Root" 1>&2
exit 1
fi
@heckctor
heckctor / instalador_xampp.sh
Last active September 20, 2016 16:35
Script Bash Basico que descarga e instala V5.6.24 en GNU/Linux
#!/bin/bash
# -*- ENCODING: UTF-8 -*-
#----------------------------------------#
# XAMPP INSTALLER v1.0.0 #
#----------------------------------------#
# By: https://github.com/heckctor #
#----------------------------------------#
# ejecutar $bash instalador_xampp.sh
rutaXampp=/opt/lampp/htdocs
if(window.location.href.indexOf("curso") != -1){//curso es la palabra que buscará
//Algo
}