Skip to content

Instantly share code, notes, and snippets.

@MistyBlunch
MistyBlunch / BubbleSort.py
Created July 14, 2021 01:02 — forked from andaviaco/BubbleSort.py
Algoritmos de ordenamiento en Python
# -*- 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):
# 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;
}
};
https://neumorphism.io/#55b9f3
https://uxdesign.cc/neumorphism-in-user-interfaces-b47cef3bf3a6
https://css-tricks.com/neumorphism-and-css/
https://codeyarns.com/2013/09/04/how-to-install-cygwin-packages-from-commandline-using-apt-cyg/
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" : "~"
},
https://www.archlinux.org/packages/community/x86_64/os-prober/
To see all your containers pulled, type:
docker ps -a
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
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!
https://linoxide.com/distros/learn-method-install-kali-linux-virtualbox/