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
| df -h |
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
| du -h -d1 | |
| du -h -d1 / |
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
| En mac hay un problema cuando quieres ejecutar un script php desde consola, aca la solucion: | |
| cd /var | |
| sudo mkdir mysql | |
| cd mysql | |
| sudo ln -s /private/tmp/mysql.sock mysql.sock | |
| Este comando asume que el directorio /var/mysql/ no existe todavía (lo creará utilizando este comando). | |
| Entonces moverá el archivo sock e un lugar donde el lenguaje de script (especificamente PHP) lo pueda buscar. | |
| For #2, this is a simple fix. Often MySQL will not be running after OS X crashes, and is rebooted, for example. | |
| Para reiniciar el servidor MySQL nuevamente, tipea este comando en Terminal: | |
| cd /usr/local/mysql |
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
| sudo /sbin/route -n add 192.168.1.3 192.168.113.3 | |
| // donde el primero es la IP de la maquina a la que quiero acceder y el segundo es el gateway por donde vas a acceder |
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
| $smtpConf = array( | |
| 'auth' => 'login', | |
| 'ssl' => 'ssl', | |
| 'port' => '465', | |
| 'username' => 'perucit@gmail.com', | |
| 'password' => 'perucit2012' | |
| ); | |
| $transport = new Zend_Mail_Transport_Smtp('smtp.gmail.com', $smtpConf); |
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
| # listar los branchs por ordenados por fecha commit , y autor | |
| git for-each-ref --sort=-committerdate refs/heads/ --format='%(refname:short) %(committerdate:short)%(authorname)' |
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 meld | |
| # aptitude install meld | |
| ### Configurar herramienta de comparación | |
| $ git config --global diff.tool meld | |
| ### Configurar herramienta de fusión | |
| $ git config --global merge.tool meld |
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
| 2000 – Ley 27291. Ley que modifica el Código Civil permitiendo la utilización de los medios electrónicos para la manifestación de voluntad y la utilización de la firma electrónica | |
| Artículo 1374.- Conocimiento y contratación entre ausentes | |
| La oferta, su revocación, la aceptación y cualquier otra declaración contractual dirigida a determinada persona se consideran conocidas en el momento en que llegan a la dirección del destinatario, a no ser que este pruebe haber- se encontrado, sin su culpa, en la imposibilidad de conocerla. | |
| Si se realiza a través de medios electrónicos, ópticos u otro análogo, se presumirá la recepción de la declaración contractual, cuando el remitente reciba el acuse de recibo. | |
| 2006 – TLC Perú/USA – Capítulo de Comercio Electrónico |
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
| dojo |
NewerOlder