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 / jenkins.md
Last active May 21, 2022 19:42
Jenkins

Jenkins

Esta guía está orientada a distribuciones Debian/Ubuntu.

Inslación de Java (JDK)

JDK 8

$ sudo apt-get update
@aduartem
aduartem / Ubuntu 18.04.md
Last active August 23, 2018 20:43
Instalación de programas en Ubuntu 18.04

Ubuntu 18.04

Luego de instalar Ubuntu ejecutar el siguiente comando:

$ sudo apt-get update

Terminator

@aduartem
aduartem / Angular_CLI.md
Last active May 21, 2022 19:43
Angular CLI

Angular CLI

Instalación

npm

$ sudo apt-get install npm
@aduartem
aduartem / MAMP.md
Last active May 21, 2022 19:43
Instalando apache2, php5 y mysql en Mac OS X Sierra

MAMP (Mac OS X, Apache, MySQL, PHP)

Tanto PHP 5.6 como Apache 2 están pre-instalados en Mac OS X Sierra, pero es necesario realizar algunas configuraciones previamente.

Primero que todo abrimos una terminal y cambiamos a usuario root:

$ sudo su -
@aduartem
aduartem / Perro.js
Created March 14, 2017 15:51
Objeto Perro
var Perro = {
nombre: '',
raza: '',
constructor: function(nombre, raza){
this.nombre = nombre;
this.raza = raza;
},
getNombre: function(){
return this.nombre;
},
@aduartem
aduartem / ejemplo_cursores.md
Last active May 21, 2022 19:43
PL/SQL - Ejemplo de cursores en procedimientos almacenados Oracle (11g)
CREATE OR REPLACE PROCEDURE SP_PRUEBA (
  RESULTADO OUT NUMBER,  
  MSG OUT VARCHAR2
) AS 

vERRORMSG VARCHAR2(250);
pROL_ID NUMBER;

BEGIN
@aduartem
aduartem / Virtualbox.md
Last active May 21, 2022 19:43
Virtualbox

Virtualbox

Compartir carpeta desde sistema anfitrión al sistema huésped

Instalación de Guest Additions

Tutorial

Otra forma de instalarlo es:

@aduartem
aduartem / lamp_on_elementary_os.md
Last active May 21, 2022 19:39
Install LAMP stack on Elementary OS

Install LAMP stack on Elementary OS

Install Apache

$ sudo apt-get install apache2

Install MySQL Server and MySQL Client

@aduartem
aduartem / PhpStorm-Tips.md
Last active May 21, 2022 19:39
PhpStorm Tips

PhpStorm Tips

Atajos de teclado Mac OS

Ir a un archivo: Cmd + Shift + O

Comentar/Descomentar bloques de código: Cmd + shift + menos (-)

Comentar/Descomentar líneas de código: Cmd + menos (-)

@aduartem
aduartem / start_mysql_osx.md
Created February 15, 2017 02:15
On OS X to start/stop/restart MySQL pre 5.7 from the command line:

On OS X to start/stop/restart MySQL pre 5.7 from the command line:

$ sudo /usr/local/bin/mysql.server start

$ sudo /usr/local/bin/mysql.server stop

$ sudo /usr/local/bin/mysql.server restart