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
| # -*- coding: utf-8 -*- | |
| from time import time | |
| def bubbleSort(lista): | |
| global comparaciones | |
| n = len(lista) | |
| for i in xrange(1, n): | |
| for j in xrange(n-i): |
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
| # Ejemplooooo de aquí https://stackoverflow.com/questions/52097039/how-do-i-change-stdcout | |
| class print{ | |
| public: | |
| int a; | |
| void operator<<(print &obj){ | |
| cout<<obj.a<<endl; | |
| } | |
| }; |
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
| https://neumorphism.io/#55b9f3 | |
| https://uxdesign.cc/neumorphism-in-user-interfaces-b47cef3bf3a6 | |
| https://css-tricks.com/neumorphism-and-css/ |
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
| https://codeyarns.com/2013/09/04/how-to-install-cygwin-packages-from-commandline-using-apt-cyg/ |
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
| https://www.belter.io/add-git-bash-to-windows-terminal/ | |
| { | |
| "guid": "{abc00000-0000-0000-0000-000000000000}", | |
| "name": "Git-Bash", | |
| "commandline": "%PROGRAMFILES%\\Git\\bin\\bash.exe", | |
| "icon": "%PROGRAMFILES%\\Git\\mingw64\\share\\git\\git-for-windows.ico", | |
| "startingDirectory" : "~" | |
| }, |
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
| https://www.archlinux.org/packages/community/x86_64/os-prober/ |
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
| To see all your containers pulled, type: | |
| docker ps -a |
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
| Follow this guide :https://docs.docker.com/docker-for-windows/ | |
| Or run this steps: | |
| 1. Pull and run nginx: https://hub.docker.com/_/nginx/ | |
| 2. Run this command: docker run --detach --publish 80:80 --name webserver nginx | |
| 3. To watch your local you will need to know your "docker-machine ip" | |
| so you need run: docker-machine ip default | |
| 4. Then type in your fav browser: [docker-machine ip]:[exposed port(in this case 80)] | |
| * if you want to stop the process you'll run: docker container stop webserver | |
| * To remove the containers you need to type: docker container rm webserver or docker rm --force webserver | |
| 5. Have fun and sleep pls uwu |
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
| To run ubuntu terminal in docker: | |
| 1. Pull image from https://hub.docker.com/_/ubuntu | |
| 2. Run: winpty docker run -i -t ubuntu bash (Win) | |
| 3. Have fun! |
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
| https://linoxide.com/distros/learn-method-install-kali-linux-virtualbox/ |
NewerOlder