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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8" /> | |
<meta name="viewport" content="width=, initial-scale=1.0" /> | |
<title>Agencia de viajes</title> | |
<link rel="stylesheet" type="text/css" href="Viajes.css" /> | |
</head> | |
<body> | |
<nav> |
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
// Creado ChepeCarlos | |
// Tutorial Completo en https://nocheprogramacion.com | |
// Canal Youtube https://youtube.com/alswnet?sub_confirmation=1 | |
template<class T> inline Print &operator <<(Print &obj, T arg) { | |
obj.print(arg); | |
return obj; | |
} | |
#define EEPROM_SIZE 12 |
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
# Place your local configuration in /etc/mosquitto/conf.d/ | |
# | |
# A full description of the configuration file is at | |
# /usr/share/doc/mosquitto/examples/mosquitto.conf.example | |
pid_file /var/run/mosquitto.pid | |
persistence true | |
persistence_location /var/lib/mosquitto/ |
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
template<class T> inline Print &operator <<(Print &obj, T arg) { | |
obj.print(arg); | |
return obj; | |
} | |
#include "CTBot.h" | |
CTBot miBot; | |
#include "token.h" |
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
#include <EEPROM.h> | |
#define CantidadLed 3 | |
int Led[CantidadLed] = {5, 4, 13}; | |
int Espera[CantidadLed] = {10, 8, 2}; | |
String ColorSemaforo[CantidadLed] = {"Rojo", "Verde", "Amarillo"}; | |
#define Rojo 0 | |
#define Verde 1 | |
#define Amarillo 2 |
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
int Siglo = 6, Anno_4 = 5, Anno_7 = 1; | |
int Suma, Modulo; | |
int Dia, Mes; | |
int clave; | |
const int EsperaLed = 3000; | |
#define CantidadLed 7 | |
const int claveMes[12] = {0, 3, 3, 6, 1, 4, 6, 2, 5, 0, 3, 5}; | |
const int Led[CantidadLed] = {8, 7, 6, 5, 4, 3, 2}; | |
const String NombreDia[7] = {"Domingo", "Lunes", "Martes", "Miercoles", "Jueves", "Viernes", "Sabado"}; |
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
//Bluetooth | |
#include "BluetoothSerial.h" | |
#if !defined(CONFIG_BT_ENABLED) || !defined(CONFIG_BLUEDROID_ENABLED) | |
#error Bluetooth is not enabled! Please run `make menuconfig` to and enable it | |
#endif | |
BluetoothSerial SerialBT; | |
#define Apagado 0 | |
#define Encendido 1 | |
#define Interminente 2 | |
struct SuperLed { |
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
#include "BluetoothSerial.h" | |
#include "Wire.h" | |
#if !defined(CONFIG_BT_ENABLED) || !defined(CONFIG_BLUEDROID_ENABLED) | |
#error Bluetooth is not enabled! Please run `make menuconfig` to and enable it | |
#endif | |
BluetoothSerial SerialBT; | |
const int MPU_ADDR = 0x68; |
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
import bpy, os | |
bl_info = { | |
"name": "pollo con papas", | |
"category": "Object", | |
} | |
def ShowMessageBox(message = "", title = "Message Box", icon = 'INFO'): | |
def draw(self, context): |
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
# base https://docs.blender.org/api/blender_python_api_2_65_5/info_tutorial_addon.html | |
bl_info = { | |
"name": "pollo con papas", | |
"category": "Object", | |
} | |
import bpy | |
class ObjectCursorArray(bpy.types.Operator): |
NewerOlder