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
| mkdir -p ~/src/pafy | |
| git clone [email protected]:mps-youtube/pafy.git ~/src/pafy | |
| cd ~/src/pafy | |
| MPSYT=`which mpsyt` | |
| MPSYT_PYTHON=`head -1 $MPSYT | cut -d'!' -f 2` | |
| $MPSYT_PYTHON -m pip install . | |
| #source https://github.com/mps-youtube/mps-youtube/issues/986 |
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
| <?php | |
| $fechora = date("YmdHis");$o=""; | |
| $stdin = ""; | |
| while (false !== ($line = fgets(STDIN))) { | |
| $stdin.=$line; | |
| } | |
| list($H, $B) = explode(PHP_EOL.PHP_EOL, $stdin); | |
| $header = explode(PHP_EOL, $H); | |
| $body = explode(PHP_EOL, $B); | |
| foreach($header as $eachHeader){ |
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
| rm -f /etc/localtime | |
| ln -sf /usr/share/zoneinfo/America/Mexico_City /etc/localtime |
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
| inxi -Fxzn |
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
| lxappearance | |
| change icon set |
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
| var myElement = document.getElementById('pasteElement'); | |
| myElement.onpaste = function(e) { | |
| var pastedText = undefined; | |
| if (window.clipboardData && window.clipboardData.getData) { // IE | |
| pastedText = window.clipboardData.getData('Text'); | |
| } else if (e.clipboardData && e.clipboardData.getData) { | |
| pastedText = e.clipboardData.getData('text/plain'); | |
| } | |
| alert(pastedText); // Process and handle text... | |
| return false; // Prevent the default handler from running. |
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
| Hints: | |
| - El profesor indica que es mejor no tener swap | |
| - Al instalar oracle en el apartado de Servers -> System Administration Tools, por default no viene ninguno seleccionado, por lo que hay que manualmente agregar: oracle-rdbms-server-12cR1 | |
| Profesor: Conde | |
| https://loquecallamoslosdba.wordpress.com/ | |
| RTO Recovery Time Objective: tiempo en el cual yo espero recuperarme | |
| RPO Recovery Point Objective: tiempo que transcurre entre el momento del desastre y el último punto de restauración. | |
| Banco RPO ~= 0 | |
| que tanto puedo perder |
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
| wp post-type list : Muestra los diferente tipos de posts | |
| wp cap list bookmify-employee --show-grant : Muestra las capaidades de los usuarios que cada plugin les asigna | |
| wp user list | |
| wp post list | |
| wp db cli | |
| wp plugin list | |
| wp plugin install --activate xxxx | |
| wp plugin uninstall --deactivate xxxx | |
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
| Seguridad | |
| Daniel Guerrero | |
| Hardening Servidores | |
| Exámen, Practicas, Proyecto y Tareas: %25 | |
| Mejores prácticas | |
| SSH | |
| Contraseñas | |
| HA |
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 file has been auto-generated by i3-config-wizard(1). | |
| # It will not be overwritten, so edit it as you like. | |
| # | |
| # Should you change your keyboard layout somewhen, delete | |
| # this file and re-run i3-config-wizard(1). | |
| # | |
| # i3 config file (v4) | |
| # | |
| # Please see http://i3wm.org/docs/userguide.html for a complete reference! |