sudo apt install zsh-autosuggestions zsh-syntax-highlighting zsh
| # wsl-vpn | |
| # erro-wsl | |
| nslookup localhost | |
| sudo vim /etc/wsl.conf | |
| [network] | |
| generateResolvConf = true | |
| sudo vim /etc/resolv.conf | |
| #nameserver 172.29.208.1 | |
| #nameserver 127.0i.0.53 | |
| #options edns0 trust-ad |
| 1) Uma organização tem designado o endereço de rede 193.1.1.0/24 e necessita de 6 sub-redes. | |
| Especifique a máscara de rede | |
| Liste o range de endereço de host de cada sub-rede | |
| Defina o endereço broadcast de cada sub-rede. | |
| Monte a tabela. |
| O sistema GSM (Global System for Mobile Communications ou Sistema Global para Comunicações Móveis) | |
| permite a troca dos dados do usuário entre telefones diferentes, além de proporcionar acesso mais rápido à internet. | |
| Desde 1983 esse sistema é usado como padrão da telefonia celular digital na Europa e nos Estados Unidos |
Thanks everyone for commenting/contributing! I made this in college for a class and I no longer really use the technology. I encourage you all to help each other, but I probably won't be answering questions anymore.
This article is also on my blog: https://emilykauffman.com/blog/install-anaconda-on-wsl
Note: $ denotes the start of a command. Don't actually type this.
x86_64.sh. If I had a 32-bit computer, I'd select the x86.sh version. If you accidentally try to install the wrong one, you'll get a warning in the terminal. I chose `Anaconda3-5.2.0-Li| #!/bin/bash | |
| # Uninstall Script | |
| if [ "${USER}" != "root" ]; then | |
| echo "$0 must be run as root!" | |
| exit 2 | |
| fi | |
| while true; do |
| import requests | |
| import json | |
| import pandas as pd | |
| import os | |
| from time import sleep | |
| from datetime import datetime | |
| while True: | |
| data = requests.get('https://resultados.tse.jus.br/oficial/ele2022/544/dados-simplificados/br/br-c0001-e000544-r.json') |
| #brew install octave | |
| # impl regressão logistica binaria (sem dimensão y) | |
| # return w-> pesos(x: 'matriz input', y: 'quant desejada') | |
| # n -> num amostras | |
| # ne -> num entradas / atributos | |
| pt=100 | |
| x = [0.5*rand(pt,2);2+0.5*rand(pt,2)] | |
| plot(x(:,1),x(:,2),'*') | |
| y = [ones(pt,1);-ones(pt,1)] |
| import hashlib | |
| def encrypt_string(hash_string): | |
| sha_signature = \ | |
| hashlib.sha256(hash_string.encode()).hexdigest() | |
| return sha_signature |
| #!/bin/bash | |
| echo "deb https://dl.bintray.com/sbt/debian /" | sudo tee -a /etc/apt/sources.list.d/sbt.list | |
| sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 2EE0EA64E40A89B84B2DF73499E82A75642AC823 | |
| sudo apt-get update | |
| sudo apt-get install sbt | |