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
| #!/bin/bash | |
| PORT="5555" | |
| DEVICE=$(adb devices | grep "device$") | |
| echo "Esperando por un dispositivo..." | |
| adb wait-for-device | |
| # Revisamos si se está conetado a DEBUG USB | |
| if [ -z "$DEVICE" ]; |
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
| /** | |
| * Ad Skip Script - Javascript | |
| */ | |
| /** | |
| * Ad Skip Script - Javascript | |
| */ | |
| window.adSkipper = setInterval(() => { | |
| const btn = document.querySelector('.ytp-skip-ad-button') | |
| const video = document.querySelector('video') |
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
| #!/usr/bin/python3 | |
| # -*- coding: utf-8 -*- | |
| import warnings | |
| class Action(object): | |
| """Una acción""" | |
| def __init__(self): | |
| super(Action, self).__init__() | |
| self.to_do = None |
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
| #!/usr/bin/python3 | |
| # -*- coding: utf-8 -*- | |
| # import the cool libray | |
| import RPi.GPIO as GPIO | |
| # others | |
| import time | |
| import argparse | |
| import threading | |
| import signal |
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
| package ext.domain.subdomain.appname; | |
| import java.net.Socket; | |
| import java.io.IOException; | |
| import java.util.ArrayList; | |
| import android.util.Log; | |
| /** | |
| * Esta clase define un objeto rebuscador de direcciones IP que |
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
| #!/usr/bin/python3 | |
| # -*- coding: utf-8 -*- | |
| from flask import request, Flask | |
| from lstm_trabajador import trabajar | |
| app = Flask(__name__) | |
| @app.route("/preguntar", methods=["POST"]) |
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
| #!/bin/bash | |
| # Ejecuta Telegram, multi cuenta, ja. | |
| # | |
| # En `TELEGRAM_BIN` pones la ruta del binario (o el comando) de Telegram. | |
| # Si lo descargas de la página oficial, ya tú sabrás donde lo has | |
| # guardado. Si instalaste desde paquetes de tu distribución, entonces | |
| # pon el comando. Qué si no estoy mal: | |
| # https://blog.desdelinux.net/como-instalar-telegram-en-linux/ | |
| # | |
| # ... |
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
| /** | |
| * @file segundo.c | |
| * @brief Segundo desafío de programación para implementación de CRC-8 | |
| * | |
| * | |
| * Segundo programa que atiened a: | |
| * Elabore un programa que permita calcular el CRC de una cadena de datos que | |
| * se va a transmitir, usando para ello el siguiente polinomio | |
| * generador (CRC-8): | |
| * |
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
| /******************************************************************************/ | |
| /** | |
| * @file primero.c | |
| * @brief Primer desafío de programación para bit de paridad. | |
| * | |
| * | |
| * Primer programa que atiende a: | |
| * Elabore un programa que permita calcular el bit de paridad de una cadena de | |
| * datos aplicando dos métodos: | |
| * (i) Comprobación simple de paridad; |
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
| #!/usr/bin/python3 | |
| # -*- coding: utf-8 -*- | |
| """ | |
| Implementación de **algoritmo genético** para la obtención de una cadena de texto. | |
| En este módulo se define la clase Creatura y Población, siendo el primero el que | |
| representa a un "ser" que evoluciona y el segundo es el encargado de administrar | |
| la "vida" de estas creaturas. | |
| :author: https://github.com/David256 |