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/env python | |
| # details on rabbitMQ password hashing | |
| # https://www.rabbitmq.com/passwords.html#computing-password-hash | |
| from __future__ import print_function | |
| import base64 | |
| import os | |
| import hashlib | |
| import struct | |
| import getpass |
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 | |
| # Run this script as sudo | |
| sudo apt-get update | |
| sudo apt-get install -y apt-transport-https ca-certificates curl gnupg2 software-properties-common | |
| curl -fsSL https://download.docker.com/linux/debian/gpg | sudo apt-key add - | |
| sudo apt-key fingerprint 0EBFCD88 | |
| sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/debian $(lsb_release -cs) stable" | |
| sudo apt-get update |
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 | |
| # Genera cadenas alfanuméricas aleatorias. | |
| # Tamaño de la cadena a generar. | |
| STR_LEN=32 | |
| # Genera una cadena de 32 caracteres alfanuméricos (Mayúsculas y minúsculas) | |
| STRING_1=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w $STR_LEN | head -n 1) | |
| # Genera una cadena de 32 caracteres alfanuméricos (sólo minúsculas) |
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
| public class Img2zpl : Component, IBindableComponent | |
| { | |
| private int blackLimit=125; | |
| private int total; | |
| private int widthBytes; | |
| private bool compressHex= false; | |
| public int BlacknessLimitPercentage | |
| { | |
| get |
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
| /****************************************************** | |
| * main.c | |
| * | |
| * Program Name: software-spi-master | |
| * Date: 2017-12-29 | |
| * Author: Alfredo Orozco | |
| * | |
| * Description: | |
| * Ejemplo de uso de SPI modo maestro por software | |
| * |
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
| /*************************************************************************************** | |
| * | |
| * Archivo: timer0-phasecorrectpwm-m16.c | |
| * Autor: Alfredo Orozco de la Paz | |
| * Fecha: 2017-12-24 | |
| * Procesador: ATmega16/32 | |
| * Frecuencia: 16 MHz | |
| * Compilador: GNU avr-gcc | |
| * |
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
| /*************************************************************************************** | |
| * Proyecto: timer0-fastpwm-m16 | |
| * | |
| * Archivo: timer0-fastpwm-m16.c.c | |
| * Autor: Alfredo Orozco de la Paz | |
| * Fecha: 4 Enero del 2015 | |
| * Procesador: ATmega16/32 | |
| * Frecuencia: 8 MHz | |
| * Compilador: GNU avr-gcc | |
| * |
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
| /*************************************************************************************** | |
| * Archivo: timer0-ctc-IR | |
| * | |
| * Autor: Alfredo Orozco de la Paz | |
| * Fecha: Sep 16, 2014 | |
| * Procesador: ATmega16/32 | |
| * Frecuencia: 8 MHz | |
| * Familia: AVR-mega | |
| * Compilador: GNU avr-gcc | |
| * |
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
| /*************************************************************************************** | |
| * | |
| * Archivo: usartmega16.c | |
| * | |
| * Autor: Alfredo Orozco de la Paz | |
| * Fecha: 27/07/2014 | |
| * e-mail: alfredoopa@gmail.com | |
| * | |
| * Procesador: ATmega16 | |
| * Frecuencia: 8 MHz |
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
| /*************************************************************************************** | |
| * | |
| * Archivo: usartmega16.c | |
| * | |
| * Autor: Alfredo Orozco de la Paz | |
| * Fecha: 27/07/2014 | |
| * e-mail: alfredoopa@gmail.com | |
| * | |
| * Procesador: ATmega16 | |
| * Frecuencia: 8 MHz |
NewerOlder