Skip to content

Instantly share code, notes, and snippets.

View 4riel's full-sized avatar
🎯
Focusing

Ariel Marti 4riel

🎯
Focusing
View GitHub Profile
using GestionDeExcepciones.Clases;
using NHibernate;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using BibliotecaGITDatos.Catalogos.Genericos;
using BibliotecaGITDatos.Clases.Publicidad;
@4riel
4riel / post.md
Last active August 29, 2015 14:16 — forked from kbond/post.md
Ubuntu LAMP Development Environment Setup

Instalar git:

sudo apt-get install git

Configurar Git:

touch ~/.gitignore_global
git config --global core.excludesfile ~/.gitignore_global
git config --global user.name "Your Name"

git config --global user.email "Your Email"

@4riel
4riel / Example POO for T!
Last active August 29, 2015 14:15
basta chicos
//Por ejemplo queres crear un objeto para crear un gatito que imprima cosas
//Creamos la clase
class Gato{
private $nombre; //esto es un atributo privado, donde almacenaremos su nombre obviamente :p
//esta funcion se ejecuta cuando se instancia el objeto (cuando se crea con un new), se llama constructor.
function __construct($in_nombre){
$this->nombre = $in_nombre; //Aca digo que el valor pasado por parametro va a ser igual al nombre.
}