Skip to content

Instantly share code, notes, and snippets.

View giljr's full-sized avatar
💭
Full Stack Developer with a degree in Computer Engineering.

Gilberto Oliveira Jr giljr

💭
Full Stack Developer with a degree in Computer Engineering.
View GitHub Profile
Term Description
Cisco IOS Cisco Internetworking Operating System
CLI Command Line Interface
EXEC Command line session for the router - can be console modem or telnet
RAM Random Access Memory
NVRAM Non-Volatile RAM used to store the router's configuration
Flash Non-volatile memory used to store IOS software image
Line Properties broker1 Values (mosquitto.br_conf) broker0 Values (mosquitto.conf) Description
210 port 1884 1883 Port to use for the default listener
310 tls_version tlsv1.2 tlsv1.2 the version of the TLS protocol to use for this listener
374 listener - 8883 listener port-number [ip address/host name]
450 cafile - C:\...\mosquitto\certs\ca.crt defines the path to a file containing the CA certificates
454 certfile - C:\...\mosquitto\certs\server.crt Path to the PEM encoded server certificate
457 keyfile - C:\...\mosquitto\certs\server.key Path to the PEM encoded keyfile
651 allow_anonymous false false If `password_file` or `psk_file` is set
669 password_file C:\...\mosquitto\passwordfile.pwd C:\...\mosquitto\passwordfile.pwd If password_file is set the auth_plugin check will be made first
728 acl_file C:\...\mosquitto\acl.acl C:\...\mosquitto\acl.acl If acl_file is set the auth_plugin check will be made first
Term Description
Node Any device that is or can be part of an ESP-MESH network
Root Node The top node in the network
Child Node A node X is a child node when it is connected to another node Y where the connection makes node X more distant from the root node than node Y (in terms of number of connections)
Parent Node The converse notion of a child node
Descendant Node Any node reachable by repeated proceeding from parent to child
Sibling Nodes Nodes that share the same parent node
Connection A traditional Wi-Fi association between an AP and a station A node in ESP-MESH will use its station interface to associate with the softAP interface of another node thus forming a connection The connection process includes the authentication and association processes in Wi-Fi
Upstream Connection The connection from a node to its parent node
Downstream Connection The connection from a node to one of its child nodes
#include <stdio.h>
#include <stdlib.h>
#define TRUE 1
#define FALSE 0
struct Date
{
unsigned int day;
unsigned int month;
#include <stdio.h>
#include <stdlib.h>
#define TRUE 1
#define FALSE 0
struct Date
{
unsigned int day;
unsigned int month;
#include <stdio.h>
#include <stdlib.h>
struct Date
{
unsigned int day;
unsigned int month;
unsigned int year;
unsigned int status;
};
@giljr
giljr / Linear_regression_01.csv
Last active September 4, 2020 23:56
Linear_regression_01.csv
Index (x) Dataset (y) Error Square Error (SE)
1 34 -5 25
2 35 -1 1
3 39 2 4
4 42 3 9
5 43 7 49
6 47 0 0
Average 40 88
/* LEDC (LED Controller) fade example
This example code is in the Public Domain (or CC0 licensed, at your option.)
Unless required by applicable law or agreed to in writing, this
software is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
CONDITIONS OF ANY KIND, either express or implied.
*/
#include <stdio.h>
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "driver/ledc.h"
@giljr
giljr / py_ex_10.csv
Created August 6, 2020 20:33
Python For Engenniging Exercises!
Month energy Consumption(Kwh)
jan 134
feb 126
mar 141
apr 145
may 139
nun 142
Month App Download
jan 127000
feb 133000
mar 129000
apr 134000
may 136000