This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-Instalacion | |
1- sudo apt-get update | |
2- gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 | |
4- sudo apt-get install curl | |
5- \curl -L https://get.rvm.io | bash -s stable --ruby | |
6- source ~/.rvm/scripts/rvm | |
7- gem install rubygems-update | |
8- update_rubygems | |
9- gem install rails | |
10- sudo apt-get install nodejs |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
COMANDOS POSTGRESQL | |
- Instalar Postgresql en Ubuntu | |
sudo apt-get install postgresql | |
- Instalar una libreria para desarrollo | |
sudo apt-get install libpq-dev | |
- Ingresar con usuario a Postgres | |
psql -U username -W -h licalhost basename |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ALGORITMOS RESUELTOS | |
-------------------------------------------------------------------------- | |
T1.GIF TEMA 1 | |
-------------------------------------------------------------------------- | |
Bucles y tomas de decision | |
-------------------------------------------------------------------------- | |
1.-Hacer un pseudocodigo que imprima los numeros del 1 al 100. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Hacer que la MAC Hable | |
-> say loque quieras que diga | |
Juegos Clasicos | |
ls /usr/share/emacs/22.1 /lisp/play | |
emacs | |
Presionamos (ESC) x y el nombre del juego que quieras | |
NOta: Para saber tu emacs escribe este codigo en la terminal cd /usr/share/emacs/ presionas enter, despues escribe ls |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This is a super simple service for generating different HTTP codes. | |
It's useful for testing how your own scripts deal with varying responses. | |
Just add the status code you want to the URL, like this: httpstat.us/200 | |
We'll return a response like this: | |
HTTP/1.1 {status code} {status description} | |
Content-Type: text/plain | |
Content-Length: {something} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sitio web de Emmet: http://emmet.io/ | |
Documentaci贸n de Emmet: http://docs.emmet.io/ | |
1. html:5 | |
2. header>nav>ul>li>*5>a:link | |
3. section.miClase#miId | |
4. a:link | |
5. section{Contenido del Section} | |
6. section[title="contenido del title"]{Contenido del Section} | |
7. header>nav>ul>li>*5>a:link[target="_blank"]{Menu #$} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
====================== AYUDA ======================= | |
La siguiente lista representa las combinaciones posibles. | |
IMPORTANTE: Los campos entre [] para las tablas en la base de datos no pueden contener espacios. | |
Modelo: | |
- php gen.php m Nombre | |
Modelo y Tabla en Base de Datos: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
############################################# | |
# Push de la rama actual | |
git push origin $rama_actual | |
############################################# | |
# Volver a un commit anterior, descartando los cambios | |
git reset --HARD $SHA1 | |
############################################# | |
# Ver y descargar Ramas remotas |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apt-get update && apt-get upgrade | |
apt-get install apache2 | |
systemctl enable apache2 | |
apt-get install mysql-server | |
mysql_secure_installation | |
systemctl enable mysql | |
apt-get install php7.0 libapache2-mod-php7.0 php7.0-mysql | |
sudo apt-get install php7.0-mcrypt php7.0-curl php7.0-gd php7.0-imap php7.0-mbstring php7.0-mcrypt | |
systemctl restart apache2 | |
apt-get install leafpad |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Instalar para correr CLI | |
- sudo apt install mono-runtime | |
Ruta de Instalacion Ubuntu | |
- cd /usr/lib/python3/dist-packages/odoo | |
Modulos e Instalaciones | |
- /usr/lib/python3/dist-packages/odoo/addons | |
Crear Scaffold de Modulo Odoo |
OlderNewer