I hereby claim:
- I am macknilan on github.
- I am rugalde (https://keybase.io/rugalde) on keybase.
- I have a public key whose fingerprint is 6D2F 0C4B 07C1 998A D98B 30DB 7315 5FDB E58F 37B5
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
""" | |
EJERCICIO DEL DÍA 5 NÚMERO 5 JUEVES | |
""" | |
def validate_until_input_between_5_and_50_characters(input_data): | |
""" | |
TODO | |
""" | |
while True: |
# WSL | |
1. Listar las imagenes | |
- `wsl -l -v` | |
- `wsl --list --verbose` | |
- `wsl --list -v` | |
- `wsl --list` | |
2. Si el contenedor se esta ejecutando se tiene que parar | |
- `wsl --shutdown` | |
- `wsl -t Ubuntu` | |
3. Crear una carpeta para guardar el respaldo de WSL2 en la unidad a la que desea transferir. |
✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨
YouTube Setup Microsoft SQL Server on Ubuntu 20.04
🔗 https://youtu.be/x6pYoWwtVAY
✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨
SUPPORT MY WORK - Everything Helps Thanks
YouTube 🔗 https://YouTube.GetMeTheGeek.com
Buy Me a Coffee ☕ https://www.buymeacoffee.com/getmethegeek
Hire US 🔗 https://getmethegeek.com
Digital Ocean referral 🔗 https://tiny.cc/plxdigitalocean
<?php | |
/* conversor_divisas() | |
* | |
* Conversor de moneda usando la API de Google | |
*/ | |
function currency($from, $to, $amount) | |
{ |
sudo apt update
sudo apt install software-properties-common
sudo dpkg --add-architecture i386
wget -nc https://dl.winehq.org/wine-builds/winehq.key
sudo apt-key add winehq.key
How to generate graphic model Django with PyGraphViz?
sudo apt-get install graphviz libgraphviz-dev pkg-config
virtualenv -p python2.7 .venv
source .venv/bin/activate
pip install -r requirements.txt
pip install pygraphviz
pip uninstall pyparsing
pip install -Iv https://pypi.python.org/packages/source/p/pyparsing/pyparsing-1.5.7.tar.gz#md5=9be0fcdcc595199c646ab317c1d9a709
#! /usr/local/bin/python3 | |
"""Secrets generator.""" | |
import argparse | |
import base64 | |
import hashlib | |
import secrets | |
upstream myapp { | |
server 0.0.0.0:8000; | |
} | |
limit_req_zone $binary_remote_addr zone=admin:10m rate=1r/s; # 10MB DE ESPACIO PARA IP's QUE INTENTAN ENTRAR A /admin 1 SOLICITUD/s | |
include /etc/nginx/blockuseragents.rules; # SE INCLUYE EL ARCH PARA BLOQUEAR HTTP Agents | |
limit_conn_zone $binary_remote_addr zone=addr:5m; # LIMIT THE NUMBER OF CONNECTIONS BY IP IN NGINX | |
server { |
upstream myapp { | |
server 0.0.0.0:8000; | |
} | |
server { | |
listen 80; # EL PUERTO EN EL QUE ESTOY ESCUCHANDO EN EL SERVIDOR | |
listen [::]:80 default_server ipv6only=on; | |
server_name muebleria.rodolfougalde.xyz; | |
server_tokens off; #NO DESPLEGAR LA VERSION DE NGINX EN ERROR LOGS | |
access_log /var/log/nginx/myapp.log; # LOG DE LOS ERRORES |