Skip to content

Instantly share code, notes, and snippets.

View merolhack's full-sized avatar

Lenin Jose Meza Zarco merolhack

View GitHub Profile
@merolhack
merolhack / Phonegap.markdown
Last active November 25, 2015 22:27
Install & Configure Phonegap

npm install -g phonegap

npm install -g cordova

phonegap create HelloWorld

cd HelloWorld

phonegap run android

@merolhack
merolhack / phpDocumentor.markdown
Last active November 25, 2015 22:27
Install & Configure

pear channel-discover pear.phpdoc.org

pear install phpdoc/phpDocumentor

phpdoc -o HTML:default:default -d /var/www/mysite.com/html/ -t /var/www/mysite.com/docs/

@merolhack
merolhack / JSDoc 3.markdown
Last active November 25, 2015 22:28
Node.JS & Phonegap Instalación y configuración
@merolhack
merolhack / GIT Cheat sheet.sh
Last active November 17, 2015 16:40
Comandos para la administración de repositorios
# Agregar configuración del usuario actual
git config --global user.email "ljmeza@cic.ipn.mx"
git config --global user.name "Lenin Meza"
# Configuración del push
git config --global push.default simple
# Conocer la lista de repositorios
git remote
# Conocer las URL de la lista de repositorios
git remote -v
# obtener información del repositorio
# Composer installation
composer create-project --prefer-dist cakephp/app bookmarker
Installing cakephp/app (3.1.1)
- Installing cakephp/app (3.1.1)
Downloading: 100%
Created project in bookmarker
Loading composer repositories with package information
Installing dependencies (including require-dev)
...
@merolhack
merolhack / CakePHP: Instalación
Created October 19, 2015 22:35
Instalación y configuración de CakePHP
# Instalar mediante composer
composer require cakephp/cakephp:"~3.1"
@merolhack
merolhack / Installl VitualBox over Centos 7.sh
Last active November 19, 2015 00:51
REHL(CentOS & Oracle Linux) 7: Instalación de VirtualBox sobre Centos 7
# Show network interfaces
ifconfig -a
ip link show
# Download repository
cd /etc/yum.repos.d/
wget http://download.virtualbox.org/virtualbox/rpm/rhel/virtualbox.repo
# Update:
yum update -y
# Instalar EPEL:
yum install epel-release -y
@merolhack
merolhack / 11.1.- Instalar GIT
Last active October 2, 2015 17:30
REHL(CentOs & Oracle Linux): Instalar GIT y GitList
# Instalar con YUM
yum install git -y
# Verificar la instalación
git --version
@merolhack
merolhack / 10.1.- Instalar Memcached
Created October 2, 2015 16:56
REHL(CentOs & Oracle Linux): Instalación de Memcached
# Instalar Memcached del repositorio de REMI
yum --enablerepo=remi install memcached -y
# Iniciar servicio
service memcached start
# Iniciar servicio al iniciar el sistema
chkconfig memcached on
@merolhack
merolhack / 5.1.- Instalar PECL
Created October 2, 2015 16:41
REHL(CentOs & Oracle Linux): Instalación de PECL y APC
# versiones de desarrollo de PHP, Apache y PCRE, también GCC y Make para compilar
yum --enablerepo=remi install php-pear php-devel httpd-devel pcre-devel gcc make -y