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"
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; |
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"
//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. | |
} |