Skip to content

Instantly share code, notes, and snippets.

View aduartem's full-sized avatar
馃彔
Working from home

Andr茅s Duarte M. aduartem

馃彔
Working from home
View GitHub Profile
@aduartem
aduartem / get_php_path.md
Last active May 21, 2022 19:39
How to get PHP installation path

How to get PHP installation path

$ which php
@aduartem
aduartem / symfony.md
Last active July 9, 2017 23:16
Symfony

Symfony

Instalador Symfony

# Sistemas Linux y Mac OS
$ sudo mkdir -p /usr/local/bin
$ sudo curl -LsS https://symfony.com/installer -o /usr/local/bin/symfony
$ sudo chmod a+x /usr/local/bin/symfony
@aduartem
aduartem / angular2.md
Last active May 21, 2022 19:38
Angular 2

QuickStart

$ git clone https://github.com/angular/quickstart.git quickstart
$ cd quickstart
$ npm install
$ npm start

Se levantar谩 el sitio en http://localhost:3000/

@aduartem
aduartem / apuntes_mongodb.md
Last active May 21, 2022 19:38
Apuntes MongoDB

Apuntes MongoDB

Instalaci贸n de MongoDB 4 en CentOS 7 / RHEL 7

Cambiamos a usuario root:

$ su -
@aduartem
aduartem / perl_mongodb.md
Last active May 21, 2022 19:38
Perl y MongoDB

Perl y MongoDB

Driver

CPAN

Github

Instalaci贸n del driver

@aduartem
aduartem / mean_stack.md
Last active May 21, 2022 19:01
MEAN Stack

MEAN Stack

Prerrequisitos

  • Xcode y Homebrew (En el caso de Mac OS X)
  • Git
  • Node.js & npm
  • MongoDB
  • Bower
  • Grunt
@aduartem
aduartem / virtual_host_apache.md
Last active May 21, 2022 19:01
Como crear un Virtual Host de Apache en Ubuntu 14.04

Como crear un Virtual Host en Apache

1.- Crear carpeta que almacenara el sitio web

$ sudo mkdir -p /var/www/andresduartem.cl/public/

2.- Habilitar mod_rewrite

@aduartem
aduartem / temas_sublime.md
Last active May 21, 2022 19:00
Los mejores temas para Sublime Text

Los mejores temas para sublime text 3

  • Material Theme
  • Theme - Spacegray
  • Boxy
  • Agila
  • Lanzhou
  • Sunrise
  • Kronuz
  • Autumn
@aduartem
aduartem / useradd.sh
Created October 8, 2016 20:10
Herramienta para crear usuario en Debian
#!/bin/bash
# Autor: Andr茅s Duarte M.
# Crear usuario en linux
echo "Ingresa nombre de usuario:"
read user
useradd $user
passwd $user