Skip to content

Instantly share code, notes, and snippets.

View nachocodexx's full-sized avatar
🚀
Working from home

Nacho Castillo nachocodexx

🚀
Working from home
View GitHub Profile
@nachocodexx
nachocodexx / ESPWebForm.ino
Created February 8, 2018 00:02 — forked from bbx10/ESPWebForm.ino
Demonstrate using an http server and an HTML form to control an LED. The http server runs on the ESP8266.
/*
* Demonstrate using an http server and an HTML form to control an LED.
* The http server runs on the ESP8266.
*
* Connect to "http://esp8266WebForm.local" or "http://<IP address>"
* to bring up an HTML form to control the LED connected GPIO#0. This works
* for the Adafruit ESP8266 HUZZAH but the LED may be on a different pin on
* other breakout boards.
*
* Imperatives to turn the LED on/off using a non-browser http client.
@nachocodexx
nachocodexx / README-Template.md
Created June 30, 2018 05:02 — forked from PurpleBooth/README-Template.md
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

@nachocodexx
nachocodexx / gist:5129e8eb2640591e376ac605060b75cd
Created August 1, 2020 02:09 — forked from rxaviers/gist:7360908
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue:
# Importamos React
import RC from 'react'
# Importamos otro FunctionComponent el cual sirve como base.
import { BaseInfo } from './BaseInfo.page'
# Importar imagen de PDF (Recuerda agregar su imagen al folder images/)
import pdf from '../../images/distributions/pdf.png'
# Importar imagen de CDF (Recuerda agregar su imagen al folder images/)
import cdf from '../../images/distributions/pdf.png'
# Componente de React(Una simple funcion que retorna un HTML Element u otros FunctionComponents)
@nachocodexx
nachocodexx / erik-meijer-books.md
Created January 26, 2021 15:09
Erik Meijer’s List of Recommended Books

Erik Meijer’s List of Recommended Books

  1. Logic and Computation: Interactive Proof with Cambridge LCF (Cambridge Tracts in Theoretical Computer Science)
  2. Mathematical Theory of Programme Correctness (Prentice-Hall International series in computer science)
  3. The Haskell School of Expression: Learning Functional Programming through Multimedia
  4. LaTeX: A Document Preparation System (2nd Edition)
  5. Denotational Semantics
  6. Denotational Semantics: The Scott-Strachey Approach to Programming Language Theory
  7. Programs and Machines
  8. The Denotational Description of Programming Languages: An Introduction
@nachocodexx
nachocodexx / cipher_data.csv
Created February 19, 2021 08:08
Tiempos de ejecucion de cifradores simetricos.
FILE_NAME FILE_SIZE TIME KDF CIPHER TRANSFORMATION KEY_LENGTH
650.txt 1048575 381 PBKDF2WithHmacSHA1 DES DES/CBC/PKCS5Padding 64
916.txt 1048575 131 PBKDF2WithHmacSHA1 DES DES/CBC/PKCS5Padding 64
276.txt 1048575 102 PBKDF2WithHmacSHA1 DES DES/CBC/PKCS5Padding 64
1483.txt 1048575 87 PBKDF2WithHmacSHA1 DES DES/CBC/PKCS5Padding 64
1122.txt 1048575 87 PBKDF2WithHmacSHA1 DES DES/CBC/PKCS5Padding 64
1061.txt 1048575 82 PBKDF2WithHmacSHA1 DES DES/CBC/PKCS5Padding 64
1297.txt 1048575 79 PBKDF2WithHmacSHA1 DES DES/CBC/PKCS5Padding 64
219.txt 1048575 74 PBKDF2WithHmacSHA1 DES DES/CBC/PKCS5Padding 64
1067.txt 1048575 79 PBKDF2WithHmacSHA1 DES DES/CBC/PKCS5Padding 64
@nachocodexx
nachocodexx / test.env
Last active February 20, 2021 06:03
Variables de entorno para el contendore virtual del laboratorio 1
CIPHER=AES
HASH_FUNCTION=SHA512
KEY_LENGTH=256
ITERATIONS=1000
OPERATION_MODE=CBC
CSV_OUTPUT_PATH=/result
DATA_FOLDER_PATH=/data
DECRYPT_FOLDER_PATH=/decrypted
ENCRYPT_FOLDER_PATH=/encrypted
CIPHER_MODE=0
@nachocodexx
nachocodexx / operations.csv
Last active March 1, 2021 05:33
Conjunto de datos del proyecto final de analisis de datos.
We can't make this file beautiful and searchable because it's too large.
OPERATION_ID,TYPE,USER_ID,PRODUCTION,CONSUME,CONSUME_OTHERS,USER_VOLUME,USER_DENSITY,USER_ROLE,FILE_ID,FILE_SIZE,TOPIC_ID,TOPIC_VOLUME,TOPIC_DENSITY,TOPIC_ROLE
1,UPLOAD,43114731,0.011119759813188036,0.0,0.23351495607694875,1764,9.966666668653488,Gamma,100,4,17,5167328,47838.2333265692,Alpha
2,DOWNLOAD,1405534545,0.0,0.022239519626376072,0.0,0,0.0,,100,4,17,5167328,47838.2333265692,Alpha
2,DOWNLOAD,1405534545,0.0,0.022239519626376072,0.0,0,0.0,,100,4,17,5167328,47838.2333265692,Alpha
3,DOWNLOAD,640881322,0.0,0.011119759813188036,0.0,0,0.0,,100,4,17,5167328,47838.2333265692,Alpha
4,DOWNLOAD,1416963334,0.0,0.011119759813188036,0.0,0,0.0,,100,4,17,5167328,47838.2333265692,Alpha
5,DOWNLOAD,2189419908,0.0,0.033359279439564106,0.0,0,0.0,,100,4,17,5167328,47838.2333265692,Alpha
5,DOWNLOAD,2189419908,0.0,0.033359279439564106,0.0,0,0.0,,100,4,17,5167328,47838.2333265692,Alpha
5,DOWNLOAD,2189419908,0.0,0.033359279439564106,0.0,0,0.0,,100,4,17,5167328,47838.2333265692,Alpha
6,DOWNLOAD,1664876423,0.0,0.011119759813188036,
@nachocodexx
nachocodexx / nodes_neighbors.json
Created February 28, 2021 08:19
Producers, files and topics neighbors.
[
{
"producer": {
"uid": 7686242,
"role": "Gamma",
"node_id": 179
},
"files": [
180
],
@nachocodexx
nachocodexx / alice384.cer
Created March 28, 2021 21:58
Digital Certificate uising Elliptic Curve with 384-bit key length
Alias name: alice384
Creation date: Mar 27, 2021
Entry type: PrivateKeyEntry
Certificate chain length: 1
Certificate[1]:
Owner: C=MX-SLP,ST=San Luis Potosi,L=Mexico,O=Unknown,OU=Unknown,CN=Alice
Issuer: C=MX-SLP,ST=Sa