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 / Symfony LTS Installation.sh
Last active December 8, 2015 00:51
Installation and configuration of Symfony LT(2.8)
# curl -LsS http://symfony.com/installer -o ./symfony
# ./symfony new chipotle lts
✔ Symfony 2.8.0 was successfully installed.
# chown -R apache:apache ./chipotle/*
# chmod -R 775 ./chipotle/*
# cd chipotle
# nano app/config/parameters.yml
# /bin/php app/console doctrine:database:create
Created database `symfony_lts` for connection named default
@merolhack
merolhack / JSDoc 3.markdown
Last active November 25, 2015 22:28
Node.JS & Phonegap Instalación y configuración
@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 / 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 / Express and Dust app.markdown
Last active November 25, 2015 22:27
NodeJS & Express

npm install express -g

@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 / 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 / 4.1.- Instalación de PHP
Last active October 19, 2015 22:28
REHL(CentOs & Oracle Linux): Instalación y configuración de PHP
# Instalar PHP de los repositorios de REMI
yum --enablerepo=remi install php php-common php-cli -y
# Reiniciar Apache
service httpd restart
# Comprobar módulos instalados
php -m
# Revisar configuración